Editing Template:Asbox/doc
From Guild of Archivists
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}} | ||