Template:Help/Category

From GridPACK
Revision as of 00:19, 2 November 2013 by Owner (talk | contribs) (1 revision: Trying again with text/plain changed to CONTENT_FORMAT_TEXT)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifexist: Template:PD Help Page/Help/Category|Template:PD Help Page/Help/Category|Script error }}

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: help/category|help/category | [[Category:{{{1}}}|Help/Category]]| [[Category:{{{1}}}/Help/Category |Help/Category]] }}