Template:Help/Category

From Harridanic
Revision as of 03:02, 23 March 2012 by Paul Herring (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#ifexist: Template:PD Help Page/Category|Template:PD Help Page/Category|

PD {{{text}}}|Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the {{ #ifeq:
 Harridanic
MediaWiki Public Domain Help Pages [[

{{#if:|{{#ifexist:Project:PD help||mw:}}}} Project:PD help|Public Domain Help Pages]] }}, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See {{ #ifeq:

 Harridanic
MediaWiki Project:PD help/Copying [[

{{#if:|{{#ifexist:Project:PD help/Copying||mw:}}}} Project:PD help/Copying|Project:PD help/Copying]] }} for instructions.}}

PD
}}

This template is to be transcluded in public domain help pages to categorize those pages.

Example

{{Help/Category|MediaWiki Introduction|lang=zh}}
{{Help/Category|MediaWiki Introduction}}

Default value of {{{lang}}} will be {{SUBPAGENAME}} (which will be "fr", "ja", "th", for, "Page/fr", "Page/ja", "Page/th", respectively).

If you want to specify the sort key, you may instead use the form [[Category:Cat name{{Lang subpage}}|sort key]]. This template is equivalent to [[Category:Cat name{{Lang subpage}}|{{En pagename}}]], but it compute {{If en|...}} two times, while this template compute {{If en|...}}} only once.


{{#ifeq: category|category | [[Category:{{{1}}}|Help/Category]]| [[Category:{{{1}}}/Category |Help]] }}