Template:Subpage style: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 1: | Line 1: | ||
</nowiki>{{ #ifeq: {{{name|}}} |{{{basepagename|}}} | |||
| {{button on2|status= {{{status|}}}}} | | {{button on2|status= {{{status|}}}}} | ||
| {{button off2}}}}{{!}}<font size=1>[[{{ | | {{button off2}}}}{{!}}<font size=1>[[{{{basepagename|}}}|Main Article]]</font><nowiki> | ||
</nowiki>{{#ifeq: {{{status|}}}|0 | </nowiki>{{#ifeq: {{{status|}}}|0 | ||
|{{#ifeq:{{ | |{{#ifeq:{{{namespace|}}}|Talk | ||
|{{button on25|status= {{{status|}}}}} {{!}}<font size=1>[[Talk:{{{pagename|}}}/Draft|Talk]]</font> | |{{button on25|status= {{{status|}}}}} {{!}}<font size=1>[[Talk:{{{pagename|}}}/Draft|Talk]]</font> | ||
|{{button off25}}{{!}}<font size=1>[[Talk:{{{pagename|}}}/Draft|Talk]]</font>}} | |{{button off25}}{{!}}<font size=1>[[Talk:{{{pagename|}}}/Draft|Talk]]</font>}} | ||
|{{#ifeq:{{ | |{{#ifeq:{{{namespace|}}}|Talk | ||
|{{button on25|status= {{{status|}}}}} {{!}}<font size=1>[[Talk:{{{pagename|}}}|Talk]]</font> | |{{button on25|status= {{{status|}}}}} {{!}}<font size=1>[[Talk:{{{pagename|}}}|Talk]]</font> | ||
|{{button off25}}{{!}}<font size=1>[[Talk:{{{pagename|}}}|Talk]]</font>}} }}<nowiki> | |{{button off25}}{{!}}<font size=1>[[Talk:{{{pagename|}}}|Talk]]</font>}} }}<nowiki> | ||
</nowiki>{{#ifeq: {{{status|}}}|0|{{ #ifeq: {{ | </nowiki>{{#ifeq: {{{status|}}}|0|{{ #ifeq: {{{name|}}} |{{{pagename|}}}/Draft| {{button on2|status= {{{status|}}}}} | {{button off2}} }}{{!}}<font size=1>[[{{{pagename|}}}/Draft|Draft]]</font> }}<nowiki> | ||
</nowiki>{{ #ifeq: {{Subpage list 2|button=1B}}|Default| {{Default2|{{Subpage list 2|button=1A}}}} | </nowiki>{{ #ifeq: {{Subpage list 2|button=1B}}|Default| {{Default2|{{Subpage list 2|button=1A}}}} | ||
Line 139: | Line 98: | ||
|- | |- | ||
|colspan=20 {{#ifeq: {{{status|}}}|0 | |colspan=20 {{#ifeq: {{{status|}}}|0 | ||
|align=left style="background:#C4DFC4; {{#ifeq:{{ | |align=left style="background:#C4DFC4; {{#ifeq:{{{name|}}}|{{{basepagename|}}}|{{#ifeq:{{{namespace|}}}||border-left:2px solid #aaaaaa|border-left:2px solid #bbbbbb}}|border-left:2px solid #bbbbbb}} | ||
|align=left style="background:#C4D2DF; {{#ifeq:{{ | |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"| | ||
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0" | {| height=25px align="right" border="0" cellpadding="2" cellspacing="0" | ||
{{#ifeq:{{ | {{#ifeq:{{{subpagename|}}}|Unused | ||
| | | | ||
|{{#ifeq:{{ | |{{#ifeq:{{{namespace|}}}|Talk | ||
| | | | ||
|{{#ifeq:{{{status|}}}|0 | |{{#ifeq:{{{status|}}}|0 | ||
|{{#ifeq:{{{pagename|}}}|{{ | |{{#ifeq:{{{pagename|}}}|{{{name|}}} | ||
| {{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{PAGENAMEE}}/Draft&diff=current&oldid={{REVISIONID}} | width=17px | height=17px}} | | {{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{PAGENAMEE}}/Draft&diff=current&oldid={{REVISIONID}} | width=17px | height=17px}} | ||
|{{#ifeq:{{{pagename|}}}/Draft|{{ | |{{#ifeq:{{{pagename|}}}/Draft|{{{name|}}} | ||
|{{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{BASEPAGENAMEE}}&diff=current&oldid={{REVISIONID}} |width=17px|height=17px}} | |{{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{BASEPAGENAMEE}}&diff=current&oldid={{REVISIONID}} |width=17px|height=17px}} | ||
| }} }} | | }} }} | ||
|}} }} }} | |}} }} }} | ||
{{#ifeq:{{ | {{#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=Metadata.png|link=Template:{{{pagename|}}}/Metadata|width=17px|height=17px}} | ||
|{{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}} | |{{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}} | ||
Line 176: | Line 135: | ||
|<!--(approval subpage)--> (approval subpage) | |<!--(approval subpage)--> (approval subpage) | ||
|<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }} | |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }} | ||
| {{#ifeq: {{ | | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Talk | ||
| {{#ifeq:{{ | | {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) --> (Draft Talk page) | | <!--(Draft Talk page) --> (Draft Talk page) | ||
| <!--not currently used--> (All subpage and subsubpage Talk) }} | | <!--not currently used--> (All subpage and subsubpage Talk) }} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|User | ||
| <!--not currently used--> (User subpage) | | <!--not currently used--> (User subpage) | ||
| <!--not currently used--> (User subpage talk) }} }} | | <!--not currently used--> (User subpage talk) }} }} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Talk | ||
| <!--(Article Talk page)--> (Article Talk page) | | <!--(Article Talk page)--> (Article Talk page) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|User | ||
| <!--not currently used--> (User page) | | <!--not currently used--> (User page) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|User talk | ||
|<!--not currently used--> (User talk page) | |<!--not currently used--> (User talk page) | ||
| {{#ifeq:{{{ | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!--not currently used-->(the metadata template) | |<!--not currently used-->(the metadata template) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Template | ||
| <!--not currently used--> (template main page) | | <!--not currently used--> (template main page) | ||
| <!--not currently used--> (template talk page) }} }} }} }} }} }} }} | | <!--not currently used--> (template talk page) }} }} }} }} }} }} }} | ||
|}</div>{{ #ifeq: {{ | |}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}} | ||
| {{ #ifeq: {{ | | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}} | ||
| <!--(Article)--> (Article) | | <!--(Article)--> (Article) | ||
| {{ #ifexist: {{ | | {{ #ifexist: {{{ pagename|}}} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Talk | ||
| <!--(Talk: Sub subpage)--> (Talk: Sub subpage) | | <!--(Talk: Sub subpage)--> (Talk: Sub subpage) | ||
|(ALL subsubpages) {{#ifeq: {{ | |(ALL subsubpages) {{#ifeq: {{{pagename|}}}/Signed Articles|{{{basepagename|}}} | ||
|<!--(signed article)-->(signed article) | |<!--(signed article)-->(signed article) | ||
| {{#ifeq: {{ | | {{#ifeq: {{{pagename|}}}/Catalogs|{{{basepagename|}}} | ||
|<!--(Catalog sub-subpage)-->(Catalog sub-subpage) | {{#ifeq: {{ | |<!--(Catalog sub-subpage)-->(Catalog sub-subpage) | {{#ifeq: {{{pagename|}}}/Timelines|{{{basepagename|}}} | ||
|<!--(timeline sub-subpage)-->(timeline sub-subpage) | |<!--(timeline sub-subpage)-->(timeline sub-subpage) | ||
|(other sub-subpage) }} }} }} }} | |(other sub-subpage) }} }} }} }} | ||
|(All Subpage articles) {{#ifeq:{{ | |(All Subpage articles) {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft)--> (Draft) | | <!--(Draft)--> (Draft) | ||
|{{#ifeq:{{ | |{{#ifeq:{{{subpagename|}}}|Unused | ||
| <!--Unused subpages--> (Unused subpages) | | <!--Unused subpages--> (Unused subpages) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{subpagename|}}}|Approval | ||
|<!--(approval subpage)--> (approval subpage) | |<!--(approval subpage)--> (approval subpage) | ||
|<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }} | |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }} | ||
| {{#ifeq: {{ | | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Talk | ||
| {{#ifeq:{{ | | {{#ifeq:{{{subpagename|}}}|Draft | ||
| <!--(Draft Talk page) --> (Draft Talk page) | | <!--(Draft Talk page) --> (Draft Talk page) | ||
| <!--not currently used--> (All subpage and subsubpage Talk) }} | | <!--not currently used--> (All subpage and subsubpage Talk) }} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|User | ||
| <!--not currently used--> (User subpage) | | <!--not currently used--> (User subpage) | ||
| <!--not currently used--> (User subpage talk) }} }} | | <!--not currently used--> (User subpage talk) }} }} | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Talk | ||
| <!--(Article Talk page)--> (Article Talk page) | | <!--(Article Talk page)--> (Article Talk page) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|User | ||
| <!--not currently used--> (User page) | | <!--not currently used--> (User page) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|User talk | ||
|<!--not currently used--> (User talk page) | |<!--not currently used--> (User talk page) | ||
| {{#ifeq:{{{ | | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}} | ||
|<!--not currently used-->(the metadata template) | |<!--not currently used-->(the metadata template) | ||
| {{#ifeq:{{ | | {{#ifeq:{{{namespace|}}}|Template | ||
| <!--not currently used--> (template main page) | | <!--not currently used--> (template main page) | ||
| <!--not currently used--> (template talk page) }} }} }} }} }} }} }}</includeonly> | | <!--not currently used--> (template talk page) }} }} }} }} }} }} }}</includeonly> | ||
Revision as of 14:08, 5 October 2007
</nowiki>
|align=center bgcolor="#" style="border-bottom:1px solid #; white-space: nowrap; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa; font-size:0.9em;"|[[|Main Article]]
|width=25px align=center bgcolor="#" style="white-space: nowrap; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;font-size:0.9em"|[[Talk:|Talk]]
Template:Default2Template:Default2Template:Default2
|width=25px align=center bgcolor="#" style="white-space: nowrap; border-bottom:1px solid #aaaaaa; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;font-size:0.9em"|
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"| |- |colspan=20 align=left style="background:#C4D2DF; border-left:2px solid #aaaaaa; padding: 2px 2px 2px 2px; border-bottom:2px solid #bbbbbb"|
(Article) |}(Article)</includeonly>