Template:Su: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Headbomb
m fix
meta>Edokter
m XHTML <br /> (and formatting)
Line 1: Line 1:
<includeonly>{{#if:{{{p|}}}
<includeonly>{{#if:{{{p|}}}
|{{#if:{{{b|}}}
  |{{#if:{{{b|}}}
  |<span style="{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:{{{fontsize|80%}}};line-height:1;margin-bottom:-0.1em;overflow:visible;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}"><!--
    |<span style="{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:{{{fontsize|80%}}};line-height:1;margin-bottom:-0.1em;overflow:visible;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}"><!--
--><span style="display:inline-block; vertical-align: -0.4em; line-height:1.3em; background:transparent;">{{{p}}}<br/>{{{b}}}</span></span>
  --><span style="display:inline-block; vertical-align: -0.4em; line-height:1.3em; background:transparent;">{{{p}}}<br />{{{b}}}</span></span>
  |{{sup|{{{p|}}}}}
    |{{sup|{{{p|}}}}}
   }}
   }}
|{{sub|{{{b|}}}}}
  |{{sub|{{{b|}}}}}
}}</includeonly><noinclude><!--
}}</includeonly><noinclude><!--
--------------------------------------------------------------
--------------------------------------------------------------
--NOTES:
--NOTES:
--   [ These comments are omitted by "noinclude" and not put
--     These comments are omitted by "noinclude" and not put
--     in pages sent over the Internet, only during edit.]
--     in pages sent over the Internet, only during edit.
--
--
-- NOTE A1: This template displays either a subscript {b} or
-- NOTE A1: This template displays either a subscript {b} or
--      superscript {p}, or both in vertical alignment.
--      superscript {p}, or both in vertical alignment.
--      Usage: {{su |p=super |b=sub}}
--      Usage: {{su | p=super | b=sub}}
--
--
-- NOTE C2: For compatibility with browser MS IE6, the result
-- NOTE C2: For compatibility with browser MS IE6, the result
--      with both subscripts is a span with vertical "<br>"
--      with both subscripts is a span with vertical "<br />"
--      to align the superscript & subscript together.
--      to align the superscript & subscript together.
--
--

Revision as of 11:42, 21 December 2010