Vorlage:Asbox/Doku: Unterschied zwischen den Versionen

imported>Quest for Truth
Keine Bearbeitungszusammenfassung
imported>Quest for Truth
Zeile 79: Zeile 79:
Based on {{tl|Østfold-geo-stub}}:
Based on {{tl|Østfold-geo-stub}}:
<pre><nowiki>
<pre><nowiki>
{{Asbox  
{{Asbox
| name      = Template:Østfold-geo-stub
  | image    = Østfold_våpen.svg
  | image    = Ostfold_vapen.png
  | pix      = 30
  | pix      = 30
  | subject  = [[Østfold]] location
  | subject  = [[Østfold]] location
  | category  = Østfold geography stubs
  | category  = Østfold geography stubs
| tempsort  = *
| name      = Template:Østfold-geo-stub
}}
}}
</nowiki></pre>
</nowiki></pre>
appears as:
appears as:
{{Asbox
{{Asbox
| name      = Template:Østfold-geo-stub
  | image    = Østfold_våpen.svg
  | image    = Ostfold_vapen.png
  | pix      = 30
  | pix      = 30
  | subject  = [[Østfold]] location
  | subject  = [[Østfold]] location
  | demo     = yes
  | category  = Østfold geography stubs
| tempsort  = *
| name     = Template:Østfold-geo-stub
}}
}}


Zeile 99: Zeile 101:
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}}:
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
| name      = Template:Wales-footy-bio-stub
| icon      = {{Soccer icon|Wales|50}}
| icon      = {{Soccer icon|Wales|50}}
| subject  = biographical
| subject  = [[biography|biographical]]
| qualifier = related to Welsh association football
| qualifier = related to Welsh [[association football]]
| category  = Welsh football biography stubs
| category  = Welsh football biography stubs
| tempsort = *
  | category1 = Welsh people stubs
| name      = Template:Wales-footy-bio-stub
}}
}}
</nowiki></pre>
</nowiki></pre>
appears as:
appears as:
{{Asbox
{{asbox
| name      = Template:Wales-footy-bio-stub
| icon      = {{Soccer icon|Wales|50}}
| icon      = {{Soccer icon|Wales|50}}
| subject  = biographical
| subject  = [[biography|biographical]]
| qualifier = related to Welsh association football
| qualifier = related to Welsh [[association football]]
| category  = Welsh football biography stubs
  | demo     = yes
| tempsort = *
| name     = Template:Wales-footy-bio-stub
}}
}}


Anonymer Benutzer