Zum Inhalt springen

Vorlage:Asbox/Doku: Unterschied zwischen den Versionen

clarify new use
imported>Anakin101
(update - icon parameter is fine under the new parser, just needs a slight syntax change (which has now been applied to the template))
imported>Anakin101
(clarify new use)
Zeile 67: Zeile 67:
====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:
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:


<pre><nowiki>
<pre><nowiki>
Zeile 76: Zeile 76:
  | category  = Welsh football biography stubs
  | category  = Welsh football biography stubs
  | category1 = Welsh people stubs
  | category1 = Welsh people stubs
  | tempsort  =  
  | tempsort  =      
| note      = This stub template is deprecated.     
}}
}}
</nowiki></pre>
</nowiki></pre>
Zeile 87: Zeile 86:
  | subject  = [[biography|biographical]]
  | subject  = [[biography|biographical]]
  | qualifier = related to Welsh [[football (soccer)]]
  | qualifier = related to Welsh [[football (soccer)]]
  | category  = Template documentation
  | category  = Template documentation    
| note      = This stub template is deprecated.     
}}
}}


Anonymer Benutzer