Difference between revisions of "User:Evon R'al/Sandbox template/doc"

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing)
m (Rewrite documentation session 3)
Line 1: Line 1:
 
<!-- While working in the sandbox adapt the template name in the code . Use  user:Evon R'al/Sandbox template instead of template name-->
 
<!-- While working in the sandbox adapt the template name in the code . Use  user:Evon R'al/Sandbox template instead of template name-->
 
; Description
 
; Description
:This template generates a boilerplate noting a suggestion to merge. It includes the target(s) of the merge as a parameter, and places the article in [[:Category:Candidates for merging]]. It should be placed at the top of any page that includes it.
+
:This template generates a boilerplate noting a suggestion to merge. It can include the target of the merge as a parameter, and places the article in [[:Category:Candidates for merging]]. It should be placed at all pages involved in the merge. The boilerplate includes a link to a talk page. All pages involved should point to the same talk page to keep the keep the discussion about the merge at one location.
  
 
; Dependencies
 
; Dependencies
Line 10: Line 10:
 
; Syntax
 
; Syntax
 
: {{T|Merge|candidate 1|candidate 2|...|candidate 20|6=target= target|7=discussion= talkpage (full name)}}
 
: {{T|Merge|candidate 1|candidate 2|...|candidate 20|6=target= target|7=discussion= talkpage (full name)}}
: {{T|Merge}}
+
:: candidate - the page(s) to merge with.
 +
:: target (optional) - the page to merge <em>into</em>
 +
:: discussion - the discussion/talk page where to talk about the merge. Default is the talk page of the page where the banner is placed. When another talk page should be used the full page name, including namespace, should be used, i.e. Template:Merge.
  
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 11:34, 19 July 2021

Description
This template generates a boilerplate noting a suggestion to merge. It can include the target of the merge as a parameter, and places the article in Category:Candidates for merging. It should be placed at all pages involved in the merge. The boilerplate includes a link to a talk page. All pages involved should point to the same talk page to keep the keep the discussion about the merge at one location.
Dependencies
Uses
{{Color box}}
{{Pagelist}}
Syntax
{{Merge|<candidate 1>|<candidate 2>|<...>|<candidate 20>|<target= target>|<discussion= talkpage (full name)>}}
candidate - the page(s) to merge with.
target (optional) - the page to merge into
discussion - the discussion/talk page where to talk about the merge. Default is the talk page of the page where the banner is placed. When another talk page should be used the full page name, including namespace, should be used, i.e. Template:Merge.