Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(capitalize)
imported>Chris Day
(capitalise)
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 09:00, 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