Template:Subpages6: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(Template designed for signed article pages)
imported>Chris Day
No edit summary
Line 1: Line 1:
{|align=right width="110px" cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
{{ #ifeq: {{Subpage list|button=1C}}|Default|{{subpage_list_row3|{{Subpage list|button=1A}}|{{Subpage list|button=1B}} }} }}<nowiki>
|align="top" align="right"|
{|width="100px" border="0" cellpadding="1" cellspacing="3" style="background:#B8DAE5"
|align=center|<font size=1>'''Infoset'''</font>
{{ #ifeq: {{#expr: {{#len:{{{pagename}}}}} > 20 }} | 1 | '''[[{{../../Info|info=pagename}}|Main Article]]''' | '''[[{{../../Info|info=pagename}}]]''' }}
{{#ifexist:{{../../Info|info=pagename}}/Draft|<br><font size=1>''[[{{../../Info|info=pagename}}/Draft|Draft Page]]''</font>}}<!--
 
***The following code identifies the subpages in the Template:Subpage list that are tagged as Default. It adds those buttons in the numerical sequence regardless of whether the subpage exists or not.
 
The subpage list row template is used to create the table cell for each specific button. Also, if the current page is the subpage, it uses the "button on" style template, otherwise the "button off" style template is used.***
 
-->{{ #ifeq: {{Subpage list|button=1C}}|Default|{{subpage_list_row3|{{Subpage list|button=1A}}|{{Subpage list|button=1B}} }} }}<nowiki>


</nowiki>{{ #ifeq: {{Subpage list|button=2C}}|Default|{{subpage_list_row3|{{Subpage list|button=2A}}|{{Subpage list|button=2B}} }} }}<nowiki>
</nowiki>{{ #ifeq: {{Subpage list|button=2C}}|Default|{{subpage_list_row3|{{Subpage list|button=2A}}|{{Subpage list|button=2B}} }} }}<nowiki>
Line 77: Line 66:


</nowiki>{{ #ifeq: {{Subpage list|button=16C}}|Optional|{{#ifexist:{{../../Info|info=pagename}}/{{Subpage list|button=16A}}|{{subpage_list_row3|{{Subpage list|button=16A}}|{{Subpage list|button=16B}} }} }} }}
</nowiki>{{ #ifeq: {{Subpage list|button=16C}}|Optional|{{#ifexist:{{../../Info|info=pagename}}/{{Subpage list|button=16A}}|{{subpage_list_row3|{{Subpage list|button=16A}}|{{Subpage list|button=16B}} }} }} }}
|-
|<center><font size=1>''[[CZ:Subpage Pilot|About Infosets]]''</font></center>
|}
|}

Revision as of 11:54, 24 July 2007