Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
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.)
imported>Chris Day
(UNDO sucessful attempt to float the subpages tempalte over the left side bar. Used 'position absolute' to avoid the white space problem.)
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-->
<div style="position: absolute; top: 190px; left: -154px;">
{|align=right width="110px" cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
{|align=right width="145px" cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
|align="top" align="right"|
|align="top" align="center"|
{|width="100px" border="0" cellpadding="1" cellspacing="3" style="background:#B8DAE5"
{|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 48: Line 47:
|<center><font color="#333333" size=1>[[{{BASEPAGENAME}}/Unused|Unused subpages]]</font></center>
|<center><font color="#333333" size=1>[[{{BASEPAGENAME}}/Unused|Unused subpages]]</font></center>
|}
|}
|}</div><noinclude>
|}<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:50, 19 July 2007


Infoset

Subpages

About Infosets
Unused subpages

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}}
Infoset

Subpages

About Infosets
Unused subpages
Infoset

Subpages

About Infosets
Unused subpages
Wikitext Appearance Anatomical

Parameters

None

Credits