Template:Cleanup/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
m (3 revisions imported: Import from https://sims.wikia.com)
m (adding templatedata)
Line 1: Line 1:
;Usage
;Usage
:This is to be placed at the top of a page or section that needs clean up. This can be done by placing {{t|Cleanup}} at the top of the page. The words are adapted from Wikipedia to fit The Sims Wiki. A reason may be given {{T|Cleanup|reason}}.
:This is to be placed at the top of a page or section that needs clean up. This can be done by placing {{t|Cleanup}} at the top of the page. The words are adapted from Wikipedia to fit The Sims Wiki. A reason may be given {{T|Cleanup|reason}}.

;TemplateData
<templatedata>
{
"params": {
"1": {
"label": "Reason",
"description": "Inserts a reason for why the page or section needs to be cleaned up",
"type": "string",
"suggested": true
},
"2": {
"label": "Headline",
"description": "Changes the headline for what needs to be cleaned up",
"example": "Section, which displays the title as \"Section Cleanup\"",
"type": "string"
},
"size": {
"label": "Size",
"description": "If set to small, displays a smaller box",
"example": "small",
"type": "string"
}
},
"description": "This template should be used to indicate that a page or section needs to be cleaned up.",
"format": "inline"
}
</templatedata>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 21:20, 20 April 2019

Usage
This is to be placed at the top of a page or section that needs clean up. This can be done by placing {{Cleanup}} at the top of the page. The words are adapted from Wikipedia to fit The Sims Wiki. A reason may be given {{Cleanup|<reason>}}.
TemplateData

This template should be used to indicate that a page or section needs to be cleaned up.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Reason1

Inserts a reason for why the page or section needs to be cleaned up

Stringsuggested
Headline2

Changes the headline for what needs to be cleaned up

Example
Section, which displays the title as "Section Cleanup"
Stringoptional
Sizesize

If set to small, displays a smaller box

Example
small
Stringoptional