Template:Su: Difference between revisions

From Vigyanwiki
Template>Headbomb
(return to previous behaviour, <sup> and <sub> tags for the "common cases" has less chance of breaking on older browsers)
Template>Headbomb
(1.2 em , 85%)
Line 1: Line 1:
{{#if:{{{p|}}}
{{#if:{{{p|}}}
   |{{#if:{{{b|}}}
   |{{#if:{{{b|}}}
     |<span style="{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:{{{fontsize|80%}}};overflow:visible;display:inline-block; vertical-align:-0.4em; line-height:1.1em; margin-bottom:-0.2em;background:transparent;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}">{{{p|{{{p}}}}}}<br />{{{b|{{{b}}}}}}</span>
     |<span style="{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:{{{fontsize|85%}}};overflow:visible;display:inline-block; vertical-align:-0.4em; line-height:1.2em; margin-bottom:-0.2em;background:transparent;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}">{{{p|{{{p}}}}}}<br />{{{b|{{{b}}}}}}</span>
     |<sup>{{{p|}}}</sup>
     |<sup>{{{p|}}}</sup>
   }}
   }}

Revision as of 16:11, 22 December 2010

Template documentation