Template:Subpage style: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day (added |abc={{{abc|}}} field to "all subsubpages" and "all subpage content") |
||
Line 124: | Line 124: | ||
|<!--UnApproved version-->{{To Approve Info|status={{{status|}}} |basepagename={{{basepagename|}}}| namespace={{{namespace|}}} |subpagename={{{subpagename|}}} |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|}}} }} }} | |<!--UnApproved version-->{{To Approve Info|status={{{status|}}} |basepagename={{{basepagename|}}}| namespace={{{namespace|}}} |subpagename={{{subpagename|}}} |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 | ||
|<!--ALL subsubpages-->{{All Subsubpages}}{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | |<!--ALL subsubpages-->{{All Subsubpages|abc={{{abc|}}} }}{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | ||
|<!--(signed article)-->{{Signed Article Subsubpage}} | |<!--(signed article)-->{{Signed Article Subsubpage}} | ||
|{{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | |{{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | ||
Line 135: | Line 135: | ||
|{{All Subpages}}{{ {{{subpagename|}}} footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}}{{#ifeq:{{{subpagename|}}}|Approval | |{{All Subpages}}{{ {{{subpagename|}}} footer|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}}{{#ifeq:{{{subpagename|}}}|Approval | ||
|<!--approval subpage--> | |<!--approval subpage--> | ||
|<!--All other subpage articles but not approval or draft-->{{All Subpage Content}} }} }} }} }} | |<!--All other subpage articles but not approval or draft-->{{All Subpage Content|abc={{{abc|}}} }} }} }} }} }} | ||
|{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | |{{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
|{{#ifeq:{{{namespace|}}}|Template | |{{#ifeq:{{{namespace|}}}|Template |
Revision as of 13:01, 19 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.