Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(rv back for now)
imported>Chris Day
No edit summary
Line 139: Line 139:
  |{{#ifeq:{{SUBPAGENAME}}|Draft
  |{{#ifeq:{{SUBPAGENAME}}|Draft
  |<!--(Draft)--> <small>''Most recent approved version: [[{{BASEPAGENAME}}]]''</small>
  |<!--(Draft)--> <small>''Most recent approved version: [[{{BASEPAGENAME}}]]''</small>
          |{{ #ifexist: {{../../Metadata|info=pagename}}
          |{{ #ifeq: {{{type|}}}|subsubpage
          |{{#ifeq: {{{pagename|}}}/Signed Articles|{{BASEPAGENAME}}
          |{{#ifeq: {{{pagename|}}}/Signed Articles|{{BASEPAGENAME}}
                                     |<!--(signed article)-->''An article by '''{{SUBPAGENAME}}''' relating to the topic of [[{{{pagename|}}}]].''
                                     |<!--(signed article)-->''An article by '''{{SUBPAGENAME}}''' relating to the topic of [[{{{pagename|}}}]].''
Line 221: Line 221:
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
***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|}}}}} }} }} }}
-->{{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: {{{type|}}}|subsubpage
        |[[Category:Sub-subpages|{{{abc|}}}]] {{#ifeq: {{{pagename|}}}/Signed Articles|{{BASEPAGENAME}}
                                    |<!--(signed article)-->
                    | {{#ifeq: {{{pagename|}}}/Catalogs|{{BASEPAGENAME}}
                              |<!--(Catalog sub-subpage)-->
                                      | {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename}}}
                                              |<!--(timeline sub-subpage)-->
                                                            |}} }} }}
          |{{#ifeq:{{SUBPAGENAME}}|Unused
              | <!--Unused subpages-->{{Unused subpages}}
                  | <!--(All subpage articles)--> {{#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:{{SUBPAGENAME}}|Approval|<!--(approval subpage)-->|[[Category:Subpages|{{{abc|}}}]]}} }} }}  }} }}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk

Revision as of 00:56, 3 October 2007


Usage

See CZ:Using the Subpages template for information on how to use this template. See CZ:Subpages for an introduction to the concept and our use of subpages.

Examples of this templates use can be found at the Test article cluster (unapproved) and the Biology cluster (approved).