Vorlage:Asbox/Doku: Unterschied zwischen den Versionen

→‎Examples: finally we can do this properly
imported>MSGJ
(use name)
imported>MSGJ
(→‎Examples: finally we can do this properly)
Zeile 76: Zeile 76:
===Examples===
===Examples===
====Using <code>image</code>====
====Using <code>image</code>====
Based on {{tl|Østfold-geo-stub}}:
<pre><nowiki>
<pre><nowiki>
{{Asbox  
{{Asbox  
Zeile 85: Zeile 86:
}}
}}
</nowiki></pre>
</nowiki></pre>
 
appears as:
Appears as:
{{Asbox
 
{{Asbox/sandbox
  | name      = Template:Østfold-geo-stub
  | name      = Template:Østfold-geo-stub
  | image    = Ostfold_vapen.png
  | image    = Ostfold_vapen.png
  | pix      = 30
  | pix      = 30
  | subject  = [[Østfold]] location
  | subject  = [[Østfold]] location
| demo      = yes
}}
}}
Based on {{tl|Østfold-geo-stub}}


==== 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. Based on {{tl|Wales-footy-bio-stub}}:
 
<pre><nowiki>
<pre><nowiki>
{{Asbox
{{Asbox
Zeile 110: Zeile 107:
}}
}}
</nowiki></pre>
</nowiki></pre>
 
appears as:
Appears as:
 
{{Asbox/sandbox
{{Asbox/sandbox
  | name      = Template:Wales-footy-bio-stub
  | name      = Template:Wales-footy-bio-stub
Zeile 118: Zeile 113:
  | subject  = [[biography|biographical]]
  | subject  = [[biography|biographical]]
  | qualifier = related to Welsh [[association football]]
  | qualifier = related to Welsh [[association football]]
| demo      = yes
}}
}}
Based on {{tl|Wales-footy-bio-stub}}


=== Whatlinkshere ===
=== Whatlinkshere ===
Anonymer Benutzer