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 110: Line 110:
|colspan=20 {{#ifeq: {{{status|}}}|0
|colspan=20 {{#ifeq: {{{status|}}}|0
         |align=left style="padding: 2px 2px 2px 2px; background:#C4DFC4; {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}}; border-bottom:2px solid #bbbbbb"{{!}}<div align="right">{{Subpage_print2|pagename= {{{pagename|}}}|status= {{{status|}}}}}</div>
         |align=left style="padding: 2px 2px 2px 2px; background:#C4DFC4; {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}}; border-bottom:2px solid #bbbbbb"{{!}}<div align="right">{{Subpage_print2|pagename= {{{pagename|}}}|status= {{{status|}}}}}</div>
         |align=left style="padding: 2px 2px 2px 2px; background:#C4D2DF; {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}}; border-bottom:2px solid #bbbbbb"{{!}}<div align="right">{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
         |align=left style="padding: 2px 2px 2px 2px; background:#C4D2DF; {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}}; border-bottom:2px solid #bbbbbb"{{!}}<div align="right">
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{{#ifeq:{{SUBPAGENAME}}|Unused
{{#ifeq:{{SUBPAGENAME}}|Unused
     |
     |
Line 128: Line 129:
|}</div>}}
|}</div>}}
|}</div></includeonly><noinclude>
|}</div></includeonly><noinclude>
<div align="right">
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{{#ifeq:{{SUBPAGENAME}}|Unused
    |
    |{{#ifeq:{{NAMESPACE}}|Talk
          |
          |{{#ifeq:{{{status|}}}|0
              |{{#ifeq:{{{pagename|}}}|{{PAGENAME}}
                    | {{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{PAGENAMEE}}/Draft&diff=current&oldid={{REVISIONID}} | width=17px | height=17px}}
                    |{{#ifeq:{{{pagename|}}}/Draft|{{PAGENAME}}
                        |{{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{BASEPAGENAMEE}}&diff=current&oldid={{REVISIONID}} |width=17px|height=17px}}
                        | }} }}
              |}} }} }}
{{#ifeq:{{NAMESPACE}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
|{{click|image=Metadata.png|link=Template:{{{pagename|}}}/Metadata|width=17px|height=17px}}
|{{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}}
|{{click|image=Unused button.png|link={{{pagename|}}}/Unused|width=17px|height=17px}}
|}</div>


===Usage===
===Usage===

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