Template:Subpage style: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 128: | Line 128: | ||
|{{click|image=Unused button.png|link={{{pagename|}}}/Unused|width=17px|height=17px}} | |{{click|image=Unused button.png|link={{{pagename|}}}/Unused|width=17px|height=17px}} | ||
|} | |} | ||
|}</div></includeonly><noinclude> | |}</div>{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | ||
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | |||
|<!--(Article)-->{{#ifeq:{{{status|}}}|0||{{#if:{{{ToA editor| }}}|<!-- | |||
***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|}}} }} }} }}{{#switch: {{{status|}}} | |||
| 0 = [[Category:Approved Articles|{{{abc| }}}]] [[Category:CZ Live|{{{abc| }}}]] | |||
{{#if: {{{group|}}}| | |||
[[Category:{{{group|}}} Approved|{{{abc| }}}]]}} | |||
{{#if: {{{group2|}}}| | |||
[[Category:{{{group2|}}} Approved|{{{abc| }}}]]}} | |||
{{#if: {{{group3|}}}| | |||
[[Category:{{{group3|}}} Approved|{{{abc| }}}]]}} | |||
| 1 = [[Category:CZ Live|{{{abc| }}}]] | |||
| 2 = [[Category:CZ Live|{{{abc| }}}]] | |||
| 3 = [[Category:CZ Live|{{{abc| }}}]] | |||
| 4 = | |||
| | |||
}} | |||
{{#if: {{{group|}}}|[[Category:{{{group|}}} Workgroup|{{{abc| }}}]]}} | |||
{{#if: {{{group2|}}}|[[Category:{{{group2|}}} Workgroup|{{{abc| }}}]]}} | |||
{{#if: {{{group3|}}}|[[Category:{{{group3|}}} Workgroup|{{{abc| }}}]]}} | |||
|{{#ifeq:{{SUBPAGENAME}}|Draft | |||
|<!--(Draft)--> {{#if:{{{ToA editor| }}}|<!-- | |||
***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|}}}}} }} | |||
|{{ #ifexist: {{../../Metadata|info=pagename}} | |||
|[[Category:Sub-subpages|{{{abc|}}}]] {{#ifeq: {{{pagename|}}}/Signed Articles|{{BASEPAGENAME}} | |||
|<!--(signed article)--> | |||
| {{#ifeq: {{{pagename|}}}/Catalogs|{{BASEPAGENAME}} | |||
|<!--(Catalog sub-subpage)--> | {{#ifeq: {{{pagename|}}}/Timelines|{{BASEPAGENAME}} | |||
|<!--(timeline sub-subpage)--> | |||
|}} }} }} | |||
|{{#ifeq:{{SUBPAGENAME}}|Unused | |||
| <!--Unused subpages-->{{Unused subpages}} | |||
| <!--(All subpage articles)--> {{#if:{{{ToA editor| }}}|<!-- | |||
***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:{{SUBPAGENAME}}|Approval|<!--(approval subpage)-->|[[Category:Subpages|{{{abc|}}}]]}} }} }} }} }} | |||
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | |||
| {{#ifeq:{{NAMESPACE}}|Talk | |||
| {{#ifeq:{{SUBPAGENAME}}|Draft | |||
| <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0|{{#if:{{{ToA editor| }}}|<!-- | |||
***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|}}} }} }} }} | |||
| <!--not currently used--> (All subpage articles Talk) }} | |||
| {{#ifeq:{{NAMESPACE}}|User | |||
| <!--not currently used--> (User subpage) | |||
| <!--not currently used--> (User subpage talk) }} }} | |||
| {{#ifeq:{{NAMESPACE}}|Talk | |||
| <!--(Article Talk page) -->{{#ifeq:{{{status|}}}|0| |{{#if:{{{ToA editor| }}}|<!-- | |||
***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:{{NAMESPACE}}|User | |||
| <!--not currently used--> (User page) | |||
| {{#ifeq:{{NAMESPACE}}|User talk | |||
|<!--not currently used--> (User talk page) | |||
| {{#ifeq:{{{pagename|}}}/Metadata|{{BASEPAGENAME}} | |||
|<!--(metadata page)-->{{Metadata}} | |||
| {{#ifeq:{{NAMESPACE}}|Template | |||
| {{Metadata}} | |||
| (template talk page) }} }} }} }} }} }} }} | |||
</includeonly><noinclude> | |||
Revision as of 00:28, 2 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).