Template:Global maintenance category/doc: Difference between revisions
More actions
+ param purge |
use internal translation provided by {{TemplateBox}}, now using the Translate extension |
||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=shortcut | |1=shortcut | ||
| | |1aliases=1 | ||
|1label-en=shortcut | |||
|en=shortcut=''pagename'' - adds a shortcut box. Leave out the brackets. | |1d-en=shortcut=''pagename'' - adds a shortcut box. Leave out the brackets. | ||
|ja=shortcut=''ページ名'' - ショートカット・ボックスを追加します。 Leave out the brackets. | |1d-ja=shortcut=''ページ名'' - ショートカット・ボックスを追加します。 Leave out the brackets. | ||
|1def= | |1def= | ||
|1stat=optional | |1stat=optional | ||
|2=hidden | |2=hidden | ||
| | |2label-en=hidden category | ||
|2d-en=hidden=n - prevents it from adding {{x|HIDDENCAT}}. | |||
|en=hidden=n - prevents it from adding {{x|HIDDENCAT}}. | |2d-ja=hidden=n - {{x|HIDDENCAT}}を追加しません。 | ||
|ja=hidden=n - {{x|HIDDENCAT}}を追加しません。 | |||
|2stat=optional | |2stat=optional | ||
|3=purge | |3=purge | ||
|3label=purge link | |3label-en=purge link | ||
|3d=adds {{tl|purge}} if provided | |3d-en=adds {{tl|purge}} if provided | ||
|3stat=optional | |3stat=optional | ||
|name=Global maintenance category | |||
|desc-en='''This is for ''global'' common categories. For local (language-specific) content use {{tl|local maintenance category}} (translation may be needed).''' These two templates were created to replace {{tl|Category scheme Commons maintenance}}. | |||
|desc-ja='''これは''グローバル用''のコモンズ・カテゴリです。各言語のローカル・コンテンツには、{{tl|local maintenance category}} を利用してください。''' この2つのテンプレートは旧式{{tl|Category scheme Commons maintenance}}の改訂として新しく作成されました。 | |||
|namespace=category | |namespace=category | ||
|usergroup=all | |usergroup=all | ||
| Line 31: | Line 28: | ||
|type= | |type= | ||
|example= | |example= | ||
|i18n-method= | |i18n-method=ext.translate | ||
|i18n-desc= | |i18n-desc= | ||
|seealso= | |seealso= | ||
| Line 42: | Line 39: | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
}} | }}<includeonly> | ||
<includeonly> | |||
[[Category:Internationalised category header templates|{{PAGENAME}}]] | [[Category:Internationalised category header templates|{{PAGENAME}}]] | ||
[[Category:Internationalization templates using LangSwitch|{{PAGENAME}}]] | [[Category:Internationalization templates using LangSwitch|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 12:21, 7 July 2020
This is for global common categories. For local (language-specific) content use {{Local maintenance category}} (translation may be needed). These two templates were created to replace {{Category scheme Commons maintenance}}.
The template automatically sets the following categories: Category:Hidden categories, via the magic word __HIDDENCAT__ (unless hidden=n)
Usage
{{Global maintenance category |shortcut= |hidden= |purge= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
shortcut1 | shortcut | shortcut=pagename - adds a shortcut box. Leave out the brackets. | empty | optional |
hidden | hidden category | hidden=n - prevents it from adding __HIDDENCAT__. | empty | optional |
purge | purge link | adds {{Purge}} if provided | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the Category namespace
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Localization
العربية ∙ Boarisch ∙ беларуская (тарашкевіца) ∙ বাংলা ∙ català ∙ Deutsch ∙ Ελληνικά ∙ English ∙ español ∙ suomi ∙ français ∙ galego ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ Bahasa Indonesia ∙ italiano ∙ 日本語 ∙ 한국어 ∙ latviešu ∙ македонски ∙ മലയാളം ∙ Bahasa Melayu ∙ မြန်မာဘာသာ ∙ Nederlands ∙ polski ∙ português ∙ português do Brasil ∙ русский ∙ slovenščina ∙ svenska ∙ Türkçe ∙ українська ∙ Tiếng Việt ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension.