Template:Global maintenance category/doc: Difference between revisions
Template page
More actions
+ param purge |
more parameters |
||
| (11 intermediate revisions by 8 users not shown) | |||
| 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-td-en=Adds a shortcut box. 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 | ||
|2=hidden | |2=hidden | ||
| | |2label-en=hidden category | ||
|2d-en=<code>hidden=n</code> prevents it from adding {{tl|Hiddencat}}. | |||
|en=hidden=n - prevents it from adding {{ | |2d-td-en=“n” prevents it from adding <nowiki>{{Hiddencat}}</nowiki>. | ||
|ja=hidden=n | |2d-ja=<code>hidden=n</code> {{tl|Hiddencat}}を追加しません。 | ||
}} | |2d-td-ja=「n」<nowiki>{{Hiddencat}}</nowiki>を追加しません。 | ||
|2type=line | |||
|2stat=optional | |2stat=optional | ||
|3=purge | |3=purge | ||
|3label=purge link | |3label-en=purge link | ||
|3d= | |3d-en=Adds {{tl|purge}} if provided | ||
|3d-td-en=Adds <nowiki>{{purge}}</nowiki> if provided | |||
|3type=line | |||
|3stat=optional | |3stat=optional | ||
|4=norandom | |||
|4d-en=flag to suppress random in category button | |||
|4type=string | |||
|4stat=optional | |||
|5=toc | |||
|5label-en=table of contents | |||
|5d-en=if set to {{Var|yes}}, will transclude {{T|CatAutoTOC|incl=3}}; value can be set to any template name or include a template for display | |||
|5d-td-en=if set to yes, will transclude {{T|CatAutoTOC|incl=2|link=no}} | |||
|6=backlog | |||
|6label-en=backlog | |||
|6d-en=set to {{Var|yes}}, or any non-numeric value, to enable displaying a {{T|Backlog|incl=3}} notice; set to a number to define a backlog threshold | |||
|6d-td-en=set to yes, or any non-numeric value, to enable displaying a {{T|Backlog|incl=2|link=no}} notice; set to a number to define a backlog threshold | |||
|7=admin | |||
|7label-en=admin backlog | |||
|7d-en=set to any value to specify the backlog is for administrators; requires backlog parameter to be specified | |||
|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-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-td-ja=これはグローバル用のコモンズ・カテゴリです。各言語のローカル・コンテンツには、<nowiki>{{local maintenance category}}</nowiki> を利用してください。 | |||
|namespace=category | |namespace=category | ||
|usergroup=all | |usergroup=all | ||
| Line 31: | Line 57: | ||
|type= | |type= | ||
|example= | |example= | ||
|i18n-method= | |i18n-method=ext.translate | ||
|i18n-desc= | |i18n-desc= | ||
|seealso= | |seealso= | ||
|setscats= | |setscats=[[:Category:Maintenance categories]] | ||
{{LangSwitch | {{LangSwitch | ||
|en=[[:Category:Hidden categories]], via | |en=[[:Category:Hidden categories]], via {{tl|Hiddencat}} (unless <code>hidden=n</code>) | ||
|ja=マジック・ワードの自動分類により[[:Category:Hidden categories]]に分類されます。 {{ | |ja=マジック・ワードの自動分類により[[:Category:Hidden categories]]に分類されます。 {{tl|Hiddencat}} (<code>hidden=n</code>でない場合) | ||
}} | }} | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
}} | |useTemplateData=1 | ||
<includeonly> | }}<includeonly> | ||
[[Category:Internationalised category header templates|{{PAGENAME}}]] | [[Category:Internationalised category header templates|{{PAGENAME}}]] | ||
[[Category: | [[Category:Maintenance templates]] | ||
</includeonly> | </includeonly> | ||