Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(adding some of the general templates)
imported>Chris Day
No edit summary
Line 108: Line 108:
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
         |<!--(Article)-->{{#ifeq:{{{status|}}}|0
         |<!--(Article)-->{{article specific}}{{#ifeq:{{{status|}}}|0
                         |<!--Approved Article-->
                         |<!--Approved Article-->
                         |<!--UnApproved version-->''This is a '''draft article''', under development.  These '''unapproved''' articles are subject to [[CZ:Disclaimer|'''a disclaimer]]'''''.}}
                         |<!--UnApproved version-->''This is a '''draft article''', under development.  These '''unapproved''' articles are subject to [[CZ:Disclaimer|'''a disclaimer]]'''''.}}
Line 134: Line 134:
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
         |<!--(Article)-->{{#ifeq:{{{status|}}}|0
         |<!--(Article)-->{{article subset}}{{#ifeq:{{{status|}}}|0
                         |<!--Approved Article-->{{APPROVE stuff}}
                         |<!--Approved Article-->{{APPROVE stuff}}
                         |<!--UnApproved version-->{{TOAPPROVE stuff}}}}
                         |<!--UnApproved version-->{{TOAPPROVE stuff}}}}
Line 145: Line 145:
                                                             |<!--Sub-subpages other than the three above-->}} }} }}
                                                             |<!--Sub-subpages other than the three above-->}} }} }}
                    |<!--(All Subpage articles)-->{{TOAPPROVE stuff}}{{ {{{subpagename|}}} footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft
                    |<!--(All Subpage articles)-->{{TOAPPROVE stuff}}{{ {{{subpagename|}}} footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft
                        | <!--(Draft)-->
                        | <!--(Draft)-->{{draft article subset}}
                         | {{#ifeq:{{{subpagename|}}}|Approval
                         | {{#ifeq:{{{subpagename|}}}|Approval
                                               |<!--approval subpage-->
                                               |<!--approval subpage-->
Line 152: Line 152:
               |<!--All subpage Talk pages-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft
               |<!--All subpage Talk pages-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk page) -->{{Talk Checklist}}{{#ifeq:{{{status|}}}|0
                   | <!--(Draft Talk page) -->{{Talk Checklist}}{{#ifeq:{{{status|}}}|0
                                         |{{#if:{{{ToA editor| }}}
                                         |{{Talk Checklist}}{{draft article subset}}{{#if:{{{ToA editor| }}}
                                                 |<!--(ToApprove information here if approval is being updated)-->{{TOAPPROVE stuff}}
                                                 |<!--(ToApprove information here if approval is being updated)-->{{TOAPPROVE stuff}}
                                                 |<!--(Draft talk page info when approved but not reapproving)-->}}
                                                 |<!--(Draft talk page info when approved but not reapproving)-->}}
Line 160: Line 160:
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0
                                     |<!--(not used: a redirect to the draft page talk is here after approval)-->
                                     |<!--(not used: a redirect to the draft page talk is here after approval)-->
                                     |{{Talk Checklist}}{{#if:{{{ToA editor| }}}
                                     |{{article subset}}{{Talk Checklist}}{{#if:{{{ToA editor| }}}
                                                 |<!--(ToApprove information here if being approved for the first time)-->{{TOAPPROVE stuff}}
                                                 |<!--(ToApprove information here if being approved for the first time)-->{{TOAPPROVE stuff}}
                                                 |}}}}
                                                 |}}}}

Revision as of 02:01, 15 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).