Difference between revisions of "Template:Merge"
From Emperor's Hammer Encyclopaedia Imperia
(Added Template Category tag, updated template usage, and added logic for if the parameter is not included) |
XanderDrax (talk | contribs) (Updating so that template isn't categorized in the category it marks pages it's added to as.) |
||
Line 1: | Line 1: | ||
− | + | {| id="merge" class="warning-merge noprint" | |
|- | |- | ||
| style="padding-right: 4px; padding-left: 4px;"| [[Image:Vader Palpatine.jpg]] | | style="padding-right: 4px; padding-left: 4px;"| [[Image:Vader Palpatine.jpg]] | ||
Line 9: | Line 9: | ||
''Administrators - Remember to check [[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|if anything links here]] and [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} the page history] ([{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|diff=0}} last edit]) before deleting.''</small> | ''Administrators - Remember to check [[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|if anything links here]] and [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} the page history] ([{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|diff=0}} last edit]) before deleting.''</small> | ||
− | |}[[Category:Candidates for merging]]</includeonly><noinclude> | + | |}<includeonly>[[Category:Candidates for merging]]</includeonly><noinclude> |
− | |||
==Usage== | ==Usage== | ||
Line 21: | Line 20: | ||
==Categorization== | ==Categorization== | ||
This template adds pages to the following categories. | This template adds pages to the following categories. | ||
− | *[[:Category:Candidates for merging]] | + | *[[:Category:Candidates for merging|Candidates for merging]] |
__NOTOC__ | __NOTOC__ | ||
− | |||
[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude> | [[Category:Maintenance templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 20:55, 7 February 2023
Usage[edit]
The purpose of this template is to flag two pages that have the potential to be merged.
{{Merge|Page2}}
when adding this tag, include the page to be merged as Page2 in the parameters. If no page is included, NO PAGE PROVIDED will be printed.
Categorization[edit]
This template adds pages to the following categories.