Difference between revisions of "Template:Help/Category"

From Freephile Wiki
Jump to navigation Jump to search
m (Mirror from http://www.mediawiki.org/wiki/Template:Help/Category)
 
m (Reverted edits by 66.227.244.193 (talk) to last revision by Lampak)
Line 20: Line 20:
 
{{Help/If en|
 
{{Help/If en|
 
[[Category:{{{1|<nowiki>{{{1}}}</nowiki>}}}|{{PAGENAME}}]]|
 
[[Category:{{{1|<nowiki>{{{1}}}</nowiki>}}}|{{PAGENAME}}]]|
[[Category:{{{1|<nowiki>{{{1}}}</nowiki>}}}/{{{lang|{{SUBPAGENAME}} }}}|{{BASEPAGENAME}}]]}}<noinclude>[[Category:Imported help]]</noinclude>
+
[[Category:{{{1|<nowiki>{{{1}}}</nowiki>}}}/{{{lang|{{SUBPAGENAME}} }}}|{{BASEPAGENAME}}]]}}

Revision as of 14:19, 16 March 2012

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

Example[edit source]

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


[[Category:{{{1}}}|Help/Category]]