Editing Template:Asbox/doc

From Guild of Archivists
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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 91: Line 91:
| 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).
| 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).
|}
|}
==Examples==
===Using <code>image</code>===
Based on {{tl|Østfold-geo-stub}}:
{{demo|br=produces:|demo_kill_categories=yes
|<nowiki>{{Asbox
| image = Østfold_våpen.svg
| pix = 30
| subject = [[Østfold]] location
| name = Template:Østfold-geo-stub
| category = Østfold geography stubs
| tempsort = *
}}
</nowiki>}}
===Using <code>icon</code> and <code>category1</code>===
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}}:
{{demo|br=produces:|demo_kill_categories=yes
|<nowiki>{{Asbox
| icon = {{soccer icon|Wales|50}}
| subject = biographical
| qualifier = related to Welsh association football
| category = Welsh football biography stubs
| tempsort = *
| name = Template:Wales-footy-bio-stub
}}
</nowiki>}}


==WhatLinksHere==
==WhatLinksHere==
Line 181: Line 208:


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


Please note that all contributions to Guild of Archivists 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 GoArch:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)