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 150: | Line 150: | ||
| {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
| {{#ifeq:{{{subpagename|}}}|Draft | | {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) --> (Draft Talk page) | | <!--(Draft Talk page) --> (Draft Talk page) | ||
| <!-- | | <!--(All subpage Talk pages)--> (All subpage Talk pages)}} | ||
| {{#ifeq:{{{namespace|}}}|Talk | | {{#ifeq:{{{namespace|}}}|Talk | ||
| <!--(Article Talk page)--> (Article Talk page) | | <!--(Article Talk page)--> (Article Talk page) | ||
| {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!-- | |<!--(the metadata template)-->(the metadata template) | ||
| {{#ifeq:{{{namespace|}}}|Template | | {{#ifeq:{{{namespace|}}}|Template | ||
| <!-- | | <!--(template main page)--> (template main page) | ||
| <!-- | | <!--(template talk page)--> (template talk page) }} }} }} }} }} | ||
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | |}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | ||
| {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | ||
Line 178: | Line 178: | ||
|<!--(approval subpage)--> (approval subpage) | |<!--(approval subpage)--> (approval subpage) | ||
|<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }} | |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }} | ||
| {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | |||
| {{#ifeq:{{{subpagename|}}}|Draft | | {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) --> (Draft Talk page) | | <!--(Draft Talk page) --> (Draft Talk page) | ||
| <!-- | | <!--(All subpage Talk pages)--> (All subpage Talk pages)}} | ||
| {{#ifeq:{{{namespace|}}}|Talk | | {{#ifeq:{{{namespace|}}}|Talk | ||
| <!--(Article Talk page)--> (Article Talk page) | | <!--(Article Talk page)--> (Article Talk page) | ||
| {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!-- | |<!--(the metadata template)-->(the metadata template) | ||
| {{#ifeq:{{{namespace|}}}|Template | | {{#ifeq:{{{namespace|}}}|Template | ||
| <!-- | | <!--(template main page)--> (template main page) | ||
| <!-- | | <!--(template talk page)--> (template talk page) }} }} }} }} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== |
Revision as of 16:24, 5 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).