Template:Subpages2: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 77: | Line 77: | ||
| <!--(Article)-->{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{approved2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}}}}|}}{{Checklist4|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} | | <!--(Article)-->{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{approved2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}}}}|}}{{Checklist4|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} | ||
| {{#ifeq:{{SUBPAGENAME}}|Draft | | {{#ifeq:{{SUBPAGENAME}}|Draft | ||
| <!--(Draft)-->{{Draft header2|status = {{{{BASEPAGENAME}}/Metadata|info=status}} }} {{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{Checklist5|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }}| }} }} | | <!--(Draft)-->{{Draft header2|status = {{{{BASEPAGENAME}}/Metadata|info=status}} }} {{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{Checklist5|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }}| }} | ||
| | |}} | ||
| {{ #ifexist: {{../../Metadata|info=pagename}} | |||
| {{#ifeq: {{../../Metadata|info=pagename}}/Signed Articles|{{BASEPAGENAME}} | | {{#ifeq: {{../../Metadata|info=pagename}}/Signed Articles|{{BASEPAGENAME}} | ||
|<!--(signed article)-->{{Signed Article Header||group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3={{../../Metadata|info=cat3}}|abc={{../../Metadata|info=abc}}|status= {{../../Metadata|info=status}} }} | |<!--(signed article)-->{{Signed Article Header||group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3={{../../Metadata|info=cat3}}|abc={{../../Metadata|info=abc}}|status= {{../../Metadata|info=status}} }} | ||
Line 86: | Line 87: | ||
|<!--(timeline sub-subpage)-->{{Timeline Header||group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3={{../../Metadata|info=cat3}}|abc={{../../Metadata|info=abc}}|status= {{../../Metadata|info=status}} }} | |<!--(timeline sub-subpage)-->{{Timeline Header||group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3={{../../Metadata|info=cat3}}|abc={{../../Metadata|info=abc}}|status= {{../../Metadata|info=status}} }} | ||
|}} }} }} | |}} }} }} | ||
| | | {{#ifeq:{{SUBPAGENAME}}|Unused | ||
| <!--Unused subpages--> {{Unused subpages}} | | <!--Unused subpages--> {{Unused subpages}} | ||
| <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} }} }} }} }} | | <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} }} }} }} }} | ||
| | | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | ||
| {{#ifeq:{{NAMESPACE}}|Talk | | {{#ifeq:{{NAMESPACE}}|Talk | ||
| {{#ifeq:{{SUBPAGENAME}}|Draft | | {{#ifeq:{{SUBPAGENAME}}|Draft |
Revision as of 12:26, 6 August 2007
| This is a central location for all information relating to the
| Template loop detected: Template:Metadata }} cluster. It is critical to keep this page updated since the {{subpages}} and related templates use this information for the placement of categories and header templates in the cluster.
General article properties
- pagename =
| Template loop detected: Template:Metadata }}
- variant =
| Template loop detected: Template:Metadata }}
Required for checklist
- abc =
| Template loop detected: Template:Metadata }}
- cat_check =
| Template loop detected: Template:Metadata }}
- status =
| Template loop detected: Template:Metadata }}
- underlinked =
| Template loop detected: Template:Metadata }}
- cleanup =
| Template loop detected: Template:Metadata }}
- by =
| Template loop detected: Template:Metadata }}
- cat1 =
| Template loop detected: Template:Metadata }}
- cat2 =
| Template loop detected: Template:Metadata }}
- cat3 =
| Template loop detected: Template:Metadata }}
Required for the {{ToApprove}} template
- article url =
| Template loop detected: Template:Metadata }}
- subpage url =
| Template loop detected: Template:Metadata }}
- cluster =
| Template loop detected: Template:Metadata }}
- now =
| Template loop detected: Template:Metadata }}
- ToA editor =
| Template loop detected: Template:Metadata }}
- ToA editor2 =
| Template loop detected: Template:Metadata }}
- ToA editor3 =
| Template loop detected: Template:Metadata }}
- ToA editor4 =
| Template loop detected: Template:Metadata }}
- date =
| Template loop detected: Template:Metadata }}
Required for the {{Approved}} template
- The status parameter in the checklist (see above) of approved versions must be set to 0 (zero).
- A editor =
| Template loop detected: Template:Metadata }}
- A editor2 =
| Template loop detected: Template:Metadata }}
- A editor3 =
| Template loop detected: Template:Metadata }} }}
Usage
Examples of this templates use can be found at the Test article cluster (not approved) and the Test article2 cluster (approved).