Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(Undo revision 100293944 by Chris Day (Talk))
imported>Chris Day
No edit summary
Line 115: Line 115:
                       | <!--(All subpage Talk pages other than draft)-->x0 }} }}
                       | <!--(All subpage Talk pages other than draft)-->x0 }} }}
               |<!--(Article Talk page)-->To Approve Inner}}|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} |basepagename={{{basepagename|}}} |basepagenamee={{{basepagenamee|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}} }} }}
               |<!--(Article Talk page)-->To Approve Inner}}|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} |basepagename={{{basepagename|}}} |basepagenamee={{{basepagenamee|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}} }} }}
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}</div>{{ {{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
         |<!--(Article)-->{{Article Specific|group={{{group|}}}|group2={{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status={{{status|}}}|subgroup={{{subgroup|}}}|subgroup2={{{subgroup2|}}}|subgroup3={{{subgroup3|}}} }}{{#ifeq:{{{status|}}}|0
         |<!--(Article)-->To Approve Info
                        |<!--Approved Article-->{{Approved Article}}
                        |<!--UnApproved version-->{{To Approve Info|status={{{status|}}} |basepagename={{{basepagename|}}}| namespace={{{namespace|}}} |subpagename={{{subpagename|}}} |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
             |{{ #ifeq: {{{type}}}|subsubpage
                         |<!--ALL subsubpages-->{{All Subsubpages|abc={{{abc|}}} }}{{ {{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}}
                         |Subsubpages
                          |<!--(signed article)-->Signed Article Subsubpage
          |<!--(All Subpage articles)-->To Approve Info}} }}
            |{{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}}
       |{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
                              |<!--(Catalog sub-subpage)-->Catalog Subsubpage
                              |{{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}}
                      |<!--(timeline sub-subpage)-->Timelines Subsubpage
                                    |<!--Sub-subpages other than the three above-->Other Subsubpage}} }} }} }}
                |<!--(All Subpage articles)-->{{#ifeq:{{{subpagename|}}}|Draft
            |<!--(Draft page) -->{{To Approve Info|status={{{status|}}} |namespace={{{namespace|}}} |subpagename={{{subpagename|}}} |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|}}} |subgroup={{{subgroup|}}} |subgroup2={{{subgroup2|}}} |subgroup3={{{subgroup3|}}} }}
                      |{{All Subpages}}{{ {{{subpagename|}}} footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}}{{#ifeq:{{{subpagename|}}}|Approval
                              |<!--approval subpage-->
                              |<!--All other subpage articles but not approval or draft-->{{All Subpage Content|abc={{{abc|}}} }} }} }} }} }}
       |{{ {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |{{#ifeq:{{{namespace|}}}|Template
               |{{#ifeq:{{{namespace|}}}|Template
                     |<!--(the metadata template)-->metadata2
                     |<!--(the metadata template)-->metadata2
Line 139: Line 127:
                   |<!--(Draft Talk Page) -->To Approve Info
                   |<!--(Draft Talk Page) -->To Approve Info
                   |All Subpage Talk}} }}
                   |All Subpage Talk}} }}
                |<!--(Article Talk page)-->To Approve Info}}|status={{{status|}}}|pagename={{{pagename|}}}|fullpagename={{{fullpagename|}}} |basepagename={{{basepagename|}}}| namespace={{{namespace|}}} |subpagename={{{subpagename|}}} |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|}}} |subgroup={{{subgroup|}}} |subgroup2={{{subgroup2|}}} |subgroup3={{{subgroup3|}}} |variant= {{{variant|}}} |cat_check= {{{cat_check|}}} |underlinked= {{{underlinked|}}} |cleanup= {{{cleanup|}}} |by= {{{by|}}} |A editor= {{{A editor|}}}|A editor2= {{{A editor2|}}}|A editor3= {{{A editor3|}}}  }} }}</includeonly><noinclude>
              |<!--(Article Talk page)-->To Approve Info}} }} |status={{{status|}}}|pagename={{{pagename|}}}|fullpagename={{{fullpagename|}}} |basepagename={{{basepagename|}}}| namespace={{{namespace|}}} |subpagename={{{subpagename|}}} |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|}}} |subgroup={{{subgroup|}}} |subgroup2={{{subgroup2|}}} |subgroup3={{{subgroup3|}}} |variant= {{{variant|}}} |cat_check= {{{cat_check|}}} |underlinked= {{{underlinked|}}} |cleanup= {{{cleanup|}}} |by= {{{by|}}} |A editor= {{{A editor|}}}|A editor2= {{{A editor2|}}}|A editor3= {{{A editor3|}}} }}</includeonly><noinclude>


==Usage==
==Usage==

Revision as of 01:34, 25 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.