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 10: Line 10:
           |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]]}}<nowiki>
           |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]]}}<nowiki>


</nowiki>{{ #ifeq: {{{current pagename}}} |{{{basepagename}}}
</nowiki>{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}
                             | {{button on2|status= {{{status|}}}}}  
                             | {{button on2|status= {{{status|}}}}}  
                             | {{button off2}}}}{{!}}<font size=1>[[{{{basepagename}}}|Main Article]]</font><nowiki>
                             | {{button off2}}}}{{!}}<font size=1>[[{{BASEPAGENAME}}|Main Article]]</font><nowiki>


</nowiki>{{#ifeq: {{{status|}}}|0
</nowiki>{{#ifeq: {{{status|}}}|0
Line 22: Line 22:
                             |{{button off25}}{{!}}<font size=1>[[Talk:{{{pagename|}}}|Talk]]</font>}} }}<nowiki>
                             |{{button off25}}{{!}}<font size=1>[[Talk:{{{pagename|}}}|Talk]]</font>}} }}<nowiki>


</nowiki>{{ #ifexist: {{{basepagename}}}/Draft| {{ #ifeq: {{{current pagename}}} |{{{basepagename}}}/Draft| {{button on2|status= {{{status|}}}}} | {{button off2}} }}{{!}}<font size=1>[[{{{basepagename}}}/Draft|Draft]]</font> }} }} }} }}<nowiki>
</nowiki>{{ #ifexist: {{BASEPAGENAME}}/Draft| {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Draft| {{button on2|status= {{{status|}}}}} | {{button off2}} }}{{!}}<font size=1>[[{{BASEPAGENAME}}/Draft|Draft]]</font> }} }} }} }}<nowiki>


</nowiki>{{ #ifeq: {{Subpage list 2|button=1B}}|Default| {{Default2|{{Subpage list 2|button=1A}}}}
</nowiki>{{ #ifeq: {{Subpage list 2|button=1B}}|Default| {{Default2|{{Subpage list 2|button=1A}}}}

Revision as of 00:01, 2 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).