Difference between revisions of "Template:Merge"

From Sugar Labs
Jump to navigation Jump to search
m (adjust styling)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="messagebox merge">[[Image:Merge-arrows.gif|left]]<center> It has been suggested that this article or section be merged with ''[[{{NAMESPACE}}:{{{1}}}|{{{1}}}]]''. ([[{{NAMESPACE}} talk:{{PAGENAME}}|Discuss]])</center>
+
{| class="metadata plainlinks mbox mbox-warning"
</div>
+
|align="center" style="padding:2px .5em 2px .5em"|[[File:Merge.svg|link=]]
 +
|align="center" style="padding:2px .9em 2px .5em"|It has been suggested that this article or section be merged with ''[[{{NAMESPACE}}:{{{1}}}|{{{1}}}]]''. ([[{{{discuss|{{NAMESPACE}} talk:{{PAGENAME}}}}}|Discuss]])
 +
|}
 
<includeonly>[[Category:Articles to be merged|{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:Articles to be merged|{{PAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
<!--PNG images containing transparencies do not display properly for some users.  Please consider this fact before replacing the already tiny GIF file.-->
 
  
 
==Description==
 
==Description==
Line 11: Line 12:
 
==Usage==
 
==Usage==
  
You tag the article that needs to be merged into/with the ''Article_1'' as follows
+
* You tag the article that needs to be merged into/with the ''Article_1'' as follows:<br>{{Code|<nowiki>{{Merge | Article_1}}</nowiki>}} (no square brackets).
<nowiki>{{Merge | Article_1}}</nowiki>
+
* Optionally, the Discuss link may be directed to a page/section title as follows:<br>{{Code|<nowiki>{{Merge|Article_1|discuss=Page#Section title}}</nowiki>}}
without enclosing it in ''' [[ ]] ''' .
 
  
  
Line 44: Line 44:
 
   
 
   
 
[[Category:Template]]
 
[[Category:Template]]
[[Category:PageFlaggingTemplate]]</noinclude>
+
[[Category:Highlighting template|Merge]]
 +
[[Category:Page flagging template|Merge]]</noinclude>

Latest revision as of 10:45, 27 June 2012


Description

This template will flag the page or page section and add the page to the Category:Articles to be merged.

Usage

  • You tag the article that needs to be merged into/with the Article_1 as follows:
    {{Merge | Article_1}} (no square brackets).
  • Optionally, the Discuss link may be directed to a page/section title as follows:
    {{Merge|Article_1|discuss=Page#Section title}}


For consistency throughout this wiki please

  • Add a reason on the article's discussion page.
  • Remember that capitalization matters, i.e.,
    • Merge not merge, and
    • Article_1 not article_1
  • Place the template at the top of the page or section.
    It probably serves to alert the reader sooner of alternate pages when it is at the top.


Usage example:

Any Headline text

some text ...

Merge this section only? {{Merge | Article_1}}

More Headline text

some text ...

Last Headline text section

Merge this page? {{Merge | Article_1}}