Template:Move: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(New page: {| cellpadding=3 border=0 width=100% ! colspan=3 bgcolor="#dddddd" style="border-top:1px solid #aaaaaa" |To move a cluster follow the directions below |- |<span class="plainlinks">'''<font...)
 
mNo edit summary
 
(145 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| cellpadding=3 border=0 width=100%
{{#ifeq:{{localurl:{{BASEPAGENAME}}}}|{{localurl:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}
! colspan=3 bgcolor="#dddddd" style="border-top:1px solid #aaaaaa" |To move a cluster follow the directions below
    |
|-
    |{{#Ifexist:Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata
|<span class="plainlinks">'''<font size=2 style="background: #cccccc;border-top:1px solid #bbbbbb; border-bottom:1px solid #dddddd">&nbsp;Unused subpages:&nbsp;</font>'''
          |{{#Ifexist:Template:{{BASEPAGENAME}}/Metadata
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
        |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
{{!}}-
<font color="red">Only a constable can move this cluster since some pages are protected</font>. [[Category:Incomplete Move]]
{{!}}}
        |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
            |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
{{!}}-
{{!}}
<center><big>The '''Cluster Move''' information box.</big>  (''For {{{{BASEPAGENAME}}/Metadata|info=pagename}} to {{BASEPAGENAME}}'')</center>
----
[[Category:Incomplete Move]] {{#ifexist:{{BASEPAGENAME}}/Approval
                |
:Now tag the old approval page and metadata template for deletion:
::* [http://en.citizendium.org/wiki/index.php?&action=edit&preload=Template:Preload_DeleteMove&title={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}/Approval&action=edit&section=new Tag old Approval for deletion]  Use back button to return here!
::* [http://en.citizendium.org/wiki/index.php?&action=edit&preload=Template:Preload_DeleteMove&title=Template:{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}/Metadata&action=edit&section=new Tag old Metadata for deletion] Use back button to return here!
----
:'''Finally''', [http://en.citizendium.org/wiki/index.php?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update the pagename field and the abc field'''] in the new Metadata template.


{{#ifeq:{{{status|}}}|0
<div style="text-align: right;"><span class="plainlinks"><small>[[http://en.citizendium.org/wiki/index.php?title=Template_talk:Move&action=edit Feel free to recommend improvements to the text or links in this template]]</small></span></div>
|Only a constable can move this cluster since some pages are protected. [[Category:To Move]]
{{!}}}
                |<!-- Need to have a section here to create an approval page if the article and talk page have already been moved.  Possibly detect this if both are present, old and new for both or similar-->{{#ifexist:Talk:{{BASEPAGENAME}}
                        |<br>
{{!}}-
{{!}}<big>Some or all of the pages you wish to move to already exist.</big> [http://en.citizendium.org/wiki/index.php?title=Special%3APrefixindex&from={{urlencode:{{BASEPAGENAME}}}}&namespace=0 View the list.]


|{{#ifexist: Template:{{{moveto}}}/Metadata
This might not be a problem since they could be redirects (listed in ''italics'' at View list link). If there is content on the pages, however, only a constable can finish off this cluster move since a '''deletion is required'''.
|
----
|<!-- moves the metadata page-->[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_new_cluster_name&wpOldTitle=Template:{{anchorencode:{{{movefrom}}}}}/Metadata&wpNewTitle=Template:{{anchorencode:{{{moveto}}}}}/Metadata Move metadata page] [[Category:To Move]]}} }}
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
 
      |
<!--
      |
 
:Create the approval page last!;}}
Comment on code below.: 
Now move the Article. '''IMPORTANT''' make sure you select the option to move all subpages too.
The first "if equal" checks if the C value in the subpage list is empty.  These buttons are not consider functional and not listed as unused.
::*[http://en.citizendium.org/wiki/Special:Movepage?wpReason=REMEMBER_click_move_all_subpages&wpOldTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} Move Article, Talk Page and Subpages].  
The "if exist" determines if the subpage already exists, if so, it is not included in the list of unused subpages.
----
 
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
-->{{#ifeq:{{subpage list|button=1B}}||<!--If the field is not currently filled, such as for an "available button", then it will not be included in the unused list.-->
      |
          |{{#ifexist:{{{basepagename|}}}/{{subpage list|button=1A}}
      |'''Please create the "Approval page".''' Just click this <span class="plainlinks"> '''''[http://en.citizendium.org/wiki/index.php?action=edit&preload=Template%3ASubpages_name&title={{BASEPAGENAMEE}}%2FApproval Approval page link]''''' </span> and save the page.}}
              | <!--Exit here if the subpage exists since it does not need to be included in the list-->
{{!}}}
              |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=1A}}}} <font color="darkblue" >{{subpage list|button=1A}}</font>]}} }}<nowiki>
                        |<br>
 
