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 17: Line 17:
***Adds the MAIN ARTICLE tab***
***Adds the MAIN ARTICLE tab***


-->{{ #ifeq: {{{name|}}} |{{{basepagename|}}}
-->{{{{ #ifeq: {{{name|}}} |{{{basepagename|}}}|button on2|x0}}|status= {{{status|}}}}}{{{{ #ifeq: {{{name|}}} |{{{basepagename|}}}|x0|button off2}}|}}{{!}}<font size=1>[[{{{pagename|}}}|Main Article]]</font><!--
                            | {{button on2|status= {{{status|}}}}}  
                            | {{button off2}}}}{{!}}<font size=1>[[{{{pagename|}}}|Main Article]]</font><!--


***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. ***

Revision as of 15:04, 24 October 2007

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 (unapproved) and the Biology cluster (approved).