Template:Cleanup: Difference between revisions

(Added wikimarkup to handle no closing punctuation in reason)
 
imported>Jonesey95
(rm invalid parameter 2=, which has generated an error message for many years and for which there are no uses (according to the Template Data monthly report))
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:
   | small = {{{small|}}}
   | small = {{{small|}}}
   | sect  = {{{1|}}}
   | sect  = {{{1|}}}
   | issue = may '''require [[Wikipedia:cleanup|cleanup]]''' to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]. {{#if:{{{2|{{{reason|}}}}}}
   | issue = may '''require [[Wikipedia:cleanup|cleanup]]''' to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]. {{#if:{{{reason|}}}
     |The specific problem is: '''{{{2|{{{reason}}}}}}'''{{#switch:{{str rightc|{{{2|{{{reason}}}}}}|1}}|.|!|?=|#default=.}}
     |The specific problem is: '''{{Terminate sentence|{{{reason}}}}}'''
   }}
   }}
   | talk  = {{{talk|{{{talksection|}}}}}}
   | talk  = {{{talk|{{{talksection|}}}}}}
   | fix  = {{#if:{{{2|{{{reason|}}}}}}|
   | fix  = {{#if:{{{reason|}}}|
     |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
     |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
   }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
   }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
Line 25: Line 25:
   | cat  = Articles needing cleanup
   | cat  = Articles needing cleanup
   | all  = All pages needing cleanup
   | all  = All pages needing cleanup
   | cat2  = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field
   | cat2  = Cleanup tagged articles with{{#if:{{{reason|}}}||out}} a reason field
   }}
   }}
   |{{mbox
   |{{mbox
   | demospace = {{{demospace|}}}
   | demospace = {{{demospace|}}}
   | type      = style
   | type      = style
   | text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''.  {{#if:{{{2|{{{reason|}}}}}}
   | text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''.  {{#if:{{{reason|}}}
     |The specific problem is: '''{{{2|{{{reason}}}}}}'''{{#switch:{{str rightc|{{{2|{{{reason}}}}}}|1}}|.|!|?=|#default=.}}
     |The specific problem is: '''{{Terminate sentence|{{{reason}}}}}'''
     |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
     |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
   }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}
   }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}

Latest revision as of 21:01, 27 September 2022