Template:Su: Difference between revisions

From Vigyanwiki
Template>NawlinWiki
m (Protected Template:Su: high use template [edit=autoconfirmed:move=sysop])
Template>SkyLined
(Removed extra code to fix a bug that occurs when upper and lower value are the same and to make output look similar whether upper/lower values or supplied or not.)
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>{{#ifeq:{{{p|{{{b|}}}}}}|{{{b}}}
--></noinclude><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>
|<sub>{{{b}}}</sub>
</includeonly>
|{{#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}}}</sup>
}}}}</includeonly>

Revision as of 02:15, 23 August 2008

Template documentation