Template:Cleanup reason text: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
(add plainlist class to remove bullet points, and mbox-text-span to standardize font size)
m (plainlist for no bullets, ambox-text class to standardize font size)
Line 1: Line 1:
{{#if: {{{reason|}}} |{{#ifeq: {{{name|}}}|Multipleissues||<span class="mbox-text-span plainlist">{{int:Cleanup-reason-is|{{{reason|}}}}}</span>}}
{{#if: {{{reason|}}} |{{#ifeq: {{{name|}}}|Multipleissues||<span class="ambox-text-span plainlist">{{int:Cleanup-reason-is|{{{reason|}}}}}</span>}}
{{#ifeq: {{{name|}}}|Multipleissues||&nbsp;}}{{{reason}}}
{{#ifeq: {{{name|}}}|Multipleissues||&nbsp;}}{{{reason}}}
|  {{LangSwitch
|  {{LangSwitch
Line 8: Line 8:
|fr = Aucun motif de ranger n'a été fourni.
|fr = Aucun motif de ranger n'a été fourni.
|nl = Geen reden voor opschonen opgegeven.
|nl = Geen reden voor opschonen opgegeven.
|#default =<span class="mbox-text-span plainlist">{{int:No-reason}}</span>}}
|#default =<span class="ambox-text plainlist">{{int:No-reason}}</span>}}
}}<noinclude >
}}<noinclude >
<!-- Translations to add
<!-- Translations to add

Revision as of 16:40, October 16, 2019

No reason given.

template icon Template documentation[view] [edit] [history] [purge]

Provides the translated text for the start of Template:Cleanup. This relies on system messages:

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 given is:

 The reason for cleanup tag

Examples

  • {{Cleanup reason text}}
  • No reason given.
  • {{Cleanup reason text|reason=Too long}}
  • The reason given is:

 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}}

The reason given is:  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}}
  • The reason given is:

 References needed

Translations

Translated text comes from translatewiki.net Huggle:Uaa-nr/en messages (not MediaWiki messages)

A separate talk message is appended after.

content hidden
MediaWiki:Cleanup-reason-is: (talk)

No reason messages from Moodbar-action-reason-required: