Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
(Adding Discography as an ifexist)
imported>Stephen Ewen
(Make everything ifexist)
Line 8: Line 8:
{{#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|  
{{ #ifexist: {{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|  
{{ #ifexist: {{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>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Bibliography|Bibliography]]</font>
|-
|-
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Links|  
{{ #ifexist: {{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>

Revision as of 12:21, 14 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