Template:Default: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}} <!--determines if on a signed article. This is important so that the appropriate code is used when the subpages template is placed on a signed article page. -->
{{#ifexist: {{../../Metadata|info=pagename}}
    |<!--All buttons are off if on a signed article sub-sub-page--><br>{{@}}<br>{{Button off}} {{!}} <font size=1>[[{{../../Info|info=pagename}}/{{{1}}}|{{{1}}}]]</font>
    |{{Button off}} {{!}} <font size=1>[[{{../../Metadata|info=pagename}}/{{{1}}}|{{{1}}}]] [[CZ:{{{1}}}|&nbsp;#]]</font>
    | {{ #ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/{{{1}}} <!--Determine if button should be on or off -->
    |{{#ifexist: {{{{BASEPAGENAME}}|info=pagename}}  
          | <br>{{@}}<br>{{Button on}}  
        |{{Button off}} {{!}} <font size=1>[[{{{{BASEPAGENAME}}|info=pagename}}/{{{1}}}|{{{1}}}]] [[CZ:{{{1}}}|&nbsp;#]]</font>    
          | <br>{{@}}<br>{{Button off}}}} {{!}} <font size=1>[[{{BASEPAGENAME}}/{{{1}}}|{{{1}}}]]</font> }}
        | {{ #ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/{{{1}}}
                |{{Button on}}
                |{{Button off}}}} {{!}} <font size=1>[[{{BASEPAGENAME}}/{{{1}}}|{{{1}}}]] [[CZ:{{{1}}}|&nbsp;#]]</font> }} }}

Latest revision as of 09:47, 6 August 2007


|-
| 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" | [[Default/{{{1}}}|{{{1}}}]] [[CZ:{{{1}}}| #]]