Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(remove metadata template)
imported>Chris Day
(remove checklist66 since the subsubpages talk and metadata page do not work in latestest interation)
Line 176: Line 176:
                                               |<!--(All other subpage articles but not approval, unused or draft)-->}} }} }} }} }}
                                               |<!--(All other subpage articles but not approval, unused or draft)-->}} }} }} }} }}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |<!--(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) -->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }}
                   | <!--(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)-->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }}
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. Does not add the template to an approved version (in that case adds the template to the draft version) ***
 
-->{{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
Line 200: Line 196:
                                                |<!--(timeline sub-subpage)-->(timeline sub-subpage)
                                                |<!--(timeline sub-subpage)-->(timeline sub-subpage)
                                                             |(other sub-subpage) }} }} }} }}
                                                             |(other sub-subpage) }} }} }} }}
                  |{{#ifeq:{{{subpagename|}}}|Unused
                  |(All Subpage articles)  {{#ifeq:{{{subpagename|}}}|Draft
                        |<!--Unused subpages-->
                        | <!--(Draft)--> (Draft)
                                       |{{#if:{{{ToA editor| }}}|<!--
                                       |{{#ifeq:{{{subpagename|}}}|Unused
 
                     | <!--Unused subpages--> (Unused subpages)
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. It adds the ToApprove template to all subpages except for the unused subpages page***
 
-->{{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:{{{subpagename|}}}|Draft
                     |<!--(Draft)-->
                     | {{#ifeq:{{{subpagename|}}}|Approval
                     | {{#ifeq:{{{subpagename|}}}|Approval
                                               |<!--(approval subpage)-->        
                                               |<!--(approval subpage)--> (approval subpage)         
                                               |<!--(All other subpage articles but not approval, unused or draft)-->}} }} }} }} }}
                                               |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |<!--(All subpage Talk pages)-->{{#ifeq:{{{subpagename|}}}|Draft
               |<!--(All subpage Talk pages)-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0|{{#if:{{{ToA editor| }}}|<!--
                   | <!--(Draft Talk page) --> (Draft Talk page)
 
                   | <!--(All subpage Talk pages other than draft)--> (All subpage Talk pages other than draft)}}
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. AND the article is already approved***
 
-->{{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|}}} }} }}}}
                   | <!--(All subpage Talk pages other than draft)-->}}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0| |{{#if:{{{ToA editor| }}}|<!--
                   | <!--(Article Talk page)--> (Article Talk page)
 
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. And when this is the first time the article is being approved. ***
 
-->{{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:{{{pagename|}}}/Metadata|{{{basepagename|}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
              |<!--(the metadata template)-->
              |<!--(the metadata template)-->(the metadata template)
                               | }} }} }} }}</includeonly>
                               | }} }} }} }}</includeonly>
<noinclude>
<noinclude>

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