Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 129: Line 129:
|{{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}}
|{{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}}
|{{click|image=Unused button.png|link={{{pagename|}}}/Unused|width=17px|height=17px}}  
|{{click|image=Unused button.png|link={{{pagename|}}}/Unused|width=17px|height=17px}}  
|}
|}{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
      | {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
        | <!--(Article)--> (Article)
            | {{ #ifexist: {{../../Metadata|info=pagename}}
                                | {{#ifeq:{{NAMESPACE}}|Talk
                        | <!--(Talk: Sub subpage)--> (Talk: Sub subpage)
                        |(ALL subsubpages) {{#ifeq: {{../../Metadata|info=pagename}}/Signed Articles|{{BASEPAGENAME}}
                                              |<!--(signed article)-->(signed article)
                              | {{#ifeq: {{../../Metadata|info=pagename}}/Catalogs|{{BASEPAGENAME}}
                                      |<!--(Catalog sub-subpage)-->(Catalog sub-subpage)                                         | {{#ifeq: {{../../Metadata|info=pagename}}/Timelines|{{BASEPAGENAME}}
                                              |<!--(timeline sub-subpage)-->(timeline sub-subpage)
                                                            |(other sub-subpage) }} }} }} }}
                |(All Subpage articles)  {{#ifeq:{{SUBPAGENAME}}|Draft
                      | <!--(Draft)--> (Draft)
                                      |{{#ifeq:{{SUBPAGENAME}}|Unused
                    | <!--Unused subpages--> (Unused subpages)
                    | {{#ifeq:{{SUBPAGENAME}}|Approval
                                              |<!--(approval subpage)-->  (approval subpage)         
                                              |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }}
      | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
              | {{#ifeq:{{NAMESPACE}}|Talk
                  | {{#ifeq:{{SUBPAGENAME}}|Draft
                  | <!--(Draft Talk page) --> (Draft Talk page)
                  | <!--not currently used--> (All subpage and subsubpage Talk) }}
          | {{#ifeq:{{NAMESPACE}}|User
                  | <!--not currently used--> (User subpage)
                  | <!--not currently used--> (User subpage talk) }} }}
              | {{#ifeq:{{NAMESPACE}}|Talk
                  | <!--(Article Talk page)--> (Article Talk page)
          | {{#ifeq:{{NAMESPACE}}|User
          | <!--not currently used--> (User page)
          | {{#ifeq:{{NAMESPACE}}|User talk
        |<!--not currently used--> (User talk page)
          |  {{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}}
                                |<!--not currently used-->(the metadata template)
                                                |  {{#ifeq:{{NAMESPACE}}|Template
            | <!--not currently used--> (template main page)
            | <!--not currently used--> (template talk page) }} }} }} }} }} }} }}
|}</div>
|}</div>
{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
|<!--(Article)-->{{#ifeq:{{{status|}}}|0||{{#if:{{{ToA editor| }}}|<!--
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }} }}{{#switch: {{{status|}}}
| 0 = [[Category:Approved Articles|{{{abc| }}}]] [[Category:CZ Live|{{{abc| }}}]] [[Category:{{{group|}}} Approved|{{{abc| }}}]] {{#if: {{{group2|}}}| [[Category:{{{group2|}}} Approved|{{{abc| }}}]]}} {{#if: {{{group3|}}}| [[Category:{{{group3|}}} Approved|{{{abc| }}}]]}}
| 1 =  [[Category:CZ Live|{{{abc| }}}]]
| 2 =  [[Category:CZ Live|{{{abc| }}}]]
| 3 =  [[Category:CZ Live|{{{abc| }}}]]
| 4 =
|
}}
{{#if: {{{group|}}}|[[Category:{{{group|}}} Workgroup|{{{abc| }}}]]|
{{{!}}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;"
{{!}}[[Category:Articles_with_Ambiguous_Status]]
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}||*The '''''pagename''''' field in the metadata template is either '''''incorrect or absent'''''.}}
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=cat1}}| |*At least '''one workgroup''' needs to be assigned.}}
{{#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>
{{!}}} }}  {{#if: {{{group2|}}}|[[Category:{{{group2|}}} Workgroup|{{{abc| }}}]]}} {{#if: {{{group3|}}}|[[Category:{{{group3|}}} Workgroup|{{{abc| }}}]]}}
|{{#ifeq:{{SUBPAGENAME}}|Draft
|<!--(Draft)--> {{#if:{{{ToA editor| }}}|<!--
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}}}} }} }} }}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq:{{NAMESPACE}}|Talk
| {{#ifeq:{{SUBPAGENAME}}|Draft
| <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0|{{#if:{{{ToA editor| }}}|<!--
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }} }}
| <!--not currently used--> (All subpage articles Talk) }}
| {{#ifeq:{{NAMESPACE}}|User
| <!--not currently used--> (User subpage)
| <!--not currently used--> (User subpage talk) }} }}
| {{#ifeq:{{NAMESPACE}}|Talk
| <!--(Article Talk page) -->{{#ifeq:{{{status|}}}|0| |{{#if:{{{ToA editor| }}}|<!--
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }} }}
| {{#ifeq:{{NAMESPACE}}|User
| <!--not currently used--> (User page)
| {{#ifeq:{{NAMESPACE}}|User talk
|<!--not currently used--> (User talk page)
|  {{#ifeq:{{{pagename|}}}/Metadata|{{BASEPAGENAME}}
                        |<!--(metadata page)-->{{Metadata}}
                                        | {{#ifeq:{{NAMESPACE}}|Template
                    | {{Metadata}}
    | (template talk page) }} }} }} }} }} }} }}
</includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==

Revision as of 00:56, 5 October 2007