Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(one checklist 66 on article)
imported>Chris Day
(correct basepagename to pagename so metadata main article button give correct link)
Line 14: Line 14:
</nowiki>{{ #ifeq: {{{name|}}} |{{{basepagename|}}}
</nowiki>{{ #ifeq: {{{name|}}} |{{{basepagename|}}}
                             | {{button on2|status= {{{status|}}}}}  
                             | {{button on2|status= {{{status|}}}}}  
                             | {{button off2}}}}{{!}}<font size=1>[[{{{basepagename|}}}|Main Article]]</font><nowiki>
                             | {{button off2}}}}{{!}}<font size=1>[[{{{pagename|}}}|Main Article]]</font><nowiki>


</nowiki>{{#ifeq: {{{status|}}}|0
</nowiki>{{#ifeq: {{{status|}}}|0
Line 177: Line 177:
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |<!--(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) -->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }}
                   | <!--(Draft Talk page) --> (Draft Talk page)
                   | <!--(All subpage Talk pages other than draft)--> (All subpage Talk pages other than draft)}}
                   | <!--(All subpage Talk pages other than draft)--> (All subpage Talk pages other than draft)}}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                   | <!--(Article Talk page)-->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }}
                   | <!--(Article Talk page)--> (Article Talk page)
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
              |<!--(the metadata template)-->(the metadata template)
              |<!--(the metadata template)-->(the metadata template)
Line 186: Line 186:
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
         | <!--(Article)-->{{#ifeq:{{{status|}}}|0||{{#if:{{{ToA editor| }}}|<!--
         | <!--(Article)--> (Article)
 
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
 
-->{{Checklist66|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
                               | {{#ifeq:{{{namespace|}}}|Talk
                               | {{#ifeq:{{{namespace|}}}|Talk

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