Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (Rewrite so all default buttons are together, Also add some clarification for the functionality of the template) |
imported>Chris Day (test) |
||
Line 1: | Line 1: | ||
<!--added back the auto header code for Links to provide an example for discussion but removed the problematic bits--> | <!--added back the auto header code for Links to provide an example for discussion but removed the problematic bits--> | ||
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|{{links header}}}} | {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|{{links header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{Gallery header|group={{{group}}}|group2={{{group2}}}|approved={{{approved}}}}}}} | ||
<!--commenting out problematic bits, pending discussion | <!--commenting out problematic bits, pending discussion | ||
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{{approved}}}|yes|{{approved|editor={{{editor}}}|group={{{group}}}}}|{{Construction}}}}}}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{Draft header2}}|}}{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|{{related header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|{{biblio header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|{{links header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{tables header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{Gallery header|group={{{group}}}|group2={{{group2}}}|approved={{{approved}}}}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|{{timelines header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|{{Tutorials header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|{{Debate guide header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|{{News guide header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Signed articles|{{Signed articles header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|{{Discography header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|{{Other1}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|{{Other2 header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{Other3 header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|{{Other4 header}}}} | {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{{approved}}}|yes|{{approved|editor={{{editor}}}|group={{{group}}}}}|{{Construction}}}}}}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{Draft header2}}|}}{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|{{related header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|{{biblio header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|{{links header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{tables header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{Gallery header|group={{{group}}}|group2={{{group2}}}|approved={{{approved}}}}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|{{timelines header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|{{Tutorials header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|{{Debate guide header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|{{News guide header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Signed articles|{{Signed articles header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|{{Discography header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|{{Other1}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|{{Other2 header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{Other3 header}}}}{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|{{Other4 header}}}} |
Revision as of 14:03, 20 July 2007
|
Here's a test page -- see the upper right
- For discussion about Subpages, and other versions of subpages templates with examples, also see http://forum.citizendium.org/index.php/topic,1059.0.html
Placement
Use on the top of pages as an index mechanism for subpages.
Usage
{{Subpages}} |
|
| |||||||||
Wikitext | Appearance | Anatomical |
---|
Parameters
None