Vorlage:Asbox/Doku: Unterschied zwischen den Versionen

(→‎Full usage: this is useless)
(→‎Parameters: this is not very useful. We might as well AWB again in that case)
Zeile 35: Zeile 35:


===Parameters===
===Parameters===
====Default parameters 1-4====
The standard implementation passes four default parameters through to this template to allow for future expansion.
====<code>icon<code> or <code>image</code>====
====<code>icon<code> or <code>image</code>====
If the image is called with an icon template, <code>icon</code> is set to the full syntax of the template; that's the name of the template, plus any arguments (separated with '''|''' ), including the <code>{{</code> and <code>}}</code> around it. If the image is called explicitly <code>image</code> is the name of the image :- <code>pix</code> will likely be required as well, the default value for <code>pix</code> is 40x30.
If the image is called with an icon template, <code>icon</code> is set to the full syntax of the template; that's the name of the template, plus any arguments (separated with '''|''' ), including the <code>{{</code> and <code>}}</code> around it. If the image is called explicitly <code>image</code> is the name of the image :- <code>pix</code> will likely be required as well, the default value for <code>pix</code> is 40x30.