Template:Merge: Difference between revisions

Jump to navigation Jump to search
add new arguments to merge tag
m (change image again)
(add new arguments to merge tag)
Line 2: Line 2:
  | type = notice
  | type = notice
  | image = STROOP- Arrow Lift.png
  | image = STROOP- Arrow Lift.png
  | header = It has been suggested that this {{#ifeq:{{{type|}}}|section|section|article}} be merged{{#if:{{{1|}}}| with [[{{{1|}}}]]}}. ([[{{TALKPAGENAMEE}}|Discuss]])
  | header = It has been suggested that this {{#if:{{{type|}}}|{{{type}}}|article}} be merged{{#if:{{{1|}}}| with [[{{{1|}}}]]}}. ([[{{TALKPAGENAMEE}}|Discuss]])
| smalltext = {{#if:{{{reason|}}}|''Reason: {{{reason}}}''}} {{#if:{{{date|}}}|({{{date}}})}}
}}<includeonly>[[Category:Articles to be merged]]</includeonly><noinclude>
}}<includeonly>[[Category:Articles to be merged]]</includeonly><noinclude>
== Usage ==
== Usage ==
Typing <code>&#123;&#123;Merge |OtherPage|date=December 2018&#125;&#125;</code> produces the message shown at the top, and adds the article to the following category:
Typing <code>&#123;&#123;Merge|OtherPage|reason=My reason|type=section|date=December 2018&#125;&#125;</code> (where <code>date</code>, <code>type</code>, and <code>reason</code> are optional) produces a message like the one shown at the top, and adds the article to the following category:
* [[:Category:Articles to be merged]].
* [[:Category:Articles to be merged]].
Here is an example using all of the arguments:
{{Merge|Test|reason=redundant information|date=December 2018|type=section}}
[[Category:Maintenance templates]]
[[Category:Maintenance templates]]
38

edits

Navigation menu