Template:Subpages2: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(increase spacing not padding)
imported>Chris Day
(start with latest subpages template)
Line 1: Line 1:
<!--encompassing table, for padding around the table-->
<!--encompassing table, for padding around the table-->
{|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"
|valign=top align=right |
|align="top" align="right"|
{|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: {{PAGENAME}} |{{BASEPAGENAME}}|  
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|<br><font size=1>''[[{{BASEPAGENAME}}/Draft|Draft Page]]''</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}}|Main Article]]</font>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|{{subpage_list_row|Draft|Draft page}}}}
|-
|-
{{ #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 14:
|-
|-
{{ #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>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tables|{{subpage_list_row|Tables|Tables}}}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|{{subpage_list_row|Timelines|Timelines}}}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials|{{subpage_list_row|Tutorials|Tutorials}}}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Debate guide|{{subpage_list_row|Debate guide|Debate guide}}}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/News guide|{{subpage_list_row|News guide|News guide}}}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Invited articles|{{subpage_list_row|Invited articles|Invited articles}}}}
{{!}} 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}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Timelines|{{subpage_list_row|Timelines|Timelines}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Tutorials|{{subpage_list_row|Tutorials|Tutorials}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{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:{{NAMESPACE}}:{{BASEPAGENAME}}/Signed articles|{{subpage_list_row|Signed articles|Signed Articles}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other1|{{subpage_list_row|Other1|Other1}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other2|{{subpage_list_row|Other2|Other2}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|{{subpage_list_row|Other3|Other3}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Other4|{{subpage_list_row|Other3|Other4}}}}<nowiki>
</nowiki>{{#ifexist:{{NAMESPACE}}:{{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>
|}
|}
|}
|}<noinclude>
<noinclude>
[[Biology/Draft|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'''''
<BR><BR>
 
== Placement ==
== Placement ==
Use on the top of pages as an index mechanism for subpages. (version 2) Currently paced in [[Life/Gallery]].
Use on the top of pages as an index mechanism for subpages.
 
== Usage ==
== Usage ==
<br><br><br><br>
{|border="0" colspan="3" cellpadding="1" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff; class="wikitable";"
{|border="0" colspan="3" cellpadding="1" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff; class="wikitable";"
!Wikitext!!Appearance!!Anatomical
|<pre>{{Subpages}}</pre>
|-
|{{Subpages}}
|<pre>{{Subpages2}}</pre>
|{{Subpages2}}
|
|
{|class="wikitable"
{|class="wikitable"
|{{Subpages2}}
|{{Subpages}}
|}
|}
|-
!Wikitext!!Appearance!!Anatomical
|}
|}


Line 41: Line 58:


* [[User:Chris Day|Chris Day]]
* [[User:Chris Day|Chris Day]]
* [[User:Stephen Ewen|Stephen Ewen]]
* [[User:Larry Sanger|Larry Sanger]]
* [[User:Larry Sanger|Larry Sanger]]
</noinclude>
</noinclude>

Revision as of 10:25, 18 July 2007

Infoset

Subpages2

Related Articles
Bibliography
External Links
About Infosets

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}}
The {{subpages}} template is designed to be used within article clusters and their related pages.
It will not function on Template pages.

The {{subpages}} template is designed to be used within article clusters and their related pages.
It will not function on Template pages.

Wikitext Appearance Anatomical

Parameters

None

Credits