Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(split status bar into two parts)
Line 7: Line 7:
     |{{#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;"{{!}} 
           |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;"{{!}} 
           |rowspan=2 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:Statusbar{{{{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}}
            |rowspan=2 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:Statusbar{{{{BASEPAGENAME}}|info=status}}.png]]
          |{{#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;"{{!}} 
                |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}}
                  |rowspan=2 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:Statusbar{{../../Metadata|info=status}}.png]] }} }} }}<nowiki>
                |{{#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=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>


</nowiki>{{ #ifexist: {{../../Metadata|info=pagename}}
</nowiki>{{ #ifexist: {{../../Metadata|info=pagename}}

Revision as of 22:41, 25 September 2007


Citizendium Technical Help
How to edit an article | Searching | Start article with subpages
The Article Checklist | Subpage template
See also: Getting Started
How to Edit
Getting Started Organization Technical Help
Policies Content Policy
Welcome Page

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).