Misplaced Pages

Template:Old move: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 05:48, 24 July 2016 view sourceGraham11 (talk | contribs)Extended confirmed users, Pending changes reviewers29,378 editsNo edit summary← Previous edit Revision as of 21:11, 7 April 2017 view source K12worker (talk | contribs)Extended confirmed users8,232 edits turn html into tables (left comments so everyone can follow the logic); Tested outcome on Talk:Gasoline; Talk:The Holocaust; Talk:Perl and samples from documentation - no issuesNext edit →
Line 4: Line 4:
| type = move | type = move
| text = This {{{type|page}}} '''was previously nominated to be ]'''. Before re-nominating, review the move discussions listed below.<!-- | text = This {{{type|page}}} '''was previously nominated to be ]'''. Before re-nominating, review the move discussions listed below.<!--

---If "collapse" set, start collapsed table:
-->{{#switch:{{{collapse|}}} |true|on|yes=<table class="collapsible collapsed" style="width:100%;background:transparent;"><tr><td>}}<!--


---------------- Logs ----------------- ---------------- Logs -----------------
Line 20: Line 17:
-->| {{#if:{{{title9|}}} |}}<!-- -->| {{#if:{{{title9|}}} |}}<!--
-->| {{#if:{{{title10|}}} |}}<!-- -->| {{#if:{{{title10|}}} |}}<!--
-->}} -->}}<!--

<!----------- Discussions ------------->

{{#if:{{{title1|}}} |<div style="padding-top:0.5em;font-weight:bold;">Discussions</div>}}

{{{list|{{{1|}}}}}}
-------------------------------Discussions----------------------------------
<!-------- Older discussions ---------->
{{#switch:{{{collapse|}}}<!-- -->{{#switch:{{{collapse|}}}|true|on|yes=<!--

-----------Starting Table for Discussions If Collapsed is Set------------
-->{{{!}} class = "collapsible collapsed" style="width:100%;background:transparent;"
{{!}}-
! style="width:100%" {{!}} List of discussions|#default=<!--

-----------Starting Table for Discussions If Collapsed Is Not Set------------
-->{{{!}} style="width:100%;background:transparent;"}}<!--

-----------List of Recent Discussions------------
-->
{{!}}-
{{!}}
{{{list|{{{1|}}}}}}<!--


-----------Older Discussions if Collapsed Is Set------------
---If "collapse" set, add oldlist then close collapsed table:
-->|true|on|yes = <!--(newline required for bulleted lists:)--> -->{{#switch:{{{collapse|}}}|true|on|yes = <!--(newline required for bulleted lists:)-->
{{{oldlist|}}}</td></tr></table><!-- {{{oldlist|}}}<!--


-----------Older Discussions if Collapsed Is Not Set (Per the previous version, creating a new table) ------------
---Otherwise:
-->| {{#if:{{{oldlist|}}} -->| {{#if:{{{oldlist|}}}
|
| <table class="collapsible collapsed" style="width:100%;background:transparent;margin:0;padding:0.5em 0 0;" cellspacing="0" cellpadding="0"> {{{!}} class = "collapsible collapsed" style="width:100%;background:transparent;margin:0; padding:0.5em 0 0" cellspacing="0" cellpadding="0"
<tr><th style="text-align:left;">Older discussions <tr><td><!--(newline required for bulleted lists:)-->
!Older discussions
{{{oldlist}}}</td></tr>
{{!}}-
</table>
{{!}}<!--(newline required for bulleted lists:)-->
}} }}
{{{oldlist}}}
{{!}}} }} }}
{{!}}}
}}<noinclude>{{Documentation}}</noinclude> }}<noinclude>{{Documentation}}</noinclude>

Revision as of 21:11, 7 April 2017

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
Template documentation[view] [edit] [history] [purge]
This template should not be substituted.
WarningThis template is used on approximately 19,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
Shortcuts

This is a versatile talk page banner to elaborate the history of previous moves and move proposals.

Usage

{{Old move
| small = yes/no
| collapse = yes/no
| date = <date when the request was opened>
| from = <original title of the article> 
| destination = <proposed title>
| result = <result of the discussion>
| link = <permanent link to the discussion>
| title = <title of the page whose move logs should be shown>
| list = <bulleted list>
| oldlist = <bulleted list>
}}

Full example.

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.

Parameters

  • small: The option "small = yes" generates a smaller, and right-aligned version of the template.
  • collapse or collapsed: Collapses all discussions and logs.
  • date1, date2, date3...: Date when the request was opened.
  • from1, from2, from3...: Original name of the article when the request was opened. May be omitted if the article was not moved.
  • destination1, destination2, destination3...: Proposed title or the page title that ended up being moved to. Alias: to.
  • result1, result2, result3...: Result of the discussion. Usually 'moved', 'not moved' or 'no consensus'.
  • link1, link2, link3...: Link to the revision where the discussion was closed. It should preferably link to the section where the discussion was held. Do not add brackets.
  • title1, title2, title3...: Used to list move logs.
  • list: A bulleted list that allows editors to list discussions and undiscussed moves manually.
  • oldlist: Same as list, but designed to hold older move debates. Collapsed by default.

Note: Parameters may be used without the number if there is only one move.

Examples

Single move

No parameters

Using this template without parameters is extremely unhelpful and not recommended.

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
{{Old move}}

Full example

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
{{Old move
|date=1 January 1970 |from=Source |destination=Destination |result=moved |link=Special:PermanentLink/1234567
}}

Multiple moves

All parameters can be enumerated (|from2=, |link3= and so on) to add multiple entries. (BUG: result1 needs to be defined to work.)

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
{{Old move 
|from1        = A 
|destination1 = B 
|result1      = not moved 
|from2        = C 
|destination2 = D 
|result2      = moved
|date2        = {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
}}

Small version

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
{{Old move 
|small        = yes 
|from1        = A 
|destination1 = B 
|result1      = not moved 
|from2        = C 
|destination2 = D 
|result2      = Move 
|date2        = {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}
}}

Collapsed version

This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
{{Old move
|collapsed=yes
|date=1 January 1970 |from=Source |destination=Destination |result=moved |link=Special:PermanentLink/1234567
}}

See also

The above documentation is transcluded from Template:Old move/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories:
Template:Old move: Difference between revisions Add topic