Template:Subpages3: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 1: Line 1:
{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
       |A{{subpage_style|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subpage|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|variant= {{{{BASEPAGENAME}}/Metadata|info=variant}}|abc= {{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check= {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked= {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by= {{{{BASEPAGENAME}}/Metadata|info=by}}|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3= {{{{BASEPAGENAME}}/Metadata|info=cat3}}|article url= {{{{BASEPAGENAME}}/Metadata|info=article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info=subpage url}}|cluster= {{{{BASEPAGENAME}}/Metadata|info=cluster}}|now= {{{{BASEPAGENAME}}/Metadata|info=now}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info=ToA editor3}}|date= {{{{BASEPAGENAME}}/Metadata|info=date}}|A editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|A editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}} }}
       |{{subpage_style|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subpage|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|variant= {{{{BASEPAGENAME}}/Metadata|info=variant}}|abc= {{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check= {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked= {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by= {{{{BASEPAGENAME}}/Metadata|info=by}}|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3= {{{{BASEPAGENAME}}/Metadata|info=cat3}}|article url= {{{{BASEPAGENAME}}/Metadata|info=article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info=subpage url}}|cluster= {{{{BASEPAGENAME}}/Metadata|info=cluster}}|now= {{{{BASEPAGENAME}}/Metadata|info=now}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info=ToA editor3}}|date= {{{{BASEPAGENAME}}/Metadata|info=date}}|A editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|A editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}} }}
       |B{{ #ifexist: {{../../Metadata|info=pagename}}
       |{{ #ifexist: {{../../Metadata|info=pagename}}
               |B1 {{subpage_style|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subsubpage|pagename= {{../../Metadata|info=pagename}}|variant= {{../../Metadata|info=variant}}|abc= {{../../Metadata|info=abc}}|cat_check= {{../../Metadata|info=cat_check}}|status= {{../../Metadata|info=status}}|underlinked= {{../../Metadata|info=underlinked}}|cleanup= {{../../Metadata|info=cleanup}}|by= {{../../Metadata|info=by}}|group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3= {{../../Metadata|info=cat3}}|article url= {{../../Metadata|info=article url}}|subpage url= {{../../Metadata|info=subpage url}}|cluster= {{../../Metadata|info=cluster}}|now= {{../../Metadata|info=now}}|ToA editor= {{../../Metadata|info=ToA editor}}|ToA editor2= {{../../Metadata|info=ToA editor2}}|ToA editor3= {{../../Metadata|info=ToA editor3}}|date= {{../../Metadata|info=date}}|A editor= {{../../Metadata|info=A editor}}|A editor2= {{../../Metadata|info=A editor2}}|A editor3= {{../../Metadata|info=A editor3}} }}
               |{{subpage_style|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subsubpage|pagename= {{../../Metadata|info=pagename}}|variant= {{../../Metadata|info=variant}}|abc= {{../../Metadata|info=abc}}|cat_check= {{../../Metadata|info=cat_check}}|status= {{../../Metadata|info=status}}|underlinked= {{../../Metadata|info=underlinked}}|cleanup= {{../../Metadata|info=cleanup}}|by= {{../../Metadata|info=by}}|group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3= {{../../Metadata|info=cat3}}|article url= {{../../Metadata|info=article url}}|subpage url= {{../../Metadata|info=subpage url}}|cluster= {{../../Metadata|info=cluster}}|now= {{../../Metadata|info=now}}|ToA editor= {{../../Metadata|info=ToA editor}}|ToA editor2= {{../../Metadata|info=ToA editor2}}|ToA editor3= {{../../Metadata|info=ToA editor3}}|date= {{../../Metadata|info=date}}|A editor= {{../../Metadata|info=A editor}}|A editor2= {{../../Metadata|info=A editor2}}|A editor3= {{../../Metadata|info=A editor3}} }}
               |C {{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
               |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
                     |D{{subpage_style
                     |{{subpage_style| namespace={{NAMESPACE}} |subpagename={{SUBPAGENAME}} |basepagename={{BASEPAGENAME}} |fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= template|pagename= {{{{BASEPAGENAME}}|info=pagename}}|variant= {{{{BASEPAGENAME}}|info=variant}}|abc= {{{{BASEPAGENAME}}|info=abc}}|cat_check= {{{{BASEPAGENAME}}|info=cat_check}}|status= {{{{BASEPAGENAME}}|info=status}}|underlinked= {{{{BASEPAGENAME}}|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}|info=cleanup}}|by= {{{{BASEPAGENAME}}|info=by}}|group = {{{{BASEPAGENAME}}|info=cat1}}|group2= {{{{BASEPAGENAME}}|info=cat2}}|group3= {{{{BASEPAGENAME}}|info=cat3}}|article url= {{{{BASEPAGENAME}}|info=article url}}|subpage url= {{{{BASEPAGENAME}}|info=subpage url}}|cluster= {{{{BASEPAGENAME}}|info=cluster}}|now= {{{{BASEPAGENAME}}|info=now}}|ToA editor= {{{{BASEPAGENAME}}|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}|info=ToA editor3}}|date= {{{{BASEPAGENAME}}|info=date}}|A editor= {{{{BASEPAGENAME}}|info=A editor}}|A editor2= {{{{BASEPAGENAME}}|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}|info=A editor3}} }}
| namespace={{NAMESPACE}}  
                     |{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
|subpagename={{SUBPAGENAME}}  
                           | {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
|basepagename={{BASEPAGENAME}}  
                           | {{#ifexist: Template:{{BASEPAGENAME}}/Metadata
|fullpagename={{FULLPAGENAME}}
                                      |
|name={{PAGENAME}}
{{{!}}width="90%" align=center cellpadding="1" style="background:#F6E0BC;border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"
|type= template
{{!}}[[Category:Articles_with_Ambiguous_Status]]
|pagename= {{{{BASEPAGENAME}}|info=pagename}}}}
*The '''''pagename''''' field in the metadata template is either '''''incorrect or absent'''''. 
                     |E {{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=cat1}}| |*At least '''one workgroup''' needs to be assigned.}}
                           | F{{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}| |*An article '''status''' between 0-4 needs to be assigned.}}<br><center><big>Please '''''update''''' the [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''metadata template here''']</big></center>
                           |Gnow enter template subroutine
{{!}}}
                                |Hnow enter template subroutine}}
                                      |
<big>There is no Metadata template for this page. Please create the "metadata template.'</big>
<inputbox>
type=create
default=Template:ARTICLE_NAME/Metadata
preload=Template:Blank metadata3
editintro='''See [[CZ:The Article Checklist]] and [[Template:Subpages]] for more instructions for filling this out!'''
buttonlabel=Create metadata template
</inputbox>
<center>(1) In the box above, replace ARTICLE_NAME with the new article name,<br>making sure that you leave "Template:" and "/Metadata" around the new name.<br>(2) Then press the button.<br>(3) On the page that appears, put the title in again across from <code>pagename =</code>.<br>You might also fill out [[CZ:The Article Checklist|the checklist]] part of the form.  Ignore the rest.<br>See [[CZ:Using_the_Subpages_template|this page]] if you're curious.  Don't worry--you'll get the hang of it right away.<br>(4) Save.</center>[[Category:No metadata template]]}} }}
                           |:''Return to [[{{BASEPAGENAME}}]].''<!--User pages and Draft pages resolve to here as well as the talk pages of the subsubpages. This template is not used on templates (except the metadata template, or user pages, so this only applies to the talk:subsubpages--> }} }} }} }}<noinclude>
                           |:''Return to [[{{BASEPAGENAME}}]].''<!--User pages and Draft pages resolve to here as well as the talk pages of the subsubpages. This template is not used on templates (except the metadata template, or user pages, so this only applies to the talk:subsubpages--> }} }} }} }}<noinclude>
{| width=100%
{| width=100%

Revision as of 15:59, 22 October 2007

Return to Subpages3.
{{{basepagename|}}} {{{basepagename}}} {{{fullpagename|}}} {{{fullpagename}}} {{{pagename|}}} {{{pagename}}}
{{{name|}}} {{{name}}} {{{subpagename|}}} {{{subpagename}}} {{{namespace|}}} {{{namespace}}}
{{{type|}}} {{{type}}} {{{pagename}}} {{{pagename}}} {{{variant}}} {{{variant}}}
{{{abc}}} {{{abc}}} {{{cat_check}}} {{{cat_check}}} {{{status}}} {{{status}}}
{{{underlinked}}} {{{underlinked}}} {{{cleanup}}} {{{cleanup}}} {{{by}}} {{{by}}}
{{{group}}} {{{group}}}
{{SUBPAGENAME}} Subpages3 {{FULLPAGENAME}} Template:Subpages3 {{BASEPAGENAME}} Subpages3
{{PAGENAME}} Subpages3 [[/]] Template:Subpages3/ [[../]] [[../]]
[[../../]] [[../../]] {{/}} Template:Subpages3/ {{../}} {{../}}
{{../../}} {{../../}} {{NAMESPACE}} Template