Difference between revisions of "Template:LIMSwiki category"

From LIMSWiki
Jump to navigationJump to search
m (Wiki)
(Testing.)
Line 2: Line 2:
|type=notice
|type=notice
|imageright={{{shortcutoverride|{{#if:{{{s1<includeonly>|</includeonly>}}} | {{Cmbox/Shortcut|{{{s1|<noinclude>WP:SHORT</noinclude>}}}|{{{s2|}}}|{{{s3|}}}|{{{s4|}}}|{{{s5|}}} }} }}}}}
|imageright={{{shortcutoverride|{{#if:{{{s1<includeonly>|</includeonly>}}} | {{Cmbox/Shortcut|{{{s1|<noinclude>WP:SHORT</noinclude>}}}|{{{s2|}}}|{{{s3|}}}|{{{s4|}}}|{{{s5|}}} }} }}}}}
|text=This is an '''administration [[Help:Category|category]]'''. It is used for administration of the LIMSwiki project and is not part of the encyclopedia. It contains pages that are not articles, or it groups articles by status rather than content. Do not include this category in content categories.{{#if:{{Yesno|{{{container|}}}}}|<p>This is a '''[[:Category:Container categories|container category]]'''. Due to its scope, '''it should only contain subcategories'''.{{#ifeq:{{{container_category|}}}|no||{{Category other|{{{category|[[Category:Container categories]]}}}}}}}}}{{#if:{{Yesno|{{{hidden|}}}}}|__HIDDENCAT__<p>This is a '''[[:Category:Hidden categories|hidden category]]'''. It is not shown on its member pages, unless the corresponding [[Special:Preferences#mw-prefsection-rendering|user preference 'Show hidden categories']] is set.}}{{#if:{{Yesno|{{{tracking|}}}}}|<p>This is a '''[[:Category:Tracking categories|tracking category]]'''. It builds and maintains a list of pages primarily for the sake of the list itself. Pages are added to tracking categories through templates.</p>{{#if:{{{description|}}}|<p>{{{description}}}}}{{#ifeq:{{{tracking_category|}}}|no||{{Category other|{{{category|[[Category:Tracking categories]]}}}}}}}}}
|text=This is an '''administration [[Help:Category|category]]'''. It is used for administration of the LIMSwiki project and is not part of the encyclopedia. It contains pages that are not articles, or it groups articles by status rather than content. Do not include this category in content categories.{{#if:{{Yesno|{{{container|}}}}}|<p>This is a '''[[:Category:Container categories|container category]]'''. Due to its scope, '''it should only contain subcategories'''.{{#ifeq:{{{container_category|}}}|no||{{Category other|{{{category|[[Category:Container categories]]}}}}}}}}}{{#if:{{Yesno|{{{hidden|}}}}}|__HIDDENCAT__<br />This is a '''[[:Category:Hidden categories|hidden category]]'''. It is not shown on its member pages, unless the corresponding [[Special:Preferences#mw-prefsection-rendering|user preference 'Show hidden categories']] is set.}}{{#if:{{Yesno|{{{tracking|}}}}}|<br />This is a '''[[:Category:Tracking categories|tracking category]]'''. It builds and maintains a list of pages primarily for the sake of the list itself. Pages are added to tracking categories through templates.{{#if:{{{description|}}}|<br />{{{description}}}}}{{#ifeq:{{{tracking_category|}}}|no||{{Category other|{{{category|[[Category:Tracking categories]]}}}}}}}}}
|imageright={{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}
|imageright={{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}
}}
}}


<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|}}}|<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>

Revision as of 17:22, 22 January 2015

[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.