Template:Su: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined
Quick and dirty fix for IE6 problem, only solves cases where only sub- or supscript is required and not both.
meta>SkyLined
m Oops #
Line 6: Line 6:
--></noinclude><includeonly>{{#ifeq:{{{p|{{{b|}}}}}}|{{{b}}}
--></noinclude><includeonly>{{#ifeq:{{{p|{{{b|}}}}}}|{{{b}}}
|<sub>{{{b}}}</sub>
|<sub>{{{b}}}</sub>
|{{ifeq:{{{b|{{{p|}}}}}}|{{{p}}}
|{{#ifeq:{{{b|{{{p|}}}}}}|{{{p}}}
|<sup>{{{p}}}</sup>
|<sup>{{{p}}}</sup>
|<SPAN style="{{#ifeq: {{{w|}}}|f| font: 80% monospace; |font-size:80%; }} display:-moz-inline-box; -moz-box-orient:vertical; display:inline-block; vertical-align: bottom; /*Horizontal positioning, affects IE&FF*/margin-bottom:-0.4em; min-height:1em; line-height:1em; {{#switch: {{{a|}}}|r=text-align:right|c=text-align:center}}"><SPAN style="display:block; min-height:1em; /*Horizontal positioning, affects IE only*/margin-top:-1.4em;">{{{p|&nbsp;}}}</SPAN><SPAN style="display:block; min-height:1em;">{{{b|&nbsp;}}}</SPAN></SPAN>}}}}</includeonly>
|<SPAN style="{{#ifeq: {{{w|}}}|f| font: 80% monospace; |font-size:80%; }} display:-moz-inline-box; -moz-box-orient:vertical; display:inline-block; vertical-align: bottom; /*Horizontal positioning, affects IE&FF*/margin-bottom:-0.4em; min-height:1em; line-height:1em; {{#switch: {{{a|}}}|r=text-align:right|c=text-align:center}}"><SPAN style="display:block; min-height:1em; /*Horizontal positioning, affects IE only*/margin-top:-1.4em;">{{{p|&nbsp;}}}</SPAN><SPAN style="display:block; min-height:1em;">{{{b|&nbsp;}}}</SPAN></SPAN>}}}}</includeonly>

Revision as of 22:05, 4 May 2008