Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(don't need as have footer template plus rearrange some)
Line 130: Line 130:
                                                |<!--(timeline sub-subpage)-->{{Timelines Subsubpage}}
                                                |<!--(timeline sub-subpage)-->{{Timelines Subsubpage}}
                                                             |<!--Sub-subpages other than the three above-->{{Other Subsubpage}}}} }} }}
                                                             |<!--Sub-subpages other than the three above-->{{Other Subsubpage}}}} }} }}
                    |<!--(All Subpage articles)-->{{All Subpages}}{{ {{{subpagename|}}} footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft
                    |<!--(All Subpage articles)-->{{All Subpages}}{{ {{{subpagename|}}} Footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft
                        | <!--(Draft page) -->{{#ifeq:{{{status|}}}|0
                        | <!--(Draft page) -->{{#ifeq:{{{status|}}}|0
                                                 |{{Draft page}}{{#if:{{{ToA editor| }}}
                                                 |{{#if:{{{ToA editor| }}}
                                                         |<!--(ToApprove information here if approval is being updated)-->{{To Approve Info}}
                                                         |<!--(ToApprove information here if approval is being updated)-->{{To Approve Info}}
                                                         |<!--(Draft talk page info when approved but not reapproving)-->}}
                                                         |<!--(Draft talk page info when approved but not reapproving)-->}}
                                                 |<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}}
                                                 |<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}}
                         | {{#ifeq:{{{subpagename|}}}|Approval
                         | {{#ifeq:{{{subpagename|}}}|Approval
                                               |<!--approval subpage-->{{Approval Subpage}}
                                               |<!--approval subpage-->
                                               |<!--All other subpage articles but not approval or draft-->{{All Subpage Content}}}} }} }} }}
                                               |<!--All other subpage articles but not approval or draft-->{{All Subpage Content}}}} }} }} }}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               | {{#ifeq:{{{namespace|}}}|Template
               | {{#ifeq:{{{namespace|}}}|Template
                     |<!--(the metadata template)-->{{metadata2|basepagename={{{basepagename|}}} |pagename={{{pagename|}}} |subpagename={{{subpagename|}}} |fullpagename={{{fullpagename|}}}}}
                     |<!--(the metadata template)-->{{metadata2|basepagename={{{basepagename|}}} |pagename={{{pagename|}}} |subpagename={{{subpagename|}}} |fullpagename={{{fullpagename|}}}}}
                     |<!--All subpage Talk pages-->{{All Subpage Talk}}{{#ifeq:{{{subpagename|}}}|Draft
                     |<!--All subpage Talk pages-->{{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0
                   | <!--(Draft Talk Page) -->{{#ifeq:{{{status|}}}|0
                                         |{{Talk Checklist}}{{Draft Talk Page}}{{#if:{{{ToA editor| }}}
                                         |{{Talk Checklist}}{{Draft Talk Page}}{{#if:{{{ToA editor| }}}
                                                 |<!--(ToApprove information here if approval is being updated)-->{{TOAPPROVE stuff}}
                                                 |<!--(ToApprove information here if approval is being updated)-->{{To Approve Info}}
                                                 |<!--(Draft talk page info when approved but not reapproving)-->}}
                                                 |<!--(Draft talk page info when approved but not reapproving)-->}}
                                         |<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}}
                                         |<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}}
                   | <!--(All subpage Talk pages other than draft)-->}}
                   | <!--(All subpage Talk pages other than draft)-->{{All Subpage Talk}} }}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                 | <!--(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)-->
                                   |{{article subset}}{{Talk Checklist}}{{#if:{{{ToA editor| }}}
                                   |{{Article Talk Page}}{{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)-->{{To Approve Info}}
                                                 |}}}}
                                                 |}}}}
                       | }} }} }} }}</includeonly><noinclude>
                       | }} }} }} }}</includeonly><noinclude>

Revision as of 02:28, 12 March 2008

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).