Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
No edit summary
m (Undo revision 987720 by Pat Palmer (talk))
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 28: Line 28:
|{{#ifexist:Template:Def {{{basepagename}}}
|{{#ifexist:Template:Def {{{basepagename}}}
|
|
|{{{{ #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>[https://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title={{{basepagenamee|}}}/Definition <font color=#810541>Definition</font>]</font>&nbsp;[[CZ:Definitions|<span style="font-size:0.9em;"><sup>[?]</sup></span>]]}} }} }}<!--
|{{{{ #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>[https://en.citizendium.org/wiki/index.php?action=edit&title={{{basepagenamee|}}}/Definition <font color=#810541>Definition</font>]</font>&nbsp;[[CZ:Definitions|<span style="font-size:0.9em;"><sup>[?]</sup></span>]]}} }} }}<!--


***Adds the DEFAULT subpage tabs. ***
***Adds the DEFAULT subpage tabs. ***
Line 127: Line 127:
                             |{{!}}{{click|image=Metadata.png|link=Template:{{{pagename|}}}/Metadata|width=17px|height=17px}}
                             |{{!}}{{click|image=Metadata.png|link=Template:{{{pagename|}}}/Metadata|width=17px|height=17px}}
                             |}} }} }}
                             |}} }} }}
{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=https://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=https://en.citizendium.org/wiki/index.php?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       |{{ {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       |{{ {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}

Latest revision as of 07:40, 15 October 2024

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.