Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(remove this whole section. Add back bit by bit. Note to self: might be something in checklist22)
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)-->{{#ifeq:{{{status|}}}|0|<!--
 
***Next section is the approved template, it is only placed on approved article. ***
 
-->__NOEDITSECTION__
'''Article approved''' <small>{{#if:{{{editor}}}|{{#if:{{{editor2|}}}|{{#if:{{{editor3|}}}|by three editors ([[User:{{{editor}}}|first]], [[User:{{{editor2}}}|second]] and [[User:{{{editor3}}}|third]]; see the [[Talk:{{{ current pagename }}}/Draft|talk page]])|by two editors ([[User:{{{editor}}}|first]] and [[User:{{{editor2}}}|second]]; see the [[Talk:{{{ current pagename }}}/Draft|talk page]])}}|by [[User:{{{editor}}}|an editor]] (see the [[Talk:{{{ current pagename }}}/Draft|talk page]])}} |no known editors, please ask a constable to update this template}} of  {{#if:{{{group}}}|{{#if:{{{group2|}}}|{{#if:{{{group3|}}}|the [[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]], [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] and [[CZ:{{{group3}}} Workgroup|{{{group3}}} Workgroup]]|the [[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] and [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]]}}|the [[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]]}}|an unknown workgroup, please ask a constable to update this template}} ''The Citizendium Foundation and Citizendium participants make no representations about the reliability of this article or its suitability for any purpose.''</small> <br/> <div align=center>'''Help improve this article further on [[{{PAGENAME}}/Draft|the draft page]]!'''</div> |''This is a '''draft article''', under development.  These '''unapproved''' articles are subject to [[CZ:Disclaimer|'''a disclaimer]]'''''.}}
|{{#ifeq:{{SUBPAGENAME}}|Draft
|<!--(Draft)--> <small>''Most recent approved version: [[{{BASEPAGENAME}}]]''</small>
        |{{ #ifexist: {{../../Metadata|info=pagename}}
        |{{#ifeq: {{{pagename|}}}/Signed Articles|{{BASEPAGENAME}}
                                    |<!--(signed article)-->''An article by '''{{SUBPAGENAME}}''' relating to the topic of [[{{{pagename|}}}]].''
[[Category:Signed Articles|{{{abc|}}}]]
[[Category:{{{group}}} Signed Articles|{{{abc|}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Signed Articles|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Signed Articles|{{{abc|}}}]] |}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Signed Articles|{{{abc}}}]]
[[Category:{{{group}}} Approved Signed Articles|{{{abc}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Signed Articles|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Signed Articles|{{{abc|}}}]] |}} }}
                    | {{#ifeq: {{{pagename|}}}/Catalogs|{{BASEPAGENAME}}
                              |<!--(Catalog sub-subpage)-->''A catalog relating to the topic of [[{{../../Metadata|info=pagename}}]].''
[[Category:Catalogs|{{{abc|}}}]]
[[Category:{{{group}}} Catalogs|{{{abc|}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Catalogs|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Catalogs|{{{abc|}}}]] |}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Catalogs|{{{abc}}}]]
[[Category:{{{group}}} Approved Catalogs|{{{abc}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Catalogs|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Catalogs|{{{abc|}}}]] |}} }}
                                  | {{#ifeq: {{{pagename|}}}/Timelines|{{BASEPAGENAME}}
                                              |<!--(timeline sub-subpage)-->''A timeline relating to the topic of [[{{{pagename|}}}]].''
[[Category:Timelines|{{{abc|}}}]]
[[Category:{{{group}}} Timelines|{{{abc|}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Timelines|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Timelines|{{{abc|}}}]] |}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Timelines|{{{abc}}}]]
[[Category:{{{group}}} Approved Timelines|{{{abc}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Timelines|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Timelines|{{{abc|}}}]] |}} }}
                                                            |}} }} }}
          |{{#ifeq:{{SUBPAGENAME}}|Unused
              | <!--Unused subpages-->
                  | <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }}      }} }} }} }}
| }}
|}</div>
|}</div>
{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}

Revision as of 08:32, 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).