Template:Cleanup reason text: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
m (syntax error on $1 Undo revision 72367 by Notjusttired (talk))
m (change to use int:lang, don't add space for multiple issues)
Line 1: Line 1:
{{#if: {{{reason|}}} | {{LangSwitch
{{#if: {{{reason|}}} | {{LangSwitch
|lang={{#if:{{{lang|{{int:lang}}}}}|{{{lang|}}}|{{int:lang}}}}
|lang={{int:lang}}
|de = Der Grund hierfür ist
|de = Der Grund hierfür ist
|en = {{#ifeq: {{{name|}}}|Multipleissues||{{int:Cleanup-reason-is|{{{reason|}}}}} }}
|en ={{#ifeq: {{{name|}}}|Multipleissues||{{int:Cleanup-reason-is|{{{reason|}}}}}}}
| es = La razón aducida es
| es = La razón aducida es
| fr = La raison indiquée est  
| fr = La raison indiquée est  
Line 84: Line 84:
| war = An rason nga ginhatag in
| war = An rason nga ginhatag in
| yo = Ìdí rẹ̀ ni
| yo = Ìdí rẹ̀ ni
}} {{{reason}}}
}}{{#ifeq: {{{name|}}}|Multipleissues|| }}{{{reason}}}
|  {{LangSwitch
|  {{LangSwitch
|lang={{#if:{{{lang|{{int:lang}}}}}|{{{lang|}}}|{{int:lang}}}}
|lang={{int:lang}}
|de =  Kein Grund für [[Template:Cleanup/doc|die Bereinigung angegeben]].
|de =  Kein Grund für [[Template:Cleanup/doc|die Bereinigung angegeben]].
|en =   {{int:Lqt_noreason}}
|en ={{int:Lqt_noreason}}
|es =  No se proporcionó ningún [[Template:Cleanup/doc|motivo de limpieza]].
|es =  No se proporcionó ningún [[Template:Cleanup/doc|motivo de limpieza]].
|fr =  Aucun [[Template:Cleanup/doc|motif de ranger]] n'a été fourni.
|fr =  Aucun [[Template:Cleanup/doc|motif de ranger]] n'a été fourni.
Line 120: Line 120:
|zh-hant =  未提供理由
|zh-hant =  未提供理由
|pt-br =  Nenhuma razão foi fornecida
|pt-br =  Nenhuma razão foi fornecida
|zh-hans =  未提供原因
|zh-hans =  未提供原因}}
}}
}}
}}
<noinclude >
<noinclude >

Revision as of 03:11, October 4, 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: