Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(capitalise)
imported>Stephen Ewen
(change to -102px to lower to just below the gray line)
Line 1: Line 1:
<!--encompassing table, for padding around the table-->
<!--encompassing table, for padding around the table-->
<div style="position: relative; top: -110px; right: -5px;">
<div style="position: relative; top: -102px; right: -5px;">
{|align=right width="110px" cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
{|align=right width="110px" cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
|align="top" align="right"|
|align="top" align="right"|
Line 6: Line 6:
|align=center|<font size=1>'''Infoset'''</font>
|align=center|<font size=1>'''Infoset'''</font>
{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main Article]]''' | '''[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]''' }}
{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main Article]]''' | '''[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]''' }}
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|<br><font size=1>''[[{{BASEPAGENAME}}/Draft|Draft page]]''</font>}}
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|<br><font size=1>''[[{{BASEPAGENAME}}/Draft|Draft Page]]''</font>}}
|-
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Related|  
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Related|Related&nbsp;articles]]</font>
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Related|Related&nbsp;Articles]]</font>
|-
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|  
Line 15: Line 15:
|-
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|  
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Links|External&nbsp;links]]</font><nowiki>
{{!}} align=center bgcolor="#cccccc" style="border-bottom:2px solid #eeeeee; border-top:2px solid #999999; border-left:2px solid #ffffff; border-right:2px solid #888888"| {{!}} align=center bgcolor="#dddddd" style="border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff"}} |<font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Links|External&nbsp;Links]]</font><nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|{{subpage_list_row|Tables|Tables}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|{{subpage_list_row|Tables|Tables}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki>

Revision as of 14:09, 11 July 2007

Infoset

Subpages

Related Articles
Bibliography
External Links
About Infosets

Here's a test page -- see the upper right

Placement

Use on the top of pages as an index mechanism for subpages.

Usage





{{Subpages}}
Wikitext Appearance Anatomical

Parameters

None

Credits