Template:Subpage-bottom/NA: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
No edit summary
imported>Drew R. Smith
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{
{{box|{{box|[[image:Statusbar{{{{BASEPAGENAME}}/Metadata|info=status}}.png]][[image:Disclaimer_text_background_crop.png]]|#{{Subpage list|button=button on NA}}}}
#switch:
{{columns-list|5|{{box|[[{{TALKPAGENAME}}|Talk Page]]|width=95%|#{{Subpage list|button=button off}}}}
  {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1
{{box|[[{{BASEPAGENAME}}/Related Articles|Related Articles]]|width=95%|#{{Subpage list|button=button off}}}}
  | 1
{{box|[[{{BASEPAGENAME}}/Bibliography|Bibliography]]|width=95%|#{{Subpage list|button=button off}}}}
  | 0
{{box|[[{{BASEPAGENAME}}/External Links|External Links]]|width=95%|#{{Subpage list|button=button off}}}}
  }}{{#if: {{{force|}}}
{{box|[[{{BASEPAGENAME}}/Opinions|Opinions]]|width=88%|#{{Subpage list|button=button off}}}}}}|width=55%|#{{Subpage list|button=background}}}}
  | 1
  | 0
  }}{{#ifexpr: {{str len|{{PAGENAME}}}} < 50  <!-- The max {{str find}} can handle -->
  | 1
  | 0
  }}
 
| 100 =
  {{#if:{{NAMESPACE}}
  | {{NAMESPACE}}:
  }}{{#switch:{{PAGENAME}}
  | {{{1}}} ({{{2|}}}) = ''{{{1}}}'' ({{{2|}}})
  | {{{1}}} ({{{3|}}}) = ''{{{1}}}'' ({{{3|}}})
  | {{{1}}} ({{{4|}}}) = ''{{{1}}}'' ({{{4|}}})
  | {{{1}}} ({{{5|}}}) = ''{{{1}}}'' ({{{5|}}})
  | {{{1}}} ({{{6|}}}) = ''{{{1}}}'' ({{{6|}}})
  | #default = {{PAGENAME}}
  }}
 
| 101 =  
  {{#if:{{NAMESPACE}}
  | {{NAMESPACE}}:
  }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}
 
| 010
| 011
| 110
| 111
| 001 =
  {{#if:{{NAMESPACE}}
  | {{NAMESPACE}}:
  }}''{{PAGENAME}}''
 
| 000 = {{FULLPAGENAME}}
 
}}}}

Latest revision as of 19:25, 4 September 2009