Template:Subpage style: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (one checklist 66 on article) |
imported>Chris Day (correct basepagename to pagename so metadata main article button give correct link) |
||
Line 14: | Line 14: | ||
</nowiki>{{ #ifeq: {{{name|}}} |{{{basepagename|}}} | </nowiki>{{ #ifeq: {{{name|}}} |{{{basepagename|}}} | ||
| {{button on2|status= {{{status|}}}}} | | {{button on2|status= {{{status|}}}}} | ||
| {{button off2}}}}{{!}}<font size=1>[[{{{ | | {{button off2}}}}{{!}}<font size=1>[[{{{pagename|}}}|Main Article]]</font><nowiki> | ||
</nowiki>{{#ifeq: {{{status|}}}|0 | </nowiki>{{#ifeq: {{{status|}}}|0 | ||
Line 177: | Line 177: | ||
| {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
|<!--(All subpage Talk pages)-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft | |<!--(All subpage Talk pages)-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) --> | | <!--(Draft Talk page) --> (Draft Talk page) | ||
| <!--(All subpage Talk pages other than draft)--> (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)--> | | <!--(Article Talk page)--> (Article Talk page) | ||
| {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!--(the metadata template)-->(the metadata template) | |<!--(the metadata template)-->(the metadata template) | ||
Line 186: | Line 186: | ||
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | |}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | ||
| {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | ||
| <!--(Article)--> | | <!--(Article)--> (Article) | ||
| {{ #ifeq: {{{type}}}|subsubpage | | {{ #ifeq: {{{type}}}|subsubpage | ||
| {{#ifeq:{{{namespace|}}}|Talk | | {{#ifeq:{{{namespace|}}}|Talk |
Revision as of 01:58, 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).