Template:Cleanup reason text: Difference between revisions
Notjusttired (talk | contribs) m (change to use int:lang, don't add space for multiple issues) |
Notjusttired (talk | contribs) m (syntax fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{reason|}}} | | {{#if: {{{reason|}}} |{{#ifeq: {{{name|}}}|Multipleissues||<span class="mbox-text-span hide-when-compact">{{int:Cleanup-reason-is|{{{reason|}}}}}</span>}} | ||
{{#ifeq: {{{name|}}}|Multipleissues|| }}{{{reason}}} | |||
| {{LangSwitch | | {{LangSwitch | ||
|lang={{int:lang}} | |lang={{int:lang}} | ||
Line 120: | Line 36: | ||
|zh-hant = 未提供理由 | |zh-hant = 未提供理由 | ||
|pt-br = Nenhuma razão foi fornecida | |pt-br = Nenhuma razão foi fornecida | ||
|zh-hans = 未提供原因}} | |zh-hans = 未提供原因 | ||
|#default ={{int:No-reason}}}} | |||
}} | }} | ||
<noinclude > | <noinclude > | ||
<!-- Translations to add | |||
[[MediaWiki:Cleanup-reason-is]] | |||
| he = הסיבה שניתנה לכך היא | |||
| hif-latn = Iske kaaran hai | |||
| kk-cyrl = Себебі | |||
| lki = دلیل ارائه شده چنین است | |||
| pt-br = O motivo é | |||
| sr-ec = Наведени разлог је | |||
| sr-el = Navedeni razlog glasi | |||
--> | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:Translated templates]] | [[Category:Translated templates]] | ||
</noinclude > | </noinclude > |
Revision as of 12:27, October 14, 2019
No reason given.
Provides the translated text for the start of Template:Cleanup. This relies on system messages:
- MediaWiki:Cleanup-reason-is The reason given is: (custom message)
- MediaWiki:No-reason based on Mediawiki:Lqt_noreason
- MediaWiki:Moodbar-action-reason-required Please provide a reason.
The name parameter suppresses "The reason given is" when set to Multipleissues, instead MediaWiki:Cleanup-problems-are (The problems are:) is used by Template:Cleanup/Multiple issues.
Parameters
- reason: Reason for cleanup, leave blank if no reason given
- name: Set to Multipleissues to suppress "The reason given is", all other values ignored.
Usage
- {{Cleanup reason text|The reason for cleanup tag}}
The reason for cleanup tag
Examples
- {{Cleanup reason text}}
- No reason given.
- {{Cleanup reason text|reason=Too long}}
Too long
Bullet points recommended: Using with bullet points puts the message on the next line, otherwise the message is on the same line.
{{Cleanup reason text}}
No reason given.
{{Cleanup reason text|reason=Too long}}
Too long
Multiple issues
- {{Cleanup reason text|name=Multipleissues|reason=Doesn't meet science or editorial guidelines, neutrality disputed.}}
- Doesn't meet science or editorial guidelines, neutrality disputed.
More examples
- {{Cleanup reason text}
- No reason given.
- {{Cleanup reason text|reason=References needed}}
References needed
Translations
Translated text comes from translatewiki.net Huggle:Uaa-nr/en messages (not MediaWiki messages)
A separate talk message is appended after.
No reason messages from Moodbar-action-reason-required:
- Moodbar-action-reason-required/de
- Moodbar-action-reason-required/es
- Moodbar-action-reason-required/fi
- Moodbar-action-reason-required/fr
- Moodbar-action-reason-required/it
- Moodbar-action-reason-required/ja
- Moodbar-action-reason-required/nl
- Moodbar-action-reason-required/pl
- Moodbar-action-reason-required/pt
- Moodbar-action-reason-required/ru
- Moodbar-action-reason-required/sv
- Moodbar-action-reason-required/vi
- Moodbar-action-reason-required/zh-hans
- Moodbar-action-reason-required/zh-hant
The above documentation is transcluded from Template:Cleanup reason text/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |