Template:Core article: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(New page: <includeonly> <div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;"> {|class=noprint width="100%" border="0" cellpadding="1" cellspacing="0" style...)
 
imported>Chris Day
No edit summary
Line 7: Line 7:
***Adds the CORE ARTICLE home page tab***
***Adds the CORE ARTICLE home page tab***


-->{{ #ifeq: {{{name|}}} |{{{basepagename|}}}
-->{{ #ifeq: {{FULLPAGENAME}} |CZ:{{BASEPAGENAME}}
                             | {{button on2|status= {{{status|}}}}}  
                             | {{button on2}}  
                             | {{button off2}}}}{{!}}<font size=1>[[CZ:{{{pagename|}}}|Core Home]]</font><!--
                             | {{button off2}}}}{{!}}<font size=1>[[CZ:{{BASEPAGENAME}}|Core Home]]</font><!--


***Adds the TALK tab and ensures it always links to the correct talk page. Also indicates if on a talk page or not. ***
***Adds the TALK tab and ensures it always links to the correct talk page. Also indicates if on a talk page or not. ***


-->{{#ifeq:{{{namespace|}}}|Talk
-->{{#ifeq:{{NAMESPACE}}}|CZ Talk
                             |{{button on25|status= {{{status|}}}}} {{!}}<font size=1>[[CZ Talk:{{{pagename|}}}|Talk]]</font>
                             |{{button on25}} {{!}}<font size=1>[[CZ Talk:{{BASEPAGENAME}}|Talk]]</font>
                             |{{button off25}}{{!}}<font size=1>[[CZ Talk:{{{pagename|}}}|Talk]]</font>}}<!--
                             |{{button off25}}{{!}}<font size=1>[[CZ Talk:{{BASEPAGENAME}}|Talk]]</font>}}<!--


***Adds the core article page tabs. ***
***Adds the core article page tabs. ***


-->{{Default3|{{Core page list|button=1A}} |status = {{{status|}}}|pagename={{{pagename|}}}|name={{{name|}}}}}<nowiki>
-->{{Default2|{{Core page list|button=A}}}}<nowiki>


</nowiki>{{Default3|{{Core page list|button=2A}}  |status = {{{status|}}}|pagename={{{pagename|}}}|name={{{name|}}}}}<nowiki>
</nowiki>{{Default2|{{Core page list|button=B}}}}<nowiki>


</nowiki>{{Default3|{{Core page list|button=3A}} |status = {{{status|}}}|pagename={{{pagename|}}}|name={{{name|}}}}}<nowiki>
</nowiki>{{Default2|{{Core page list|button=C}}}}<nowiki>
 
</nowiki>{{Default2|{{Core page list|button=D}}}}<nowiki>
 
</nowiki>{{Default2|{{Core page list|button=E}}}}<nowiki>
 
</nowiki>{{Default2|{{Core page list|button=F}}}}<nowiki>


</nowiki>{{Button_off25}}|{{click|image=Subpages.png|link=CZ:Core articles |width=17px|height=17px}}
</nowiki>{{Button_off25}}|{{click|image=Subpages.png|link=CZ:Core articles |width=17px|height=17px}}
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"|&nbsp;
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"|&nbsp;
|-  
|-  
|colspan=20 align=left style="background:#C4D2DF; {{#ifeq:{{{name|}}}|{{{basepagename|}}}|{{#ifeq:{{{namespace|}}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}} }}; padding: 2px 2px 2px 2px; border-bottom:2px solid #bbbbbb"|
|colspan=20 align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; padding: 2px 2px 2px 2px; border-bottom:2px solid #bbbbbb"|
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}  
{{#ifeq:{{NAMESPACE}}|CZ Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}  
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}{{ #ifeq: {{BASEPAGENAME}}|{{PAGENAME}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{NAMESPACE}}|CZ Talk
        |<!--(Article)-->
        |<!--(Article Talk page)--> (Core Talk page)
            |<!--(All Subpage articles)-->{{ {{{subpagename|}}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} }}
            |<!--(Article page)--> (Core home page)}}
      | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
      |<!--(All Subpage articles)-->{{ {{{subpagename|}}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} }} (Core subpage)}}
              |<!--All core subpage Talk pages-->
              |<!--Core article Talk page-->}} }}
|}</div></includeonly><noinclude>
|}</div></includeonly><noinclude>
==Usage==
==Usage==
Stripped down version of subpages for the core article page
Stripped down version of subpages for the core article page
</noinclude>
</noinclude>

Revision as of 16:37, 16 October 2007

Usage

Stripped down version of subpages for the core article page