Template:Asbox
You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.
This is the asbox or article stub box meta template.
It is used to create (but preferably not without consulting WP:WSS) or standardise existing article stub box templates.
Contents |
Usage
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 (UTC).
Parameters
Default parameter 1
Not used.
Default parameter 2-4
The standard implementation passes four default parameters through to this template to allow for future expansion.
icon or image
or imageIf the image is called with an icon template icon is set to the name of the template plus any arguments (seperated with {{!}} qv not | . If the image is called explicitly image is the name of the image :- pix will likely be required as well, the default value for pix is 40.
pix
The size of the image, only required if image is set and is a size other than 40. Defensive programming suggests setting the value of pix even if it is 40.
subject and qualifier
This subject article qualifier is a stub...
Examples:
- This geography article about a place in Rohan is a stub...
- This elementary physics article is a stub...
- This article about Rudolph the Red-nosed reindeer is a stub...
category
The stub category the articles should go in. Note the template will only include articles in the stub category, unless the parameter tempsort is set in which case templates (in particular the stub template itself) will also be included - sorted with the value of " " (space) followed by tempsort.
tempsort
If exists the template will be put in it's own category sorted as " " (space) followed by tempsort.
category1
An optional second stub category the articles should go in. Note the template will only include articles in the stub category, unless the parameter tempsort1 is set in which case templates (in particular the stub template itself) will also be included - sorted with the value of " " (space) followed by tempsort1.
tempsort1
If exists the template will be put in it's own second category sorted as " " (space) followed by tempsort1.
Example
Using image
{{Asbox |{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}| image = Ostfold_vapen.png
| pix = 30
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}
Appears as:
{{Østfold-geo-stub}}
Using icon and tempsort
{{Asbox |{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}| icon = Soccer icon{{!}}Wales{{!}}50
| subject = [[biography|biographical]]
| qualifier =related to Welsh [[football (soccer)]]
| category = Welsh football biography stubs
| tempsort =
}}
Appears as:
(tempsort has been suppressed to keep this page out of the stub category)
See also
- {{Ambox}}

