(check for valid USA link) |
m (template data) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
color: red; | color: red; | ||
| text = This global page is flagged to be merged with the respective USA page.<br /> | | text = This global page is flagged to be merged with the respective USA page.<br /> | ||
{{#if: {{{1|}}}|{{#ifexist:{{{1|}}}|[[{{{1|}}}]]|'''The USA page provided in the template does not exist'''}}|''No link to the USA page was provided in the template''}} | {{#if: {{{1|}}}|{{#ifexist:{{{1|}}}|[[{{{1|}}}]]|'''The USA page provided in the template ''([[{{{1}}}]])'' does not exist'''}}|''No link to the USA page was provided in the template''}} | ||
}} | }} | ||
<!--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 | ||
Line 11: | Line 11: | ||
--><noinclude>{{doc}}</noinclude> | --><noinclude>{{doc}}</noinclude> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "<PAGENAME>", | |||
"description": "<PAGENAME> for USA version of this page ", | |||
"type": "wiki-page-name", | |||
"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 replacement with their respective USA version." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 02:31, 7 August 2016
This global page is flagged to be merged with the respective USA page. No link to the USA page was provided in the template |
This template is added to global pages that require replacement with their respective USA version.
Usage
Place {{Merge global}} at the top of a page to produce the default message box.
Alternately, the one recommended parameter |<PAGENAME>
will adjust the generic message to add a link to the USA version.
{{Merge global | Local page/USA | nocat = on/off }}
Parameters
<PAGENAME>
- Recommended unnamed parameter to identify why the page is being recommended for merge. If no PAGENAME is supplied or the page supplied doesn't exist, an alternate message will be displayed.
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 global page is flagged to be merged with the respective USA page. Road types |
This global page is flagged to be merged with the respective USA page. No link to the USA page was provided in the template |
This global page is flagged to be merged with the respective USA page. The USA page provided in the template (Non-existent pagename) does not exist |
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 merge to the page for tracking. You see a similar list to the What Links Here above.
The above documentation is transcluded from Template:Merge global/doc. Please add categories to the /doc subpage. Subpages of this template. |
This template is added to global pages that require replacement with their respective USA version.
Parameter | Description | Type | Status | |
---|---|---|---|---|
<PAGENAME> | 1 | <PAGENAME> for USA version of this page | Page name | suggested |
remove category for testing/sample | nocat | set to on to prevent category from being added to a page when testing or showing examples. | Unknown | optional |