Difference between revisions of "Template:Merge"

From The Coppermind
Jump to navigation Jump to search
(Added some documentation)
m (+usage)
 
(One intermediate revision by one other user not shown)
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>
   
 
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>
   
 
[[Category: Notices]]
{{merge}}
 
   
  +
== Articles using Template ==
 
 
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
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:
 
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
 
 
{{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.
 
{{Special:WhatLinksHere/{{FULLPAGENAME}}|}}
 
 
[[Category: Notices]]
 

Latest revision as of 20:24, 19 April 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[edit]

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

Examples[edit]

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]]}}

Articles using Template[edit]