Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(try a cut down version)
imported>Chris Day
(revert back to version that works)
Line 92: Line 92:
                             |}} }} }}
                             |}} }} }}
{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
|}{{ {{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
         |<!--(Article)-->To Approve Inner
         |<!--(Article)-->{{Article Specific In}}{{#ifeq:{{{status|}}}|0
                        |<!--Approved Article-->{{Approved Article In|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}}|A editor= {{{A editor|}}}|A editor2= {{{A editor2|}}}|A editor3= {{{A editor3|}}}| pagename={{{pagename|}}} }}
                        |<!--UnApproved version-->{{Not Approved Article In}} }}
             |{{ #ifeq: {{{type}}}|subsubpage
             |{{ #ifeq: {{{type}}}|subsubpage
                        |Subsubpages IN
                  |<!--ALL subsubpages-->{{ {{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}}
          |<!--(All Subpage articles)-->To Approve Inner}} }}
                                              |<!--(signed article)-->Signed Article Header
       |{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
                              | {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}}
               |{{#ifeq:{{{namespace|}}}|Template
                                      |<!--(Catalog sub-subpage)-->Catalog Header                                        
                                                      | {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}}
                                              |<!--(timeline sub-subpage)-->Timeline Header
                                                            |<!--Sub-subpages other than the three above-->Other subsubpage Header}} }} }}|group={{{group|}}}|group2={{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status={{{status|}}} }}
                  |<!--(All Subpage articles)-->{{ {{#ifeq:{{{subpagename|}}}|Draft
                      |<!--(Draft)-->To Approve Inner
                        |{{{subpagename|}}} header}}|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| }}} }} }} }}
       | {{ {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               | {{#ifeq:{{{namespace|}}}|Template
                     |<!--(the metadata template)-->Metadata header
                     |<!--(the metadata template)-->Metadata header
                     |<!--All subpage Talk pages-->{{#ifeq:{{{subpagename|}}}|Draft
                     |<!--All subpage Talk pages-->{{#ifeq:{{{subpagename|}}}|Draft
                  |<!--(Draft Talk Page) -->To Approve Inner
                            | <!--(Draft Talk page) -->To Approve Inner
                  |x0}} }}
                      | <!--(All subpage Talk pages other than draft)-->x0 }} }}
               |<!--(Article Talk page)-->To Approve Inner}} }} |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|}}} }}
               |<!--(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|}}}

Revision as of 14:44, 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.