Vorlage:Asbox/Doku: Unterschied zwischen den Versionen

K
copy-edit, rm live auto-categorizing parameters (hopefully)
imported>MSGJ
(hmm)
K (copy-edit, rm live auto-categorizing parameters (hopefully))
Zeile 2: Zeile 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->


This is the '''asbox''' or '''article stub box''' meta template. 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.
This is the '''asbox''' or '''article stub box''' meta template. It is the standard template used for creating new or updating existing ''article stub box'' templates. It supports most, if not all, stub template styles, in place prior to 26 September 2007.  
 
It is used to create or standardise existing ''article stub box'' templates.


=== Basic usage ===
=== Basic usage ===
<pre><nowiki>
<pre>
{{ asbox
{{asbox
| image    = just the name of the image, e.g. Image.png - will be sized at 40x30px
| image    = just the name of the image, e.g. Image.png - will be sized at 40x30px
| subject  = given before "article", e.g. "this *biographical* article is a stub"
| subject  = given before "article", e.g. "this *biographical* article is a stub"
| qualifier = given after "article" e.g. "the article *about a musician* is a stub"
| qualifier = given after "article" e.g. "the article *about a musician* is a stub"
| category  = just the name of the category to place tagged pages in, e.g. History stubs
| category  = just the name of the category to place tagged pages in, e.g. History stubs
}}
}}</pre>
</nowiki></pre>


This simple usage should suffice for a great many stub templates. Additional parameters are described below for advanced use.
This simple usage should suffice for a great many stub templates. Additional parameters are described below for advanced use.


=== Full usage ===
=== Full usage ===
<pre><nowiki>
<pre>
{{ asbox
{{asbox
| image    = Ambox style.png
| image    = Ambox style.png
| pix      =  
| pix      =  
Zeile 30: Zeile 27:
| tempsort1 =  
| tempsort1 =  
| note      =  
| note      =  
}}
}}</pre>
</nowiki></pre>


===Parameters===
===Parameters===
Zeile 83: Zeile 79:
  | subject  = [[Østfold]] location
  | subject  = [[Østfold]] location
  | qualifier =  
  | qualifier =  
  | category  = <noinclude>Template documentation</noinclude>
  | category  =  
}}
}}


Zeile 90: Zeile 86:


==== 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:


Zeile 110: Zeile 105:
  | subject  = [[biography|biographical]]
  | subject  = [[biography|biographical]]
  | qualifier = related to Welsh [[association football]]
  | qualifier = related to Welsh [[association football]]
  | category  = Template documentation   
  | category  =  
}}
}}


Zeile 117: Zeile 112:


=== Whatlinkshere ===
=== Whatlinkshere ===
The page [http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Asbox&hideredirs=1&namespace=10&hidelinks=1 here] should have a complete list of all templates using this template.  This list can be compared with existing list of stub templates to identify new stub templates created out of process. '''The last entries will also be the most recently created items.'''
The page [http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Asbox&hideredirs=1&namespace=10&hidelinks=1 here] should have a complete list of all templates using this template.  This list can be compared with existing list of stub templates to identify new stub templates created out of process. '''The last entries will also be the most recently created items.'''


=== See also ===
=== See also ===
* [[Wikipedia talk:WikiProject Stub sorting/Archive11#Stub template standardisation]]
* [[Wikipedia talk:WikiProject Stub sorting/Archive11#Stub template standardisation]]
* {{tl|MetaPicstub}}
* {{tl|MetaPicstub}}
{{Mbox templates see also}}
{{Mbox templates see also}}


Anonymer Benutzer