Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(try adding def button only when no def is present)
imported>Chris Day
No edit summary
Line 17: Line 17:
***Adds the Definition tab***
***Adds the Definition tab***


{{#ifexist:{{{basepagename}}}/Definition
-->{{#ifexist:{{{basepagename}}}/Definition
|<!--{{{{ #ifeq: {{{name|}}} |{{{basepagename|}}}/Definition|button on2|x0}}|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}}{{{{ #ifeq: {{{name|}}}|{{{basepagename|}}}/Definition|x0|button off2}}|button off color={{{button off color|}}}}}{{!}}<font size=2>[[{{{pagename|}}}/Definition|Def]]</font>-->
|<!--{{{{ #ifeq: {{{name|}}} |{{{basepagename|}}}/Definition|button on2|x0}}|approved color={{{approved color|}}}|not approved color={{{not approved color|}}}|status= {{{status|}}}}}{{{{ #ifeq: {{{name|}}}|{{{basepagename|}}}/Definition|x0|button off2}}|button off color={{{button off color|}}}}}{{!}}<font size=2>[[{{{pagename|}}}/Definition|Def]]</font>-->
|{{#ifexist:Template:Def {{{basepagename}}}
|{{#ifexist:Template:Def {{{basepagename}}}

Revision as of 23:08, 8 May 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.