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)
(Updating so that template isn't categorized in the category it marks pages it's added to as.)
 
Line 1: Line 1:
<includeonly>{| id="merge" class="warning-merge noprint"
+
{| 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>
{{Merge}}
 
  
 
==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:Templates]]
 
 
[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:55, 7 February 2023

Vader Palpatine.jpg Always two there are: a Master, and an Apprentice.

It's time we figured out which one is which and deal with them accordingly.

This page looks like it should be merged with NO PAGE PROVIDED. Once you have successfully combined the information onto one page, place the Delete tag on the lesser page, or turn it into a redirect.

Administrators - Remember to check if anything links here and the page history (last edit) before deleting.

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.