Difference between revisions of "Template:Merge"

From The Coppermind
Jump to navigation Jump to search
(Added some documentation)
(Hide links in list of pages to be merged; tweak example; add tracking category to template, like the move template does)
Line 1: Line 1:
<includeonly>{{notice|style=background-color: #0DA;
+
{{notice|style=background-color: #0DA;
 
|b=It has been suggested that this page be merged{{#if:{{{1|}}}|&#32;into {{{1}}}|}}.
 
|b=It has been suggested that this page be merged{{#if:{{{1|}}}|&#32;into {{{1}}}|}}.
| The information on this page is much better suited to be included on other pages.
+
|The information on this page is much better suited to be included on other pages.
}}</includeonly><noinclude>
+
}}<includeonly>[[Category: Articles to be merged]]</includeonly><noinclude>
   
This template should be included on pages which don't deserve separate articles, and notes to editors that information needs to be moved to other articles. It can be included by adding the text <code><nowiki>{{merge}}</nowiki></code> to the top of the article. This will add the green notice to the top of the article.
+
This template should be included on pages which don't deserve separate articles, and notes to editors that information needs to be moved to other articles. It can be included by adding the text <code><nowiki>{{merge}}</nowiki></code> to the top of the article. This will add the green notice to the top of the article and automatically add the article to [[:Category: Articles to be merged]].
   
 
== Parameters ==
 
== Parameters ==
Line 10: Line 10:
   
 
== Examples ==
 
== Examples ==
Let's say that we felt this template page was unnecessary and should the information should be moved elsewhere. By adding <code><nowiki>{{merge}}</nowiki></code> to the article, we would produce the following notice:
+
If we felt this template page was unnecessary and the information should be moved elsewhere, we could add this code: <code><nowiki>{{merge}}</nowiki></code>
 
 
{{merge}}
 
 
 
If we felt, for example, that the information on this page would be better suited on the page [[Brandon Sanderson]], we could use the following code: <code><nowiki>{{merge|[[Brandon Sanderson]]}}</nowiki></code> to produce the following notice:
 
 
 
{{merge|[[Brandon Sanderson]]}}
 
   
 
If we had a page in mind for this page's information to move to, for example, if we thought it would be better suited on the page [[Brandon Sanderson]], we could use the following code: <code><nowiki>{{merge|[[Brandon Sanderson]]}}</nowiki></code>
   
 
== Pages to be Merged ==
 
== Pages to be Merged ==
 
This is a list of pages with this template included. Pages marked "transclusion" have the template included and are candidates for merging, whereas pages not marked simply link directly to the template page.
 
This is a list of pages with this template included. Pages marked "transclusion" have the template included and are candidates for merging, whereas pages not marked simply link directly to the template page.
{{Special:WhatLinksHere/{{FULLPAGENAME}}|}}
+
{{Special:WhatLinksHere/{{FULLPAGENAME}} |hidelinks=1}}
   
 
[[Category: Notices]]
 
[[Category: Notices]]

Revision as of 06:12, 21 March 2020

It has been suggested that this page be merged.
The information on this page is much better suited to be included on other pages.

This template should be included on pages which don't deserve separate articles, and notes to editors that information needs to be moved to other articles. It can be included by adding the text {{merge}} to the top of the article. This will add the green notice to the top of the article and automatically add the article to Category: Articles to be merged.

Parameters

{{{1}}} - this is an optional parameter that allows you to suggest which page the information should be merged into. It accepts wiki links.

Examples

If we felt this template page was unnecessary and the information should be moved elsewhere, we could add this code: {{merge}}

If we had a page in mind for this page's information to move to, for example, if we thought it would be better suited on the page Brandon Sanderson, we could use the following code: {{merge|[[Brandon Sanderson]]}}

Pages to be Merged

This is a list of pages with this template included. Pages marked "transclusion" have the template included and are candidates for merging, whereas pages not marked simply link directly to the template page.