Template:Su: Difference between revisions

From Vigyanwiki
Template>Verdy p
m (the spurious effect of IE7 was generated by YOUR change. We DO NEED to use sup and sub when only one parameter is present, and NOT use the special code when combining both.)
Template>Verdy p
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>{{documentation}}<!--
{{documentation}}
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS
PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS
Normally, the code for the template is included, but this template is too complex to do that.
Normally, the code for the template is included, but this template is too complex to do that.
--></noinclude><includeonly>{{#if:{{{p|}}}|{{#if:{{{b|}}}|<span style="display:inline-block;display:-moz-inline-box;-moz-box-orient:vertical;vertical-align:bottom;{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:80%;line-height:1;margin-bottom:-0.1em;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}};overflow:visible"><span style="display:block;margin-top:-1.1em;line-height:1;background:transparent;overflow:visible">{{{p|}}}</span><span style="display:block;background:transparent;line-height:1;overflow:visible">{{{b|}}}</span></span>|{{sup|{{{p|}}}}}}}|{{sub|{{{b|}}}}}}}</includeonly>
--></noinclude><includeonly>{{#if:{{{p|}}}|{{#if:{{{b|}}}|<span style="display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:bottom;min-height:1em;{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:80%;line-height:1;margin-bottom:-0.1em;overflow:visible;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}"><span style="display:block;min-height:1em;margin-top:-1.1em;line-height:1;background:transparent;overflow:visible">{{{p|super}}}</span><span style="display:block;min-height:1em;background:transparent;line-height:1;overflow:visible">{{{b|sub}}}</span></span>|{{sup|{{{p|}}}}}}}|{{sub|{{{b|}}}}}}}</includeonly>

Revision as of 03:36, 21 March 2010

Template documentation