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 118: | Line 118: | ||
| }} }} }} | | }} }} }} | ||
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | |}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | ||
| {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | |A{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | ||
|<!--(Article)-->{{Article Specific}}{{#ifeq:{{{status|}}}|0 | |B<!--(Article)-->{{Article Specific}}{{#ifeq:{{{status|}}}|0 | ||
|<!--Approved Article-->{{Approved Article}} | |C<!--Approved Article-->{{Approved Article}} | ||
|<!--UnApproved version-->{{Not Approved Article}}}} | |D<!--UnApproved version-->{{Not Approved Article}}}} | ||
| {{ #ifeq: {{{type}}}|subsubpage | |E{{ #ifeq: {{{type}}}|subsubpage | ||
|<!--ALL subsubpages-->{{All Subsubpages}}{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | |F<!--ALL subsubpages-->{{All Subsubpages}}{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | ||
|<!--(signed article)-->{{Signed Article}} | |G<!--(signed article)-->{{Signed Article}} | ||
| {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | |H{{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | ||
|<!--(Catalog sub-subpage)-->{{Catalog Subsubpage}} | |I<!--(Catalog sub-subpage)-->{{Catalog Subsubpage}} | ||
| {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | |J{{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | ||
|<!--(timeline sub-subpage)-->{{Timelines Subsubpage}} | |K<!--(timeline sub-subpage)-->{{Timelines Subsubpage}} | ||
|<!--Sub-subpages other than the three above-->{{Other Subsubpage}}}} }} }} | |L<!--Sub-subpages other than the three above-->{{Other Subsubpage}}}} }} }} | ||
|<!--(All Subpage articles)-->{{All Subpages}}{{ {{{subpagename|}}} Footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft | |M<!--(All Subpage articles)-->{{All Subpages}}{{ {{{subpagename|}}} Footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft page) -->{{#ifeq:{{{status|}}}|0 | |N<!--(Draft page) -->{{#ifeq:{{{status|}}}|0 | ||
|{{#if:{{{ToA editor| }}} | |O{{#if:{{{ToA editor| }}} | ||
|<!--(ToApprove information here if approval is being updated)-->{{To Approve Info}} | |<!--(ToApprove information here if approval is being updated)-->{{To Approve Info}} | ||
|<!--(Draft talk page info when approved but not reapproving)-->}} | |<!--(Draft talk page info when approved but not reapproving)-->}} | ||
|<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}} | |P<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}} | ||
| {{#ifeq:{{{subpagename|}}}|Approval | |Q{{#ifeq:{{{subpagename|}}}|Approval | ||
|<!--approval subpage--> | |R<!--approval subpage--> | ||
|<!--All other subpage articles but not approval or draft-->{{All Subpage Content}}}} }} }} }} | |S<!--All other subpage articles but not approval or draft-->{{All Subpage Content}}}} }} }} }} | ||
| {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | |T{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
| {{#ifeq:{{{namespace|}}}|Template | |U{{#ifeq:{{{namespace|}}}|Template | ||
| | |V<!--(the metadata template)-->{{metadata2|basepagename={{{basepagename|}}} |pagename={{{pagename|}}} |subpagename={{{subpagename|}}} |fullpagename={{{fullpagename|}}}}} | ||
| | |W<!--All subpage Talk pages-->{{#ifeq:{{{subpagename|}}}|Draft | ||
| | |X<!--(Draft Talk Page) -->{{To Approve Info|status={{{status|}}}|ToA editor={{{ToA editor| }}}}} | ||
| | |Y{{#ifeq:{{{namespace|}}}:{{{pagename|}}}|Talk:{{{basepagename|}}} | ||
| | |Z<!--(Article Talk page)-->{{To Approve Info|status={{{status|}}}|ToA editor={{{ToA editor| }}}}} | ||
| | |&<!--(All subpage Talk pages other than draft)-->{{All Subpage Talk}} }} }} }} }} }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Revision as of 10:35, 12 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.