{{!}}-
</nowiki>{{#ifeq:{{subpage list|button=2B}}||
{{!}}width=100% valign=top{{!}}
          |{{#ifexist:{{{basepagename|}}}/{{subpage list|button=2A}}|
Now move the Article. '''IMPORTANT''' make sure you select the option to move all subpages too.
          |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=2A}}}} <font color="darkblue" >{{subpage list|button=2A}}</font>]}} }}<nowiki>
::*[http://en.citizendium.org/wiki/Special:Movepage?wpReason=REMEMBER_click_move_all_subpages&wpOldTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} Move Article, Talk Page and Subpages].  
 
:::<small>Not possible to move? Only a constable can finish off this cluster move since a deletion is required.</small>
</nowiki>{{#ifeq:{{subpage list|button=3B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=3A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=3A}}}} <font color="darkblue" >{{subpage list|button=3A}}</font>]}} }}<nowiki>
{{!}}} }} }} }} }}
 
              | }} }} }}
</nowiki>{{#ifeq:{{subpage list|button=4B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=4A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=4A}}}} <font color="darkblue" >{{subpage list|button=4A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=5B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=5A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=5A}}}} <font color="darkblue" >{{subpage list|button=5A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=6B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=6A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=6A}}}} <font color="darkblue" >{{subpage list|button=6A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=7B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=7A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=7A}}}} <font color="darkblue" >{{subpage list|button=7A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=8B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=8A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=8A}}}} <font color="darkblue" >{{subpage list|button=8A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=9B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=9A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=9A}}}} <font color="darkblue" >{{subpage list|button=9A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=10B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=10A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=10A}}}} <font color="darkblue" >{{subpage list|button=10A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=11B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=11A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=11A}}}} <font color="darkblue" >{{subpage list|button=11A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=12B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=12A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=12A}}}} <font color="darkblue" >{{subpage list|button=12A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=13B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=13A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=13A}}}} <font color="darkblue" >{{subpage list|button=13A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=14B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=14A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=14A}}}} <font color="darkblue" >{{subpage list|button=14A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=15B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=15A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=15A}}}} <font color="darkblue" >{{subpage list|button=15A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=16B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=16A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=16A}}}} <font color="darkblue" >{{subpage list|button=16A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=17B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=17A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=17A}}}} <font color="darkblue" >{{subpage list|button=17A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=18B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=18A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=18A}}}} <font color="darkblue" >{{subpage list|button=18A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=19B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=19A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=19A}}}} <font color="darkblue" >{{subpage list|button=19A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=20B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=20A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=20A}}}} <font color="darkblue" >{{subpage list|button=20B}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=21B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=21A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=21A}}}} <font color="darkblue" >{{subpage list|button=21B}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=22B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=22A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=12A}}}} <font color="darkblue" >{{subpage list|button=12A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=23B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=23A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=13A}}}} <font color="darkblue" >{{subpage list|button=13A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=24B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=24A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=14A}}}} <font color="darkblue" >{{subpage list|button=14A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=25B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=25A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=15A}}}} <font color="darkblue" >{{subpage list|button=15A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=26B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=26A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=16A}}}} <font color="darkblue" >{{subpage list|button=16A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=27B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=27A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=17A}}}} <font color="darkblue" >{{subpage list|button=17A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=28B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=28A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=18A}}}} <font color="darkblue" >{{subpage list|button=18A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=29B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=29A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=19A}}}} <font color="darkblue" >{{subpage list|button=19A}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=30B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=30A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=20A}}}} <font color="darkblue" >{{subpage list|button=20B}}</font>]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list|button=31B}}|||{{#ifexist:{{{basepagename|}}}/{{subpage list|button=31A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{{basepagenamee|}}}/{{anchorencode:{{subpage list|button=21A}}}} <font color="darkblue" >{{subpage list|button=21B}}</font>]}} }}</span>
|}

Latest revision as of 09:54, 19 January 2023