Template:Su: Difference between revisions

From Vigyanwiki
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.)
Template>SkyLined
m (Removed extra CRLF that was left after previous edit)
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><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>
--></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></includeonly>
</includeonly>

Revision as of 02:15, 23 August 2008

Template documentation