Template:Subpages2: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day (remove checklist five, the watchlist experiment) |
||
Line 75: | Line 75: | ||
-->{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | -->{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | ||
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | | {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | ||
| <!--(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 | | <!--(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 | |<!--(Draft)-->{{Draft header2|status = {{{{BASEPAGENAME}}/Metadata|info=status}} }} |}} | ||
|{{ #ifexist: {{../../Metadata|info=pagename}} | |{{ #ifexist: {{../../Metadata|info=pagename}} | ||
| | |{{#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}} }} | ||
| {{#ifeq: {{../../Metadata|info=pagename}}/Tables|{{BASEPAGENAME}} | | {{#ifeq: {{../../Metadata|info=pagename}}/Tables|{{BASEPAGENAME}} | ||
Line 87: | Line 87: | ||
|{{#ifeq:{{SUBPAGENAME}}|Unused | |{{#ifeq:{{SUBPAGENAME}}|Unused | ||
| <!--Unused subpages--> {{Unused subpages}} | | <!--Unused subpages--> {{Unused subpages}} | ||
| <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header2 | | <!--(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: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | ||
| {{#ifeq:{{NAMESPACE}}|Talk | | {{#ifeq:{{NAMESPACE}}|Talk | ||
| {{#ifeq:{{SUBPAGENAME}}|Draft | | {{#ifeq:{{SUBPAGENAME}}|Draft | ||
| <!--(Draft Talk page) always place the checklist here if the page exists-->{{Checklist2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status = {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked = {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by = {{{{BASEPAGENAME}}/Metadata|info=by | | <!--(Draft Talk page) always place the checklist here if the page exists-->{{Checklist2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status = {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked = {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by = {{{{BASEPAGENAME}}/Metadata|info=by}} }} }} | ||
| <!--not currently used--> (All subpage articles Talk) }} | | <!--not currently used--> (All subpage articles Talk) }} | ||
| {{#ifeq:{{NAMESPACE}}|User | | {{#ifeq:{{NAMESPACE}}|User | ||
Line 97: | Line 97: | ||
| <!--not currently used--> (User subpage talk) }} }} | | <!--not currently used--> (User subpage talk) }} }} | ||
| {{#ifeq:{{NAMESPACE}}|Talk | | {{#ifeq:{{NAMESPACE}}|Talk | ||
| <!--(Article Talk page) always place the checklist here if the page exists. Basically the same as the draft talk page.--> | | <!--(Article Talk page) always place the checklist here if the page exists. Basically the same as the draft talk page.--> {{Checklist2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status = {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked = {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by = {{{{BASEPAGENAME}}/Metadata|info=by}} }} }} | ||
| {{#ifeq:{{NAMESPACE}}|User | | {{#ifeq:{{NAMESPACE}}|User | ||
| <!--not currently used--> (User page) | | <!--not currently used--> (User page) |
Revision as of 10:45, 12 August 2007
| (User subpage talk)
| | This is a central location for all information relating to the
| (User subpage talk)
| | 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 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- variant =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
Required for checklist
- abc =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- cat_check =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- status =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- underlinked =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- cleanup =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- by =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- cat1 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- cat2 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- cat3 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
Required for the {{ToApprove}} template
- article url =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- subpage url =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- cluster =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- now =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- ToA editor =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- ToA editor2 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- ToA editor3 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- ToA editor4 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- date =
| (User subpage talk)
|
| 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 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- A editor2 =
| (User subpage talk)
|
| Template loop detected: Template:Metadata }} }} }}
- A editor3 =
| (User subpage talk)
|
| 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).