Difference between revisions of "Template:Cleanup/sandbox"
imported>The Stick Man (No reason to trust in good faith of KuhnstylePro.) |
imported>John of Reading (Reverted 1 edit by 2001:16A2:E96:E100:DDD1:A9B5:9B02:60EB (talk): Unexplained blanking) |
||
| (39 intermediate revisions by 21 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|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}} |
| − | + | |; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|#{{{talksection}}}}}|talk page]] may contain suggestions. | |
| − | {{DMCA|Wikipedia pages needing cleanup|from|{{{date|}}}}} | + | |. |
| − | + | }} | |
| − | + | }} | |
| − | {{Documentation}} | + | | 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> | </noinclude> | ||
Latest revision as of 11:31, 2 November 2020
This article may require cleanup to meet Wikipedia's quality standards. |
| This is the template sandbox page for Template:Cleanup (diff). See also the companion subpage for test cases. |
TemplateData
TemplateData for Cleanup
Testing description
Testing Testing again
Testing again
And again| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 15test
line/auto value/ex ample | 12 | Te xtss to replace the word "article", usually "section"
| Line | optional |
| 16line/autovalue | 13 | Text to replace the word "article", usually "section"
| Line | optional |
| 17line | 14 | Text to replace the word "article", usually "section" | Line | optional |
| 1number/default | date7 | Month and year the template was added to the page
| Number | optional |
| 2number/default/example | date6 | Month and year the template was added to the page
| Number | optional |
| 3number/example | date5 | Month and year the template was added to the page
| Number | optional |
| 4number | date4 | Month and year the template was added to the page | Number | optional |
| 5url/autovalue | date3 | Month and year the template was added to the page
| URL | optional |
| 5unknowntype/autovalue | date33 | Month and year the template was added to the page
| Unknown | optional |
| 6unknown/autovalue/suggested | date2 | Month and year the template was added to the page
| Unknown | suggested |
| 7number/autovalue/required/suggested | date | Month and year the template was added to the page
| Number | required |
| 8boolean | reason4 | Reason for requesting cleanup | Boolean | optional |
| 9boolean/example | reason3 | Reason for requesting cleanup
| Boolean | optional |
| 10boolean/autovalue/example | reason2 | Reason for requesting cleanup
| Boolean | optional |
| 11string/default/example | reason 2 | Reason for requesting cleanup
| String | optional |
| 12date | talk talksection xtest btest ctest | The section of the talk page explaining what needs to be done | Date | optional |
| 12date/autovalue | talk2 | The section of the talk page explaining what needs to be done
| Date | optional |
| 13content | small | Enter 'left' here to turn the template into a small box on the left side of the screen. | Content | suggested |
| 14line/example | | Text to replace the word "article", usually "section"
| Line | optional |
| 18unbalanced-wikitext | nocat | Suppress categorization
| Unbalanced wikitext | suggested |
| wiki-template-name | test | no description
| Template | optional |
| wiki-template-name/default/example | test2 | Test
| Template | optional |
| wiki-template-name/default | test3 | Test
| Template | optional |
| Parameter set to type "wiki-template-name" | example | Description | Template | optional |
| Parameter set to type "wiki-user-name" | example2 | Description | User | optional |
| Parameter set to type "wiki-page-name" | example3 | Description | Page | optional |
| Parameter set to type "wiki-file-name" | example4 | Description | File | optional |
| Label | example5 | Description | Template | optional |
| Label | example6 | Description | Template | optional |
| Label | example7 | Description | Template | optional |
| The above documentation is transcluded from Template:Cleanup/sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |