Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 23: Line 23:
-->{{#ifeq: {{{status|}}}|0
-->{{#ifeq: {{{status|}}}|0
                       |{{#ifeq:{{{namespace|}}}|Talk
                       |{{#ifeq:{{{namespace|}}}|Talk
                             |{{button on25|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} {{!}}<font size=2>[[Talk:{{{pagename|}}}/Draft|Talk]]</font>
                             |{{button on2|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} {{!}}<font size=2>[[Talk:{{{pagename|}}}/Draft|Talk]]</font>
                             |{{button off25|button off color={{{button off color|}}}}}{{!}}<font size=2>[[Talk:{{{pagename|}}}/Draft|Talk]]</font>}}
                             |{{button off2|button off color={{{button off color|}}}}}{{!}}<font size=2>[[Talk:{{{pagename|}}}/Draft|Talk]]</font>}}
                       |{{#ifeq:{{{namespace|}}}|Talk
                       |{{#ifeq:{{{namespace|}}}|Talk
                             |{{button on25|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} {{!}}<font size=2>[[Talk:{{{pagename|}}}|Talk]]</font>
                             |{{button on2|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} {{!}}<font size=2>[[Talk:{{{pagename|}}}|Talk]]</font>
                             |{{button off25|button off color={{{button off color|}}}}}{{!}}<font size=2>[[Talk:{{{pagename|}}}|Talk]]</font>}} }}<!--
                             |{{button off2|button off color={{{button off color|}}}}}{{!}}<font size=2>[[Talk:{{{pagename|}}}|Talk]]</font>}} }}<!--


***Adds the DRAFT tab but only if the article is approved. ***
***Adds the DRAFT tab but only if the article is approved. ***
Line 77: Line 77:
</nowiki>{{Optional3|{{Subpage list|button=20A}} |approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|button off color={{{button off color|}}}|status = {{{status|}}}|pagename={{{pagename|}}}|name={{{name|}}}}}<nowiki>
</nowiki>{{Optional3|{{Subpage list|button=20A}} |approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|button off color={{{button off color|}}}|status = {{{status|}}}|pagename={{{pagename|}}}|name={{{name|}}}}}<nowiki>


</nowiki>{{Button_off25|button off color={{{button off color|}}}}}|{{click|image=Subpages.png|link=CZ:Subpages |width=17px|height=17px}}
</nowiki>{{Button_off2|button off color={{{button off color|}}}}}|{{click|image=Subpages.png|link=CZ:Subpages |width=17px|height=17px}}
|style="background-color: #{{{background|}}}; border-bottom:2px solid #eeeeee"|&nbsp;
|style="background-color: #{{{background|}}}; border-bottom:2px solid #eeeeee"|&nbsp;
|-  
|-  

Revision as of 23:14, 26 March 2008


Usage

See CZ:Using the Subpages template for information on how to use this template. See CZ:Subpages for an introduction to the concept and our use of subpages.

Examples of this templates use can be found at the Test article cluster.