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 161: | Line 161: | ||
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | |}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | ||
| {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | ||
| <!--(Article)-->{{#ifeq:{{{status|}}}|0|<!-- | |<!--(Article)-->{{#ifeq:{{{status|}}}|0 | ||
|<!--Approved Article--> | |||
|<!--UnApproved version-->''This is a '''draft article''', under development. These '''unapproved''' articles are subject to [[CZ:Disclaimer|'''a disclaimer]]'''''.}} | |||
--> | |||
| {{ #ifeq: {{{type}}}|subsubpage | | {{ #ifeq: {{{type}}}|subsubpage | ||
| | |<!--ALL subsubpages-->{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | ||
|<!--(signed article)--> | |<!--(signed article)--> | ||
| {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | | {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | ||
|<!--(Catalog sub-subpage)--> | |<!--(Catalog sub-subpage)--> | {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | ||
|<!--(timeline sub-subpage)--> | |||
|<!--Sub-subpages other than the three above-->}} }} }} | |||
|<!--(timeline sub-subpage)--> | |||
| | |||
|<!--(All Subpage articles)-->{{ {{{subpagename|}}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft | |<!--(All Subpage articles)-->{{ {{{subpagename|}}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft)--> | | <!--(Draft)--> | ||
|{{#ifeq:{{{subpagename|}}}|Unused | |{{#ifeq:{{{subpagename|}}}|Unused | ||
| <!--Unused | | <!--Unused subpage--> | ||
| {{#ifeq:{{{subpagename|}}}|Approval | | {{#ifeq:{{{subpagename|}}}|Approval | ||
|<!-- | |<!--approval subpage--> | ||
|<!-- | |<!--All other subpage articles but not approval, unused or draft-->}} }} }} }} }} | ||
| {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
|<!-- | |<!--All subpage Talk pages-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) -->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }} | | <!--(Draft Talk page) -->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }} | ||
| <!--(All subpage Talk pages other than draft)--> | | <!--(All subpage Talk pages other than draft)--> }} | ||
| {{#ifeq:{{{namespace|}}}|Talk | | {{#ifeq:{{{namespace|}}}|Talk | ||
| <!--(Article Talk page)-->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }} | | <!--(Article Talk page)-->{{Checklist22|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cat_check = {{{cat_check|}}}|status = {{{status|}}}|underlinked = {{{underlinked|}}}|cleanup = {{{cleanup|}}}|by = {{{by|}}} }} | ||
| {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!--(the metadata template)--> | |<!--(the metadata template)--> | ||
| }} }} }} }} | | }} }} }} }} | ||
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | |}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | ||
| {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | ||
| <!--(Article)-->{{#ifeq:{{{status|}}}|0| | |<!--(Article)-->{{#ifeq:{{{status|}}}|0 | ||
|<!--Approved Article--> | |||
|<!--UnApproved version-->''This is a '''draft article''', under development. These '''unapproved''' articles are subject to [[CZ:Disclaimer|'''a disclaimer]]'''''.}} | |||
-->''' | |||
| {{ #ifeq: {{{type}}}|subsubpage | | {{ #ifeq: {{{type}}}|subsubpage | ||
|<!--ALL subsubpages-->{{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | |||
|<!--(signed article)--> | |||
|<!--(signed article)--> | |||
| {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | | {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | ||
|<!--(Catalog sub-subpage)--> | |<!--(Catalog sub-subpage)--> | {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | ||
|<!--(timeline sub-subpage)--> | |<!--(timeline sub-subpage)--> | ||
| | |<!--Sub-subpages other than the three above-->}} }} }} | ||
|{{#ifeq:{{{subpagename|}}}| | |<!--(All Subpage articles)-->{{#ifeq:{{{subpagename|}}}|Draft | ||
|<!-- | | <!--(Draft)--> | ||
| | |{{#ifeq:{{{subpagename|}}}|Unused | ||
| <!--Unused subpage--> | |||
|<!-- | |||
| {{#ifeq:{{{subpagename|}}}|Approval | | {{#ifeq:{{{subpagename|}}}|Approval | ||
|<!-- | |<!--approval subpage--> | ||
|<!-- | |<!--All other subpage articles but not approval, unused or draft-->}} }} }} }} }} | ||
| {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | |||
|<!-- | |<!--All subpage Talk pages-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) --> | | <!--(Draft Talk page) --> | ||
| <!--(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)--> | ||
| {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!--(the metadata template)--> | |<!--(the metadata template)-->{{metadata}} | ||
| }} }} }} }}</includeonly> | | }} }} }} }}</includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 00:51, 11 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).