Editing
Template:Asbox/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Parameters== ===<code>icon</code> or <code>image</code>=== If the image is called with an icon template, <code>icon</code> is set to the full syntax of the template; that's the name of the template, plus any arguments (separated with '''|''' ), including the <code>{{</code> and <code>}}</code> around it. Icon can also be used to provide the full image markup (include the opening and closing square brackets), if special image settings such as "border" are to be used. If the image is called explicitly <code>image</code> is the name of the image :- <code>pix</code> will likely be required as well, the default value for <code>pix</code> is 40x30. <code>imagealt</code> may be used to override the default [[WP:Alternate text for images|alt text]] which is set to "Stub icon". ===<code>pix</code>=== The size of the image in pixels (no need to append px). Only ''required'' if <code>image</code> is used and this image requires a size different from the default maximum of 40x30 pixels. (Note that in the interests of standardising the formats of stub messages, images of size 40x30 are much preferred.) ===<code>subject</code> and <code>qualifier</code>=== This <code>subject</code> article <code>qualifier</code> 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 ... ===Other parameters=== {| class="wikitable" ! scope=col | Parameter ! scope=col | Description |- | category || The [[:Category:Stub categories|stub category]] the articles should go in. |- | tempsort || If exists the stub template [?] (and any other templates) will be put in its own category sorted as " " (space) followed by <code>tempsort</code>, otherwise it will be sorted with the value of " " (space) followed by the template name. |- | category1 || An optional second stub category the articles should go in. |- | tempsort1 || If exists the stub template [?] (and any other templates) will be put in its own category sorted as " " (space) followed by <code>tempsort1</code>, otherwise it will be sorted with the value of " " (space) followed by the template name. |- | category# || {{Red|New}} (Jan 2015): Since the release of [[Module:Asbox|Asbox's module]], this template now supports an unlimited number of categories. Just replace '#' with a number, e.g. {{para|category2|Normal stubs}}, {{para|category99|Over-categorized stubs}}, etc. Traditionally, category2 was the max, so please only use more than 3 if the additional categories are unique, i.e. not sub or parent categories of the others. |- | tempsort# || {{Red|New}} (Jan 2015): Similar to the category params, you can have any number of tempsort params. |- | note || If exists the value [?] will be added, as a "small" note, to the stub template. |- | name || The full page name of the template itself. |- | demo || Has no effect in article space. Prevents category output. Set to anything to enable. (Even 'no' or 'false' will enable it!)<br>{{Red|New}} (Jan 2015): If demo is set, it will show pseudo-categories. If {{para|demo|art}} then the pseudo-cats shown will only be those visible in article space (i.e. no error/hidden cats). Set {{para|demo|doc}} to preview the documentation page as well (and all cats). See: [[Template:Asbox/testcases]] |}
Edit summary
(Briefly describe your changes)
Please note that all contributions to A2wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
A2wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Current events
Random page
About A2wiki
interaction
Help
Community portal
Recent changes
Upload file
Tools
What links here
Related changes
Special pages
Page information