Difference between revisions of "Template:Help/Category"

From Swordschool
Jump to navigationJump to search
external>Lampak
(Undo revision 347387 by 76.28.186.133 (talk))
 
m (1 revision)
 
(No difference)

Latest revision as of 12:27, 15 June 2011

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

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