Template:Subpages2: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (start with latest subpages template) |
imported>Chris Day No edit summary |
||
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:{{ | {{ #ifeq: {{#expr: {{#len:{{{pagename}}}}} > 20 }} | 1 | '''[[{{NAMESPACE}}:{{{pagename}}}|Main Article]]''' | '''[[{{NAMESPACE}}:{{{pagename}}}|{{{pagename}}}]]''' }} | ||
{{#ifexist:{{NAMESPACE}}:{{ | {{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Draft|<br><font size=1>''[[{{{pagename}}}/Draft|Draft Page]]''</font>}} | ||
|- | |- | ||
{{ #ifeq: {{PAGENAME}} |{{ | {{ #ifeq: {{PAGENAME}} |{{{pagename}}}/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}}:{{ | {{!}} 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}}:{{{pagename}}}/Related|Related Articles]]</font> | ||
|- | |- | ||
{{ #ifeq: {{PAGENAME}} |{{ | {{ #ifeq: {{PAGENAME}} |{{{pagename}}}/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}}:{{ | {{!}} 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}}:{{{pagename}}}/Bibliography|Bibliography]]</font> | ||
|- | |- | ||
{{ #ifeq: {{PAGENAME}} |{{ | {{ #ifeq: {{PAGENAME}} |{{{pagename}}}/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}}:{{ | {{!}} 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}}:{{{pagename}}}/Links|External Links]]</font><nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Tables|{{subpage_list_row|Tables|Tables}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Gallery|{{subpage_list_row|Gallery|Gallery}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Timelines|{{subpage_list_row|Timelines|Timelines}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Tutorials|{{subpage_list_row|Tutorials|Tutorials}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Debate guide|{{subpage_list_row|Debate guide|Debate Guide}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/News guide|{{subpage_list_row|News guide|News Guide}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Signed articles|{{subpage_list_row|Signed articles|Signed Articles}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Other1|{{subpage_list_row|Other1|Other1}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Other2|{{subpage_list_row|Other2|Other2}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Other3|{{subpage_list_row|Other3|Other3}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/Other4|{{subpage_list_row|Other3|Other4}}}}<nowiki> | ||
</nowiki>{{#ifexist:{{NAMESPACE}}:{{ | </nowiki>{{#ifexist:{{NAMESPACE}}:{{{pagename}}}/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 10:33, 18 July 2007
|
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. |
| |
Wikitext | Appearance | Anatomical |
---|
Parameters
None