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>John Stephenson
(rewrite introduction - this is an old and largely failed initiative, but the lists themselves could be useful)
 
(69 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;">
<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="background:#ffffff"
{|width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#f5f5f5"
|-
|<!--
|<!--


***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|}}}}}
                            |align=center bgcolor="#{{Subpage list|button=button on NA}}" style="border-left:1px solid #aaaaaa; border-bottom:1px solid #{{Subpage list|button=button on NA}}; white-space: nowrap; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;font-size:0.9em"
                            | {{button off2}}}}{{!}}<font size=1>[[CZ:{{{pagename|}}}|Core Home]]</font><!--
                             | width=1px height=1px style="background:#{{Subpage list|button=button off}}; border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa;"{{!}}{{button off2|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}}}{{!}}[[CZ:{{BASEPAGENAME}}|Core Home]]<!--


***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|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}} {{!}}[[CZ Talk:{{BASEPAGENAME}}|Talk]]
                             |{{button off25}}{{!}}<font size=1>[[CZ Talk:{{{pagename|}}}|Talk]]</font>}}<!--
                             |{{button off25|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}{{!}}[[CZ Talk:{{BASEPAGENAME}}|Talk]]}}<!--


***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>
-->{{Core default|{{Core page list|button=A}}|{{Core page list|button=AA}}}}<nowiki>


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


</nowiki>{{Default3|{{Core page list|button=3A}} |status = {{{status|}}}|pagename={{{pagename|}}}|name={{{name|}}}}}<nowiki>
</nowiki>{{Core default|{{Core page list|button=C}}|{{Core page list|button=CC}}}}<nowiki>


</nowiki>{{Button_off25}}|{{click|image=Subpages.png|link=CZ:Core articles |width=17px|height=17px}}
</nowiki>{{Core default|{{Core page list|button=D}}|{{Core page list|button=DD}}}}<nowiki>
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"|&nbsp;
 
</nowiki>{{Core default|{{Core page list|button=E}}|{{Core page list|button=EE}}}}<nowiki>
 
</nowiki>{{Core default|{{Core page list|button=F}}|{{Core page list|button=FF}}}}<nowiki>
 
</nowiki>{{Core default|{{Core page list|button=G}}|{{Core page list|button=GG}}}}<nowiki>
 
</nowiki>{{Button_off25|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}}}|{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}}
|style="background-color: #f2f2f2; border-bottom:1px solid #aaaaaa"|&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="padding: 2px 2px 2px 2px; border-left:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; border-right:1px solid #aaaaaa; {{ #ifeq: {{BASEPAGENAME}}|{{PAGENAME}}|background:#{{Core page list|button=GG}}"{{!}}|{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=A}}
|background:#{{Core page list|button=AA}}"{{!}}
{{{!}} align="left" border="0" cellpadding="2" cellspacing="0"
{{!}}{{click|image=Natural science button.png|link=CZ:Workgroups#Natural_Sciences|width=20px|height=20px}}
{{!}}}
}}{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=B}}
|background:#{{Core page list|button=BB}}"{{!}}
{{{!}} align="left" border="0" cellpadding="2" cellspacing="0"
{{!}}{{click|image=Social science button.png|link=CZ:Workgroups#Social_Sciences|width=20px|height=20px}}
{{!}}}
}}{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=C}}
|background:#{{Core page list|button=CC}}"{{!}}
{{{!}} align="left" border="0" cellpadding="2" cellspacing="0"
{{!}}{{click|image=Humanities button.png|link=CZ:Workgroups#Humanities|width=20px|height=20px}}
{{!}}}
}}{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=D}}
|background:#{{Core page list|button=DD}}"{{!}}
{{{!}} align="left" border="0" cellpadding="2" cellspacing="0"
{{!}}{{click|image=Arts button.png|link=CZ:Workgroups#Arts|width=20px|height=20px}}
{{!}}}
}}{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=E}}
|background:#{{Core page list|button=EE}}"{{!}}
{{{!}} align="left" border="0" cellpadding="2" cellspacing="0"
{{!}}{{click|image=Applied arts button.png|link=CZ:Workgroups#Applied Arts and Sciences|width=20px|height=20px}}
{{!}}}
}}{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=F}}
|background:#{{Core page list|button=FF}}"{{!}}
{{{!}} align="left" border="0" cellpadding="2" cellspacing="0"
{{!}}{{click|image=Recreation button.png|link=CZ:Workgroups#Recreation|width=20px|height=20px}}
{{!}}} }}{{ #ifeq: {{SUBPAGENAME}}|{{Core page list|button=G}}
|background:#{{Core page list|button=GG}}"{{!}} }}
}}
{| 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|{{!}}'''[[CZ:Core_Articles/Scores|Scores]]'''}}{{ #ifeq: {{BASEPAGENAME}}|{{PAGENAME}}||{{!}}'''[[CZ:Core_Articles/Scores|Scores]]'''}}  
|}{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}{{ #ifeq: {{BASEPAGENAME}}|{{PAGENAME}}
       |{{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       |{{ #ifeq: {{NAMESPACE}}|CZ Talk
         |<!--(Article)-->
         |<!--(Core article Talk page)-->
            |<!--(All Subpage articles)-->{{ {{{subpagename|}}} header|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|status= {{{status|}}} }} }}
                |<!--(Core article page)-->'''What are core articles?'''  Core articles are our top priority articles – articles that are most in demand and most important for us to include in an encyclopedia that has any hope of being comprehensive. Essentially, we list our ''unwritten'' core articles here, negotiating about which articles really are our highest priority.
      | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
 
              |<!--All core subpage Talk pages-->
We hope you'll set aside your relatively specialized interests for a while, and create reliable introductions to the most basic topics. }}
              |<!--Core article Talk page-->}} }}
      |<!--(All Subpage articles) {{{{SUBPAGENAME}} header}}--> }}
|}</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>

Latest revision as of 13:17, 31 October 2014

Usage

Stripped down version of subpages for the core article page