Vorlage:Asbox/Doku: Unterschied zwischen den Versionen
→Usage
(→Usage) |
|||
Zeile 7: | Zeile 7: | ||
==Usage== | ==Usage== | ||
This is a standard template for creating standard stub templates. It supports most, if not all, stub template styles in place prior to | This is a standard template for creating standard stub templates. It supports most, if not all, stub template styles in place prior to 26 September 2007. | ||
===Cut and paste example=== | |||
<pre><nowiki> | |||
{{Asbox |{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}| image = Ambox style.png | |||
| pix = 30 x 40 | |||
| subject = | |||
| qualifier = | |||
| category = | |||
| tempsort = | |||
| category1 = | |||
| tempsort1 = | |||
| note = | |||
}} | |||
</nowiki></pre> | |||
===Parameters=== | ===Parameters=== | ||
Zeile 67: | Zeile 81: | ||
====Using <code>icon</code> and category1==== | ====Using <code>icon</code> and category1==== | ||
Using <code>icon</code> allows more flexibility in some circumstances than <code>image</code> and <code>pix</code>, since it can be used with templates. As of January 24, 2007, the new parser requires the <code>{{</code> and <code>}}</code> around the used template, and a single <code>|</code> is used instead of <code><nowiki>{{!}}</nowiki></code> to separate the parameters. Old code relying on <code><nowiki>{{!}}</nowiki></code> will need to be updated: | Using <code>icon</code> allows more flexibility in some circumstances than <code>image</code> and <code>pix</code>, since it can be used with templates. As of January 24, 2007, the new parser requires the <code>{{</code> and <code>}}</code> around the used template, and a single <code>|</code> is used instead of <code><nowiki>{{!}}</nowiki></code> to separate the parameters. Old code relying on <code><nowiki>{{!}}</nowiki></code> will need to be updated: | ||