Difference between revisions of "Template:Cleanup/sandbox"

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
imported>John of Reading
(Reverted 1 edit by 2001:16A2:E96:E100:DDD1:A9B5:9B02:60EB (talk): Unexplained blanking)
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 +
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}}
 +
|{{error|1=You must add a {{para|reason}} parameter to this Cleanup template – replace it with <code><nowiki>{{Cleanup|</nowiki>{{#if:{{{1|}}}|{{{1|}}}{{!}}|}}{{#if:{{{date|}}}|<nowiki>date=</nowiki>{{{date|}}}{{!}}}}<nowiki>reason=<Fill reason here>}}</nowiki></code>, or remove the Cleanup template.<br style="clear:both;">
 +
}}{{Category handler
 +
  |nocat    = {{{nocat|}}}
 +
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
 +
}}
 +
|{{main other
 +
  |{{ambox
 +
  | name  = Cleanup
 +
  | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 +
  | type  = style
 +
  | class = ambox-Cleanup
 +
  | small = {{{small|}}}
 +
  | sect  = {{{1|}}}
 +
  | issue = may '''require [[Wikipedia:cleanup|cleanup]]''' to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]. {{#if:{{{2|{{{reason|}}}}}}
 +
    |The specific problem is: '''{{{2|{{{reason}}}}}}'''
 +
  }}
 +
  | talk  = {{{talk|{{{talksection|}}}}}}
 +
  | fix  = {{#if:{{{2|{{{reason|}}}}}}|
 +
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
 +
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
 +
  | removalnotice = yes
 +
  | date  = {{{date|}}}
 +
  | cat  = Articles needing cleanup
 +
  | all  = All pages needing cleanup
 +
  | cat2  = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field
 +
  }}
 +
  |{{mbox
 +
  | demospace = {{{demospace|}}}
 +
  | 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|}}}}}}
 +
    |The specific problem is: '''{{{2|{{{reason}}}}}}'''
 +
    |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}}
 +
    |&#59; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.
 +
    |.
 +
  }}
 +
  }}
 +
| demospace = {{{demospace|<noinclude>main</noinclude>}}}
 +
}}{{Category handler
 +
  |page    = {{SUBJECTPAGENAME}}
 +
  |nocat    = {{{nocat|}}}
 +
  |category = {{DMC|Wikipedia categories needing cleanup|from|{{{date|}}}}}
 +
  |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}}}
 +
  |other    = {{DMCA|Wikipedia pages needing cleanup|from|{{{date|}}}}}
 +
}}
 +
}}
 +
}}
  
 +
<noinclude>
 +
{{Documentation|Template:Cleanup/sandbox/doc}}
 +
</noinclude>

Latest revision as of 11:31, 2 November 2020


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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cleanup

Testing description

Testing Testing again

Testing again

And again

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
15test

line/auto

value/ex

ample
12

Te

xtss to replace

the word "article", usually "section"

Default
section

test {{Plainlist|

  • ...
  • ...
}}
Example
section test {{Plainlist|
  • ...
  • ...
}}
Auto value
autovalue
Lineoptional
16line/autovalue13

Text to replace the word "article", usually "section"

Auto value
autovalue
Lineoptional
17line14

Text to replace the word "article", usually "section"

Lineoptional
1number/defaultdate7

Month and year the template was added to the page

Default
default
Auto value
Numberoptional
2number/default/exampledate6

Month and year the template was added to the page

Default
default
Example
example
Numberoptional
3number/exampledate5

Month and year the template was added to the page

Example
example
Auto value
Numberoptional
4numberdate4

Month and year the template was added to the page

Numberoptional
5url/autovaluedate3

Month and year the template was added to the page

Auto value
autovalue
URLoptional
5unknowntype/autovaluedate33

Month and year the template was added to the page

Auto value
autovalue
Unknownoptional
6unknown/autovalue/suggesteddate2

Month and year the template was added to the page

Auto value
autovalue
Unknownsuggested
7number/autovalue/required/suggesteddate

Month and year the template was added to the page

Auto value
autovalue
Numberrequired
8booleanreason4

Reason for requesting cleanup

Booleanoptional
9boolean/examplereason3

Reason for requesting cleanup

Example
example
Booleanoptional
10boolean/autovalue/examplereason2

Reason for requesting cleanup

Example
example
Auto value
autovalue
Booleanoptional
11string/default/examplereason 2

Reason for requesting cleanup

Default
default
Example
example
Stringoptional
12datetalk talksection xtest btest ctest

The section of the talk page explaining what needs to be done

Dateoptional
12date/autovaluetalk2

The section of the talk page explaining what needs to be done

Auto value
autovalue
Dateoptional
13contentsmall

Enter 'left' here to turn the template into a small box on the left side of the screen.

Contentsuggested
14line/example

Text to replace the word "article", usually "section"

Example
section
Lineoptional
18unbalanced-wikitextnocat

Suppress categorization

Default
default
Example
section
Unbalanced wikitextsuggested
wiki-template-nametest

no description

Example
section
Templateoptional
wiki-template-name/default/exampletest2

Test

Default
default
Example
section
Templateoptional
wiki-template-name/defaulttest3

Test

Default
default
Templateoptional
Parameter set to type "wiki-template-name"example

Description

Templateoptional
Parameter set to type "wiki-user-name"example2

Description

Useroptional
Parameter set to type "wiki-page-name"example3

Description

Pageoptional
Parameter set to type "wiki-file-name"example4

Description

Fileoptional
Labelexample5

Description

Templateoptional
Labelexample6

Description

Templateoptional
Labelexample7

Description

Templateoptional