Template:Subpages4: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 6: | Line 6: | ||
|align="top" align="right"| | |align="top" align="right"| | ||
{|width=110px border="0" cellpadding="1" cellspacing="3" style=" border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff; {{ #ifexist: {{../../Info|info=pagename}} | {|width=110px border="0" cellpadding="1" cellspacing="3" style=" border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff; {{ #ifexist: {{../../Info|info=pagename}} | ||
| {{#ifeq:{{../../Info|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}" | |||
{{!}}align=center {{!}}<font size=1>'''Cluster'''</font> | {{!}}align=center {{!}}<font size=1>'''Cluster'''</font> | ||
{{ #ifeq: {{#expr: {{#len:{{../../Info|info=pagename}}}} > 20 }} | 1 | {{ #ifeq: {{#expr: {{#len:{{../../Info|info=pagename}}}} > 20 }} | 1 | ||
| '''[[{{../../Info|info=pagename}}|Main Article]]''' | | '''[[{{../../Info|info=pagename}}|Main Article]]''' | ||
| '''[[{{../../Info|info=pagename}}]]''' }} | | '''[[{{../../Info|info=pagename}}]]''' }} | ||
{{#ifexist:{{../../Info|info=pagename}}/Draft | {{#ifexist:{{../../Info|info=pagename}}/Draft | ||
|<br><font size=1>''[[{{../../Info|info=pagename}}/Draft|Draft Page]]''</font> | |<br><font size=1>''[[{{../../Info|info=pagename}}/Draft|Draft Page]]''</font> | ||
| }} | | }} | ||
|{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}} | |||
| {{#ifeq:{{{{BASEPAGENAME}}|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}" | | {{#ifeq:{{{{BASEPAGENAME}}|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}" | ||
{{!}}align=center {{!}}<font size=1>'''Cluster'''</font> | {{!}}align=center {{!}}<font size=1>'''Cluster'''</font> | ||
{{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}|info=pagename}}}} > 20 }} | 1 | {{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}|info=pagename}}}} > 20 }} | 1 | ||
| '''[[{{{{BASEPAGENAME}}|info=pagename}}|Main Article]]''' | |||
| '''[[{{{{BASEPAGENAME}}|info=pagename}}]]''' }} | |||
{{#ifexist:{{{{BASEPAGENAME}}|info=pagename}}/Draft | {{#ifexist:{{{{BASEPAGENAME}}|info=pagename}}/Draft | ||
|<br><font size=1>''[[{{{{BASEPAGENAME}}|info=pagename}}/Draft|Draft Page]]''</font> | |<br><font size=1>''[[{{{{BASEPAGENAME}}|info=pagename}}/Draft|Draft Page]]''</font> | ||
| }} | | }} | ||
| {{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}" | | {{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}" | ||
{{!}}align=center {{!}}<font size=1>'''Cluster'''</font> | {{!}}align=center {{!}}<font size=1>'''Cluster'''</font> | ||
{{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}/Info|info=pagename}}}} > 20 }} | 1 | {{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}/Info|info=pagename}}}} > 20 }} | 1 | ||
| '''[[{{{{BASEPAGENAME}}/Info|info=pagename}}|Main Article]]''' | |||
| '''[[{{{{BASEPAGENAME}}/Info|info=pagename}}]]''' }} | |||
{{#ifexist:{{{{BASEPAGENAME}}/Info|info=pagename}}/Draft | {{#ifexist:{{{{BASEPAGENAME}}/Info|info=pagename}}/Draft | ||
|<br><font size=1>''[[{{{{BASEPAGENAME}}/Info|info=pagename}}/Draft|Draft Page]]''</font> | |<br><font size=1>''[[{{{{BASEPAGENAME}}/Info|info=pagename}}/Draft|Draft Page]]''</font> | ||
| }} }} }}<!-- | | }} }} }}<!-- |
Revision as of 12:19, 4 August 2007
(template main page)
Usage
Examples of this templates use can be found at the Anthropology cluster (not approved) and the Life cluster (approved).