Template:Cleanup global View history

(Created page with "{{subst:Merge global}}")
 
m (localized for US English)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{mbox
{{mbox
   | type  = move
   | type  = cleanup
   | style = margin-top: 0.0em;
   | style = margin-top: 0.0em;
             color: red;
             color: red;
   | text  = This global page is flagged to be merged with the respective USA page.<br />
   | text  = This page is flagged to be localized, and have foreign content cleaned up.
{{#if: |{{#ifexist:|[[]]|'''The USA page provided in the template ''([[{{{1}}}]])'' does not exist'''}}|''No link to the USA page was provided in the template''}}
{{#if: {{{1|}}}|<br />{{{1}}}}}
}}
}}
<!--This category is for the page on which this template will get transcluded
<!--This category is for the page on which this template will get transcluded
-->{{#ifeq: | on | | [[Category:Request for global merge]]}}
--><includeonly>{{#ifeq: {{{nocat|}}} | on | | [[Category:Request for global cleanup]]}}
<!--
</includeonly><!--


-->
--><noinclude>{{doc}}</noinclude>
 
<noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Reason",
"description": "Describe what needs to be cleaned up.",
"type": "string",
"suggested": true
},
"nocat": {
"label": "remove category for testing/sample",
"description": "set to on to prevent category from being added to a page when testing or showing examples."
}
},
"description": "This template is added to global pages that require cleanup of foreign content or links, but have no USA version  on a different page. If there is already a USA version of this page use the {{Merge global}} template."
}
</templatedata>
</noinclude>

Latest revision as of 19:27, 24 April 2017

This page is flagged to be localized, and have foreign content cleaned up.
Documentation icon Template documentation[view] [edit] [history] [purge]

This template is added to global pages that require cleanup of foreign content or links, but have no USA version on a different page. If there is already a USA version of this page use the {{Merge global}} template.

Usage

Place {{Cleanup global}} at the top of a page to produce the default message box.

Alternately, the one recommended parameter |<description> will be appended in the notice to help other editors know what needs to be done.

{{Merge global
| Describe what needs to be cleaned up here
| nocat  = on/off
}}

Parameters

<description>

Recommended unnamed parameter to identify why the page is being recommended for cleanup.

nocat

If the template is on a page demonstrating the use of the template, setting this parameter to on will prevent the Category:Request for global merge from being added to the page.

Examples

This page is flagged to be localized, and have foreign content cleaned up.
There are links to foreign pages.



This page is flagged to be localized, and have foreign content cleaned up.



This page is flagged to be localized, and have foreign content cleaned up.
The content here needs to be localised to specifically dictate USA policy where it says to check with our local community for guidance.



Where used

Editors can find all occurrences of this template with the link to what links here for the Merge global template.

Category added

This template will automatically add the Category:Request for global cleanup to the page for tracking. You see a similar list to the What Links Here above.

The above documentation is transcluded from Template:Cleanup global/doc.
Please add categories to the /doc subpage.
Subpages of this template.


This template is added to global pages that require cleanup of foreign content or links, but have no USA version on a different page. If there is already a USA version of this page use the {{Merge global}} template.

Template parameters

ParameterDescriptionTypeStatus
Reason1

Describe what needs to be cleaned up.

Stringsuggested
remove category for testing/samplenocat

set to on to prevent category from being added to a page when testing or showing examples.

Unknownoptional