Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>John Stephenson
(test)
imported>John Stephenson
(Undo revision 100822518 by John Stephenson (talk))
Line 37: Line 37:


-->{{#ifeq: {{{status|}}}|0|{{ #ifeq: {{{name|}}} |{{{pagename|}}}/Citable Version| {{button on2|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} | {{button off2|button off color={{{button off color|}}}}} }}{{!}}<font size=2>[[{{{pagename|}}}/Citable Version|Citable Version]]</font> }}<!--
-->{{#ifeq: {{{status|}}}|0|{{ #ifeq: {{{name|}}} |{{{pagename|}}}/Citable Version| {{button on2|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} | {{button off2|button off color={{{button off color|}}}}} }}{{!}}<font size=2>[[{{{pagename|}}}/Citable Version|Citable Version]]</font> }}<!--
***Adds the CITABLE VERSION tab2 but only if the article is approved. ***
-->{{#ifeq: {{{status|}}}|0|{{ #ifeq: {{{name|}}} |{{{pagename|}}}/Citable Version2| {{button on2|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}} | {{button off2|button off color={{{button off color|}}}}} }}{{!}}<font size=2>[[{{{pagename|}}}/Citable Version2|Citable Version2]]</font> }}<!--


***Adds the DEFAULT subpage tabs. ***
***Adds the DEFAULT subpage tabs. ***

Revision as of 16:27, 12 August 2013

Full documentation for this template can be found at Subpages/doc.

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.