Template:Subpage style: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 5: | Line 5: | ||
|<!-- | |<!-- | ||
*** | ***Adds the status bar on the article and all subpages.*** | ||
-->{{#ifeq:{{{status|}}}|0 | -->{{#ifeq:{{{status|}}}|0 | ||
|rowspan=2 width=2px valign=top align=left style="background:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:Statusbar0.gif]] | |rowspan=2 width=2px valign=top align=left style="background:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:Statusbar0.gif]] | ||
|{{#ifexist: image:Statusbar{{{status|}}}.png | |{{#ifexist: image:Statusbar{{{status|}}}.png | ||
|rowspan=2 width=2px valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:1px solid #dddddd;"{{!}}[[image:Statusbar{{{status|}}}.png]] | |{{#ifeq: {{{status|}}}|currently no status | ||
|rowspan=2 align=center width=2px style="background:#DFA7A7; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:1px solid #dddddd;"{{!}}Please [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update the status field'''] to a value between '''0-4''' [[Category:Articles_with_Ambiguous_Status]] }} }}< | | [[Category:Articles_with_Ambiguous_Status]] | ||
|rowspan=2 width=2px valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:1px solid #dddddd;"{{!}}[[image:Statusbar{{{status|}}}.png]]}} | |||
|rowspan=2 align=center width=2px style="background:#DFA7A7; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:1px solid #dddddd;"{{!}}Please [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update the status field'''] to a value between '''0-4''' [[Category:Articles_with_Ambiguous_Status]] }} }}<!-- | |||
***Adds the main article tab*** | |||
-->{{ #ifeq: {{{name|}}} |{{{basepagename|}}} | |||
| {{button on2|status= {{{status|}}}}} | | {{button on2|status= {{{status|}}}}} | ||
| {{button off2}}}}{{!}}<font size=1>[[{{{pagename|}}}|Main Article]]</font><nowiki> | | {{button off2}}}}{{!}}<font size=1>[[{{{pagename|}}}|Main Article]]</font><nowiki> |
Revision as of 22:40, 13 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).