Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
imported>Larry Sanger No edit summary |
imported>Chris Day (make into a subpages9 equivalent) |
||
Line 1: | Line 1: | ||
< | <includeonly><div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;"> | ||
< | {|class=noprint width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"<nowiki> | ||
</nowiki>{{ #ifexist: {{../../Metadata|info=pagename}} | |||
|{{button off2}}{{!}}<font size=1>[[{{../../Metadata|info=pagename}}|Main Article]]</font><nowiki> | |||
</nowiki>{{#ifeq: {{../../Metadata|info=status}}|0 | |||
| | |{{button off25}}{{!}}<font size=1>[[Talk:{{../../Metadata|info=pagename}}/Draft|Talk]]</font> | ||
{ | |{{button off25}}{{!}}<font size=1>[[Talk:{{../../Metadata|info=pagename}}|Talk]]</font>}}<nowiki> | ||
| | |||
< | |||
</nowiki>{{ #ifexist: {{../../Metadata|info=pagename}}/Draft|{{button off2}}{{!}}<font size=1>[[{{../../Metadata|info=pagename}}/Draft|Draft]]</font>}} | |||
|{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}} | |||
| {{button off2}}{{!}}<font size=1>[[{{{{BASEPAGENAME}}|info=pagename}}|Main Article]]</font><nowiki> | |||
</nowiki>{{#ifeq: {{{{BASEPAGENAME}}|info=status}}|0 | |||
|{{button off25}}{{!}}<font size=1>[[Talk:{{{{BASEPAGENAME}}|info=pagename}}/Draft|Talk]]</font> | |||
|{{button off25}}{{!}}<font size=1>[[Talk:{{{{BASEPAGENAME}}|info=pagename}}|Talk]]</font>}}<nowiki> | |||
</nowiki>{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}/Draft|{{button off2}}{{!}}<font size=1>[[{{{{BASEPAGENAME}}|info=pagename}}/Draft|Draft]]</font>}} | |||
| {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}| | |||
|{{button off25}}{{!}}<font size=1>[[Template:{{BASEPAGENAME}}/Metadata|Exist?]]</font> | |||
| {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}} | |||
| {{button on2|status= {{{{BASEPAGENAME}}/Metadata|info=status}}}} | |||
| {{button off2}} }}{{!}}<font size=1>[[{{BASEPAGENAME}}|Main Article]]</font><nowiki> | |||
</nowiki>{{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0 | |||
|{{#ifeq:{{NAMESPACE}}|Talk | |||
|{{button on25|status= {{{{BASEPAGENAME}}/Metadata|info=status}}}} {{!}}<font size=1>[[Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Draft|Talk]]</font> | |||
|{{button off25}}{{!}}<font size=1>[[Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Draft|Talk]]</font>}} | |||
|{{#ifeq:{{NAMESPACE}}|Talk | |||
|{{button on25|status= {{{{BASEPAGENAME}}/Metadata|info=status}}}} {{!}}<font size=1>[[Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|Talk]]</font> | |||
|{{button off25}}{{!}}<font size=1>[[Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|Talk]]</font>}} }}<nowiki> | |||
</nowiki>{{ #ifexist: {{BASEPAGENAME}}/Draft| {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Draft| {{button on2|status= {{{{BASEPAGENAME}}/Metadata|info=status}}}} | {{button off2}} }}{{!}}<font size=1>[[{{BASEPAGENAME}}/Draft|Draft]]</font> }} }} }} }}<nowiki> | |||
</nowiki>{{Default button 3}}<nowiki> | |||
</nowiki>{{ | </nowiki>{{Optional button 3}}<nowiki> | ||
</nowiki>{{ #ifeq: {{ | </nowiki>{{Button_off25}}|{{click|image=Subpages.png|link=CZ:Subpage Pilot |width=17px|height=17px}} | ||
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"| | |||
|- | |||
|{{ #ifexist: {{../../Metadata|info=pagename}} | |||
|{{Cell_style|pagename= {{../../Metadata|info=pagename}}|status= {{../../Metadata|info=status}} }} | |||
|{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}} | |||
| {{Cell_style|pagename= {{{{BASEPAGENAME}}|info=pagename}}|status= {{{{BASEPAGENAME}}|info=status}}}} | |||
| {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}| | |||
| unexpected page for this template | |||
| {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}} | |||
| {{Cell_style|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} | |||
| {{Cell_style|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} }} }} }} | |||
}}{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |||
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | |||
|<!--(Article)--> | |||
|{{#ifeq:{{SUBPAGENAME}}|Draft | |||
|<!--(Draft)-->{{Draft header}} | |||
|{{ #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}} }} | |||
| {{#ifeq: {{../../Metadata|info=pagename}}/Catalogs|{{BASEPAGENAME}} | |||
|<!--(Catalog sub-subpage)-->{{Catalog 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}}/Timelines|{{BASEPAGENAME}} | |||
|<!--(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--> | |||
| <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header|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:{{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}} }} | |||
| <!--not currently used--> (All subpage articles Talk) }} | |||
| {{#ifeq:{{NAMESPACE}}|User | |||
| <!--not currently used--> (User subpage) | |||
| <!--not currently used--> (User subpage talk) }} }} | |||
| {{#ifeq:{{NAMESPACE}}|Talk | |||
| <!--(Article 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 | |||
| <!--not currently used--> (User page) | |||
| {{#ifeq:{{NAMESPACE}}|User talk | |||
|<!--not currently used--> (User talk page) | |||
| {{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}} | |||
|<!--(metadata page)--> | |||
| {{#ifeq:{{NAMESPACE}}|Template | |||
| | |||
| (template talk page) }} }} }} }} }} }} | |||
|}</div>{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |||
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | |||
|<!--(Article)-->{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{approved3|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}}}}|{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}} }} }}{{Checklist4|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:{{SUBPAGENAME}}|Draft | |||
|<!--(Draft)-->{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}}}} | |||
|{{ #ifexist: {{../../Metadata|info=pagename}} | |||
|[[Category:Sub-subpages|{{../../Metadata|info=abc}}]] {{#ifeq: {{../../Metadata|info=pagename}}/Signed Articles|{{BASEPAGENAME}} | |||
|<!--(signed article)--> | |||
| {{#ifeq: {{../../Metadata|info=pagename}}/Catalogs|{{BASEPAGENAME}} | |||
|<!--(Catalog sub-subpage)--> | {{#ifeq: {{../../Metadata|info=pagename}}/Timelines|{{BASEPAGENAME}} | |||
|<!--(timeline sub-subpage)--> | |||
|}} }} }} | |||
|{{#ifeq:{{SUBPAGENAME}}|Unused | |||
| <!--Unused subpages-->{{Unused subpages}} | |||
| <!--(All subpage articles)-->{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}} }} {{#ifeq:{{SUBPAGENAME}}|Approval|<!--(approval subpage)-->|[[Category:Subpages|{{{{BASEPAGENAME}}/Metadata|info=abc}}]]}} }} }} }} }} | |||
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | |||
| {{#ifeq:{{NAMESPACE}}|Talk | |||
| {{#ifeq:{{SUBPAGENAME}}|Draft | |||
| <!--(Draft Talk page) -->{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}} }} }} | |||
| <!--not currently used--> (All subpage articles Talk) }} | |||
| {{#ifeq:{{NAMESPACE}}|User | |||
| <!--not currently used--> (User subpage) | |||
| <!--not currently used--> (User subpage talk) }} }} | |||
| {{#ifeq:{{NAMESPACE}}|Talk | |||
| <!--(Article Talk page) -->{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0| |{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}} }} }} | |||
| {{#ifeq:{{NAMESPACE}}|User | |||
| <!--not currently used--> (User page) | |||
| {{#ifeq:{{NAMESPACE}}|User talk | |||
|<!--not currently used--> (User talk page) | |||
| {{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}} | |||
|<!--(metadata page)-->{{Metadata}} | |||
| {{#ifeq:{{NAMESPACE}}|Template | |||
| {{Metadata}} | |||
| (template talk page) }} }} }} }} }} }} }}</includeonly><noinclude> | |||
{{Technical Help}} | |||
===Usage=== | |||
See [[CZ:Using the Subpages template]] for information on how to use this template. | |||
Examples of this template's use can be found at the [[Chiropractic]] cluster (approved) and the [[New York City]] cluster (not approved). | |||
</noinclude> | </noinclude> |
Revision as of 17:19, 13 September 2007
Citizendium Technical Help | ||
---|---|---|
How to edit an article | Searching | Start article with subpages The Article Checklist | Subpage template |
|width=10% align=center style="background:#F5F5F5"| |}
Usage
See CZ:Using the Subpages template for information on how to use this template.
Examples of this template's use can be found at the Chiropractic cluster (approved) and the New York City cluster (not approved).