Template:Subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(move approved template)
imported>Chris Day
(try padding)
Line 8: Line 8:
</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:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4DFC4; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:StatusbarT0.png]]
           |width=10px style="padding: 2px 2px 2px 2px; background:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4DFC4; 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 valign=top align=left style="padding: 2px 2px 2px 2px; 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:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4DFC4; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:StatusbarT0.png]]
                 |width=10px style="padding: 2px 2px 2px 2px; background:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4DFC4; 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 valign=top align=left style="padding: 2px 2px 2px 2px; 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:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4DFC4; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"{{!}}[[Image:StatusbarT0.png]]
                       |width=10px style="padding: 2px 2px 2px 2px; background:#C4DFC4; border-left:2px solid #aaaaaa; border-bottom:2px solid #C4DFC4; 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 valign=top align=left style="padding: 2px 2px 2px 2px; 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 00:47, 26 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).