Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>John Stephenson
(same again)
imported>John Stephenson
No edit summary
Line 17: Line 17:
***Adds the TALK tab and ensures it always links to the correct talk page from all the different cluster pages. Also indicates if on a talk page or not. ***
***Adds the TALK tab and ensures it always links to the correct talk page from all the different cluster pages. Also indicates if on a talk page or not. ***


-->{{#ifeq: {{{status|}}}|0
-->{{#ifeq:{{{namespace|}}}|Talk
                      |{{#ifeq:{{{namespace|}}}|Talk
                             |{{button on2|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 off2|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>}}

Revision as of 18:22, 23 September 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.