Difference between revisions of "Template:Help/Category"

From CHG-Wiki
Jump to navigationJump to search
m (1 revision: Help Documentation Lifted with Permission from Mediawiki)
 
m
 
Line 15: Line 15:
 
This template is equivalent to <nowiki>[[Category:Cat name{{Lang subpage}}|{{En pagename}}]]</nowiki>, but it compute <nowiki>{{If en|...}}</nowiki> two times, while this template compute <nowiki>{{If en|...}}}</nowiki> only once.
 
This template is equivalent to <nowiki>[[Category:Cat name{{Lang subpage}}|{{En pagename}}]]</nowiki>, but it compute <nowiki>{{If en|...}}</nowiki> two times, while this template compute <nowiki>{{If en|...}}}</nowiki> only once.
  
[[Category:Internationalization templates|Category/Help]]
+
[[Category:Templates|Category/Help]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 12:20, 21 November 2012

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


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