Difference between revisions of "Template:Move"

From ArchWiki
Jump to: navigation, search
m (typo)
m (add link to tracking category)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
+
<noinclude>
 +
{{Template}}
  
'''A "move" flag used to suggest [[Article Naming Guidelines|renaming]] of an article.'''
+
'''A "move" flag used to suggest [[Help:Article naming guidelines|renaming]] of an article.'''
  
====Usage====
+
== Usage ==
  
 
This template should be added at the beginning of articles with misleading names. Ensure to rationalize the proposed move with the second argument and possibly also on the flagged article's discussion page.
 
This template should be added at the beginning of articles with misleading names. Ensure to rationalize the proposed move with the second argument and possibly also on the flagged article's discussion page.
  
{{bc|<nowiki>{{Moveto|Target Article Name|reason}}</nowiki>}}
+
<nowiki>{{Move|Target article name|reason}}</nowiki>
  
 
You can override the default discussion page with a third optional argument:
 
You can override the default discussion page with a third optional argument:
  
{{bc|<nowiki>{{Moveto|Target Article Name|reason|Talk:Alternative Page}}</nowiki>}}
+
<nowiki>{{Move|Target article name|reason|Talk:Alternative Page}}</nowiki>
  
You can point to a specific section in the default talk page with the named {{ic|section}} parameter:
+
Alternatively you can point to a specific section in the default talk page with the named {{ic|section}} parameter:
  
{{bc|<nowiki>{{Moveto|Target Article Name|reason|section}}</nowiki>}}
+
<nowiki>{{Move|Target article name|reason|section=Section name}}</nowiki>
  
Flagged pages can be found in [[Special:WhatLinksHere/Template:Moveto]]. Users are encouraged to participate in move discussions or simply complete the move (if sensible). The {{ic|<nowiki>{{Moveto}}</nowiki>}} flag should be removed after the move is completed or the proposal is rejected.
+
Flagged pages can be found in [[Special:WhatLinksHere/Template:Move]] or in [[:Category:Pages or sections flagged with Template:Move]]. Users are encouraged to participate in move discussions or simply complete the move (if sensible). The {{ic|<nowiki>{{Move}}</nowiki>}} flag should be removed after the move is completed or the proposal is rejected.
  
====Example==== <!-- unlike most other template examples, this one is not called directly so as not to categorize the page as disputed; please update the example if updating the code -->
+
{{Note|The talk page is linked through an external link: this is to avoid polluting [[Special:WantedPages]] when the talk page does not exist.}}
  
<nowiki>{{Moveto|</nowiki>{{FULLPAGENAME}}<nowiki>|This is just a demonstration template.}}</nowiki>
+
== Example ==
  
{{Message_box
+
<nowiki>{{Move|</nowiki>{{FULLPAGENAME}}<nowiki>|This is just a demonstration template.}}</nowiki>
|id              = moveto
+
 
|signal          = [[Image:Tango-go-next.png]]
+
{{Move|{{FULLPAGENAME}}|This is just a demonstration template.}}
|heading        = This article or section is a candidate for moving to [[{{FULLPAGENAME}}]].
+
</noinclude><includeonly>{{META Message
|message        = '''Notes:''' This is just a demonstration template. ([[{{TALKPAGENAME}}|Discuss]])}}</noinclude><includeonly>{{Message_box
+
|id              = moveto
+
 
|signal          = [[Image:Tango-go-next.png]]
 
|signal          = [[Image:Tango-go-next.png]]
 
|heading        = This article or section is a candidate for moving to [[{{{1|<span style="color:red;">specify the target title with the first argument</span>}}}]].
 
|heading        = This article or section is a candidate for moving to [[{{{1|<span style="color:red;">specify the target title with the first argument</span>}}}]].
|message        = '''Notes:''' {{{reason|{{{2|{{Unexplained Status Template|second|more detailed indications}}}}}}}} ([[{{{talk|{{{3|{{TALKPAGENAME}}#{{{section|}}}}}}}}}|Discuss]])}}</includeonly>
+
|message        = '''Notes:''' {{{reason|{{{2|{{META Unexplained Status Template|second|more detailed indications}}}}}}}} (Discuss in [{{fullurl:{{{talk|{{{3|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}} {{{talk|{{{3|{{TALKPAGENAME}}#{{{section|}}}}}}}}}])}}[[Category:Pages or sections flagged with Template:Move]]</includeonly>

Latest revision as of 11:10, 14 January 2016

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A "move" flag used to suggest renaming of an article.

Usage

This template should be added at the beginning of articles with misleading names. Ensure to rationalize the proposed move with the second argument and possibly also on the flagged article's discussion page.

{{Move|Target article name|reason}}

You can override the default discussion page with a third optional argument:

{{Move|Target article name|reason|Talk:Alternative Page}}

Alternatively you can point to a specific section in the default talk page with the named section parameter:

{{Move|Target article name|reason|section=Section name}}

Flagged pages can be found in Special:WhatLinksHere/Template:Move or in Category:Pages or sections flagged with Template:Move. Users are encouraged to participate in move discussions or simply complete the move (if sensible). The {{Move}} flag should be removed after the move is completed or the proposal is rejected.

Note: The talk page is linked through an external link: this is to avoid polluting Special:WantedPages when the talk page does not exist.

Example

{{Move|Template:Move|This is just a demonstration template.}}

Tango-go-next.pngThis article or section is a candidate for moving to Template:Move.Tango-go-next.png

Notes: This is just a demonstration template. (Discuss in Template talk:Move#)