「テンプレート:Langcat」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(Protected "Template:Langcat": Highly visible template: (widely used - in the future) ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(1版)
(相違点なし)

2013年6月19日 (水) 22:21時点における版

This template can be used to add the page to the relevant language category: it's appended to the category name and adds either nothing on the English page, or the language code on the translated pages; it needs the source page title (without namespace) as parameter. Example for the Communication page, to be included in the translatable page layout:

[[Category:MediaWiki Introduction{{Langcat|Communication}}]]
[[Category:MediaWiki Communication{{Langcat|Communication}}]]

The template adds /en subpages to the /en categories to avoid double listing in the English (main) categories, although those categories will be mostly red links here on MediaWiki.org.

See Page translation administration for general markup instructions.