Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(split status bar into two parts)
imported>Chris Day
No edit summary
Line 6: Line 6:
</nowiki>{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
</nowiki>{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
     |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
     |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
           |width=10px cellpadding="0" style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}&nbsp;
           |width=10px cellpadding="0" style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:StatusbarT0.png]]
           |width=2px cellpadding="0" valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4D2DF; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[image:StatusbarT{{{{BASEPAGENAME}}/Metadata|info=status}}.png]]}}
           |width=2px cellpadding="0" valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4D2DF; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[image:StatusbarT{{{{BASEPAGENAME}}/Metadata|info=status}}.png]]}}
     |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
     |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
           |{{#ifeq:{{{{BASEPAGENAME}}|info=status}}|0
           |{{#ifeq:{{{{BASEPAGENAME}}|info=status}}|0
                 |width=10px cellpadding="0" style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4D2DF; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}&nbsp;
                 |width=10px cellpadding="0" style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4D2DF; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:StatusbarT0.png]]
                 |width=2px cellpadding="0" valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[image:StatusbarT{{{{BASEPAGENAME}}|info=status}}.png]]}}
                 |width=2px cellpadding="0" valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[image:StatusbarT{{{{BASEPAGENAME}}|info=status}}.png]]}}
             |{{#ifexist: {{../../Metadata|info=pagename}}
             |{{#ifexist: {{../../Metadata|info=pagename}}
                 |{{#ifeq:{{../../Metadata|info=status}}|0
                 |{{#ifeq:{{../../Metadata|info=status}}|0
                       |width=10px cellpadding="0" style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4D2DF; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}&nbsp;
                       |width=10px cellpadding="0" style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4D2DF; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:StatusbarT0.png]]
                       |width=2px cellpadding="0" valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[image:StatusbarT{{../../Metadata|info=status}}.png]] }} }} }} }}<nowiki>
                       |width=2px cellpadding="0" valign=top align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[image:StatusbarT{{../../Metadata|info=status}}.png]] }} }} }} }}<nowiki>



Revision as of 23:33, 25 September 2007


Citizendium Technical Help
How to edit an article | Searching | Start article with subpages
The Article Checklist | Subpage template

|width=10% align=center style="background:#F5F5F5"|  |}

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