Template:Subpage style: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day (try specialised subpages with x0) |
||
Line 100: | Line 100: | ||
|{{ #ifeq: {{{type}}}|subsubpage | |{{ #ifeq: {{{type}}}|subsubpage | ||
|<!--ALL subsubpages-->{{ {{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | |<!--ALL subsubpages-->{{ {{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | ||
| | |Signed Article Header | ||
| | | {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | ||
| | |Catalog Header | ||
| {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | |||
|Timeline Header | |||
|x0}} }} }}|group={{{group|}}}|group2={{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status={{{status|}}} }} |<!--(All Subpage articles)-->{{ {{{subpagename|}}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }}{{#ifeq:{{{subpagename|}}}|Draft | |||
|<!--(Draft)--> | |<!--(Draft)--> | ||
|{{#ifeq:{{{subpagename|}}}|Approval | |{{#ifeq:{{{subpagename|}}}|Approval | ||
Line 123: | Line 125: | ||
|D<!--UnApproved version-->{{Not Approved Article}}{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}} }} | |D<!--UnApproved version-->{{Not Approved Article}}{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}} }} | ||
|E{{ #ifeq: {{{type}}}|subsubpage | |E{{ #ifeq: {{{type}}}|subsubpage | ||
|F<!--ALL subsubpages-->{{All Subsubpages}} | |F<!--ALL subsubpages-->{{All Subsubpages}}{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | ||
|G<!--(signed article)-->{{Signed Article}} | |||
|H{{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | |||
|I<!--(Catalog sub-subpage)-->{{Catalog Subsubpage}} | |||
|J{{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | |||
|K<!--(timeline sub-subpage)-->{{Timelines Subsubpage}} | |||
|L<!--Sub-subpages other than the three above-->{{Other Subsubpage}}}} }} }} | |||
|M<!--(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 | ||
|N<!--(Draft page) -->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}} }} | |N<!--(Draft page) -->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}} }} | ||
Line 130: | Line 138: | ||
|S<!--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}} }} }} }} }} | ||
|T{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | |T{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
| | |{{#ifeq:{{{namespace|}}}|Template |{{metadata2|basepagename={{{basepagename|}}} |pagename={{{pagename|}}} |subpagename={{{subpagename|}}} |fullpagename={{{fullpagename|}}}}} | {{ {{#ifeq:{{{subpagename|}}}|Draft |To Approve Info|All Subpage Talk}}|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}} }} }} | ||
|@<!--(Article Talk page)-->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}} }} }}</includeonly><noinclude> | |@<!--(Article Talk page)-->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}} }} }}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 14:06, 13 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.