Difference between revisions of "Template:Cleanup/sandbox"
imported>Pppery (Sync sandbox) |
imported>John of Reading (Reverted 1 edit by 2001:16A2:E96:E100:DDD1:A9B5:9B02:60EB (talk): Unexplained blanking) |
||
| (15 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B= | {{ {{{|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}} | {{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}} | ||
| − | |{{error|You must add a {{para|reason}} parameter to this Cleanup template | + | |{{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 | }}{{Category handler | ||
|nocat = {{{nocat|}}} | |nocat = {{{nocat|}}} | ||
| Line 48: | Line 47: | ||
}} | }} | ||
}} | }} | ||
| − | }}<noinclude> | + | }} |
| − | {{Documentation}} | + | |
| + | <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. |