Template:Su: Difference between revisions

From Vigyanwiki
Template>Happy-melon
(this fix is probably the cause of the high preprocessor-node-count on List of Baryons)
Template>Happy-melon
m (Reverted edits by Happy-melon (talk) to last version by SkyLined)
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></includeonly>
--></noinclude><includeonly>{{#ifeq:{{{p|{{{b|}}}}}}|{{{b}}}
|<sub>{{{b}}}</sub>
|{{#ifeq:{{{b|{{{p|}}}}}}|{{{p}}}
|<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>

Revision as of 04:28, 10 May 2008

Template documentation