Difference between revisions of "Template:LIMSwiki category"

From LIMSWiki
Jump to navigationJump to search
(Testing)
m (Reverted edits by Admin (talk) to last revision by Shawndouglas)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
}}
}}


<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}}|false|{{Single namespace|category}}{{#if:{{{1|}}}|<p><div style="text-align: left;">{{{ALTTEXT|'''Description''':}}} {{{1|}}}</div>}}|<!-- Category suppressed -->}}</includeonly><noinclude>{{Documentation}}<!-- Please add categories and interwikis to the /doc sub-page, not here. --></noinclude>
<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}}|false|{{Single namespace|category}}{{#if:{{{1|}}}|<br />&nbsp;<br /><div style="text-align: left;">{{{ALTTEXT|'''Description''':}}} {{{1|}}}</div>}}|<!-- Category suppressed -->}}</includeonly><noinclude>{{Documentation}}<!-- Please add categories and interwikis to the /doc sub-page, not here. --></noinclude>

Latest revision as of 23:58, 22 February 2016

[edit] [purge] Template documentation

Usage

This template should be used at the top of categories that are needed for LIMSwiki administrative purposes, but are not part of the encyclopedia itself, for example Category:LIMSwiki administration.

Adding |container=yes will produce a message similar to {{Container category}} and add the page to Category:Container categories if the page is the category namespace. Categorising into Category:Container categories is disabled in Category:Container categories itself with |container_category=no.

Adding |hidden=yes to the template will hide the category, produce a message similar to {{Hidden category}} and add the page to Category:Hidden categories if the page is the category namespace.

Adding |tracking=yes to the template will produce a message similar to {{Tracking category}} and add the page to Category:Tracking categories if the page is the category namespace. Categorising into Category:Tracking categories is disabled in Category:Tracking categories itself and Category:Contents with |tracking_category=no.

Adding |description=text will add a new paragraph under the tracking category message. Replace "text" with a short description of the tracking category. (A longer description can be entered after the parameters or outside this template.)

Text entered after the parameters will appear below the message box under the heading Description:.

Example

{{LIMSwiki category|hidden=yes|tracking=yes|description=This category tracks pages tagged with {{tl|Citation needed}}.|This is a detailed description of the category.}}

produces:


 
Description: This is a detailed description of the category.