Template:Su: Difference between revisions

From Vigyanwiki
Template>SkyLined
m (No more code that special-cases "p" or "b" argument only; this removes high-differences in b argument and simplefies template.)
Template>SkyLined
(Reverted to revision 347553817 by Headbomb; Recent updates make template output garbage in MSIE 7.0 on Windows XP. (TW))
Line 4: Line 4:
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|{{{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|&nbsp;}}}</span><span style="display:block;background:transparent;line-height:1;overflow:visible">{{{b|&nbsp;}}}</span></span>}}</includeonly>
--></noinclude><includeonly>{{#if:{{{p|}}}|{{#if:{{{b|}}}|<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>
|{{sup|{{{p}}}}}}}|{{sub|{{{b}}}}}}}</includeonly>

Revision as of 16:22, 15 March 2010

Template documentation