Difference between revisions of "Template:Merge"

From Sugar Labs
Jump to navigation Jump to search
m (adjust styling)
 
(6 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==
  
This template will add articles to [[:Category:Articles to be merged]].
+
This template will flag the page or page section and add the page to the [[:Category:Articles to be merged]].
  
 
==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 ''' [[ ]] ''' .
+
 
  
 
For consistency throughout this wiki please  
 
For consistency throughout this wiki please  
* Please add a reason on the pages discussion,
+
* Add a reason on the article's discussion page.
* regard both capitalization ie.  
+
* Remember that capitalization matters, ''i.e.'',
** '''M'''erge not '''m'''erge and  
+
** '''M'''erge not '''m'''erge, and
** '''A'''rticle_1 not '''a'''rticle_1  
+
** '''A'''rticle_1 not '''a'''rticle_1
* Placement of this code at bottom of page that you are requesting
+
 
** or at bottom of a section that you are requesting
+
* 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.
 +
 
 +
* Consider this comment, [[olpc:OLPC talk:Cleanup#overzealous merge tags]], about when to use the template.
 +
 
  
== Any ''Headline text'' ==
+
Usage example:
 +
==== Any ''Headline text'' ====
 
some text
 
some text
 
...
 
...
Line 29: Line 35:
 
''Merge this section only?'' <tt><nowiki>{{Merge | Article_1}}</nowiki></tt>
 
''Merge this section only?'' <tt><nowiki>{{Merge | Article_1}}</nowiki></tt>
  
== More ''Headline text'' ==
+
==== More ''Headline text'' ====
 
some text
 
some text
 
...
 
...
  
== Last ''Headline text'' section ==
+
==== Last ''Headline text'' section ====
  
 
''Merge this page?'' <tt><nowiki>{{Merge | Article_1}}</nowiki></tt>
 
''Merge this page?'' <tt><nowiki>{{Merge | Article_1}}</nowiki></tt>
 
   
 
   
 
[[Category:Template]]
 
[[Category:Template]]
[[Category:PageFlaggingTemplate]]</noinclude>
+
[[Category:Highlighting template|Merge]]
 +
[[Category:Page flagging template|Merge]]</noinclude>

Latest revision as of 09: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}}