Template:Subpages9: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day (add subpagetab style templates) |
||
Line 9: | Line 9: | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|Tables]]</font> |}}<nowiki> | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tables|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|Tables]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Gallery|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|Gallery]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Timelines|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|Timelines]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Tutorials|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials|Tutorials]] </font>|}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Debate guide|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|Debate Guide]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News guide| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News guide| {{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/News guide|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/News guide|News Guide]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Invited articles|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Invited articles|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Invited articles|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Invited articles|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Invited articles|Invited Articles]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Discography|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Discography|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Discography|Discography]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other1|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|Other1]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other2|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|Other2]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|Other3]]</font> |}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|{{!}}{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other4|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|Other4]]</font> |}} | ||
|style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"| | |style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"| | ||
|- | |- |
Revision as of 10:12, 17 July 2007
Placement
Use on the top of pages as an index mechanism for subpages.
Usage
See example on Anthropology.
Wikitext |
---|
{{Subpages9}} |
Appearance |
Anatomical |
---|
Parameters
None
Credits
- Chris Day, scripting/tab design/Concept
- Robert King, Concept/Original Layout
- Stephen Ewen, Testing/scripting
- Larry Sanger, CZ/Establishment of Subpages