Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day (tempary test to float the navigation window over the left side bar. Use position absolute to avoid the white space problem, hopefully.) |
||
Line 4: | Line 4: | ||
{{#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}}}} | ||
--><!--encompassing table, for padding around the table--> | --><!--encompassing table, for padding around the table--> | ||
{|align=right width=" | <div style="position: absolute; top: 190px; left: -154px;"> | ||
|align="top" align=" | {|align=right width="145px" cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff" | ||
{|width=" | |align="top" align="center"| | ||
{|width="145px" border="0" cellpadding="1" cellspacing="3" style="background:#B8DAE5" | |||
|align=center|<font size=1>'''Infoset'''</font> | |align=center|<font size=1>'''Infoset'''</font> | ||
{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }} | {{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }} | ||
Line 47: | Line 48: | ||
|<center><font color="#333333" size=1>[[{{BASEPAGENAME}}/Unused|Unused subpages]]</font></center> | |<center><font color="#333333" size=1>[[{{BASEPAGENAME}}/Unused|Unused subpages]]</font></center> | ||
|} | |} | ||
|}<noinclude> | |}</div><noinclude> | ||
[[Biology/Draft|Here's a test page]] -- see the upper right | [[Biology/Draft|Here's a test page]] -- see the upper right | ||
Revision as of 22:35, 19 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