Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(remove unused code)
Line 4: Line 4:
{|width="100px" border="0" cellpadding="1" cellspacing="3" style="background:#B8DAE5"
{|width="100px" 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 | '''[[{{NAMESPACE}}:{{BASEPAGENAME}}|Main Article]]''' | '''[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]''' }}
{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{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>[[{{BASEPAGENAME}}/Related|Related&nbsp;Articles]]</font>
|-
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|  
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|  
{{!}} 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}}/Bibliography|Bibliography]]</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>[[{{BASEPAGENAME}}/Bibliography|Bibliography]]</font>
|-
|-
{{ #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>[[{{BASEPAGENAME}}/Links|External&nbsp;Links]]</font><nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|{{subpage_list_row|Tables|Tables}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Tables|{{subpage_list_row|Tables|Tables}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|{{subpage_list_row|Timelines|Timelines}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Timelines|{{subpage_list_row|Timelines|Timelines}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials|{{subpage_list_row|Tutorials|Tutorials}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Tutorials|{{subpage_list_row|Tutorials|Tutorials}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|{{subpage_list_row|Debate guide|Debate Guide}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Debate guide|{{subpage_list_row|Debate guide|Debate Guide}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News guide|{{subpage_list_row|News guide|News Guide}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/News guide|{{subpage_list_row|News guide|News Guide}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Signed articles|{{subpage_list_row|Signed articles|Signed Articles}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Signed articles|{{subpage_list_row|Signed articles|Signed Articles}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|{{subpage_list_row|Other1|Other1}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Other1|{{subpage_list_row|Other1|Other1}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|{{subpage_list_row|Other2|Other2}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Other2|{{subpage_list_row|Other2|Other2}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|{{subpage_list_row|Other3|Other3}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Other3|{{subpage_list_row|Other3|Other3}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|{{subpage_list_row|Other3|Other4}}}}<nowiki>
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Other4|{{subpage_list_row|Other3|Other4}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Discography|{{subpage_list_row|Discography|Discography}}}}
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Discography|{{subpage_list_row|Discography|Discography}}}}
|-
|-
|<center><font size=1>''[[CZ:Subpage Pilot|About Infosets]]''</font></center>
|<center><font size=1>''[[CZ:Subpage Pilot|About Infosets]]''</font></center>

Revision as of 12:54, 18 July 2007

Infoset

Subpages

Related Articles
Bibliography
External Links
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

Related Articles
Bibliography
External Links
About Infosets
Unused subpages
Infoset

Subpages

Related Articles
Bibliography
External Links
About Infosets
Unused subpages
Wikitext Appearance Anatomical

Parameters

None

Credits