Template:Global maintenance category/doc: Difference between revisions
More actions
m Reverted edits by 189.40.69.50 (talk) to last revision by Tacsipacsi |
add TemplateData |
||
| Line 4: | Line 4: | ||
|1label-en=shortcut | |1label-en=shortcut | ||
|1d-en=shortcut=''pagename'' - adds a shortcut box. Leave out the brackets. | |1d-en=shortcut=''pagename'' - adds a shortcut box. Leave out the brackets. | ||
|1d-td-en=Adds a shortcut box. Leave out the brackets. | |||
|1d-ja=shortcut=''ページ名'' - ショートカット・ボックスを追加します。 Leave out the brackets. | |1d-ja=shortcut=''ページ名'' - ショートカット・ボックスを追加します。 Leave out the brackets. | ||
|1d-td-ja=ショートカット・ボックスを追加します。 Leave out the brackets. | |||
|1type=wiki-page-name | |||
|1def= | |1def= | ||
|1stat=optional | |1stat=optional | ||
| Line 10: | Line 13: | ||
|2=hidden | |2=hidden | ||
|2label-en=hidden category | |2label-en=hidden category | ||
|2d-en=hidden=n | |2d-en=<code>hidden=n</code> prevents it from adding {{x|HIDDENCAT}}. | ||
|2d-ja=hidden=n | |2d-td-en=“n” prevents it from adding <nowiki>__HIDDENCAT__</nowiki>. | ||
|2d-ja=<code>hidden=n</code> {{x|HIDDENCAT}}を追加しません。 | |||
|2d-td-ja=「n」<nowiki>__HIDDENCAT__</nowiki>を追加しません。 | |||
|2type=line | |||
|2stat=optional | |2stat=optional | ||
|3=purge | |3=purge | ||
|3label-en=purge link | |3label-en=purge link | ||
|3d-en= | |3d-en=Adds {{tl|purge}} if provided | ||
|3d-td-en=Adds <nowiki>{{purge}}</nowiki> if provided | |||
|3type=line | |||
|3stat=optional | |3stat=optional | ||
|name=Global maintenance category | |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-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-td-en=This is for *global* common categories. For local (language-specific) content use <nowiki>{{local maintenance category}}</nowiki> (translation may be needed). | |||
|desc-ja='''これは''グローバル用''のコモンズ・カテゴリです。各言語のローカル・コンテンツには、{{tl|local maintenance category}} を利用してください。''' この2つのテンプレートは旧式{{tl|Category scheme Commons maintenance}}の改訂として新しく作成されました。 | |desc-ja='''これは''グローバル用''のコモンズ・カテゴリです。各言語のローカル・コンテンツには、{{tl|local maintenance category}} を利用してください。''' この2つのテンプレートは旧式{{tl|Category scheme Commons maintenance}}の改訂として新しく作成されました。 | ||
|desc-td-ja=これはグローバル用のコモンズ・カテゴリです。各言語のローカル・コンテンツには、<nowiki>{{local maintenance category}}</nowiki> を利用してください。 | |||
|namespace=category | |namespace=category | ||
|usergroup=all | |usergroup=all | ||
| Line 39: | Line 49: | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
|useTemplateData=1 | |||
}}<includeonly> | }}<includeonly> | ||
[[Category:Internationalised category header templates|{{PAGENAME}}]] | [[Category:Internationalised category header templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 14:33, 7 August 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 |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This is for *global* common categories. For local (language-specific) content use {{local maintenance category}} (translation may be needed).
| ||||||||||||||||||||
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.