Template:Su: Difference between revisions
From Vigyanwiki
Template>SkyLined m (fix if for selecting <sup> and <sub>) |
Template>SkyLined m (Removed }}}} that was left in 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>{{#if:{{{p|}}}|{{#if:{{{b|}}} | --></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| }}}</SPAN><SPAN style="display:block; min-height:1em;">{{{b| }}}</SPAN></SPAN> | ||
|<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| }}}</SPAN><SPAN style="display:block; min-height:1em;">{{{b| }}}</SPAN></SPAN> | |<sup>{{{p}}}</sup>}}|<sub>{{{b}}}</sub>}}</includeonly> | ||
|<sup>{{{p}}}</sup>}}|<sub>{{{b}}}</sub> | |||
Revision as of 17:19, 14 June 2009
Template documentation
[create]