Template:Su: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Wikid77 set to show {p}/{b} example when standalone; fixed IE6 text-align by using 1 <span> to show both {p}/{b}. Lowered {p} superscript by "line-height:1.1em" for Konqueror 3.5.8; +more NOTES comments |
meta>Edokter No longer applies |
||
Line 1: | Line 1: | ||
{{#if:{{{p|<noinclude>x</noinclude>}}} | {{#if:{{{p|<noinclude>x</noinclude>}}} | ||
|{{#if:{{{b|<noinclude>x</noinclude>}}} | |{{#if:{{{b|<noinclude>x</noinclude>}}} | ||
|<span style="{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:{{{fontsize|80%}}};overflow:visible;display:inline-block; vertical-align: -0.4em; line-height:1.1em; margin-bottom:-0.2em;background:transparent;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}">{{{p|{{{p}}}}}}<br />{{{b|{{{b}}}}}}</span> | |<span style="{{#ifeq:{{{w|}}}|f|font-family:monospace;}}font-size:{{{fontsize|80%}}};overflow:visible;display:inline-block; vertical-align:-0.4em; line-height:1.1em; margin-bottom:-0.2em;background:transparent;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}">{{{p|{{{p}}}}}}<br />{{{b|{{{b}}}}}}</span> | ||
|<sup>{{{p|}}}</sup> | |<sup>{{{p|}}}</sup> | ||
}} | }} | ||
Line 35: | Line 35: | ||
-- ELSE show superscript {p|} ENDIF | -- ELSE show superscript {p|} ENDIF | ||
-- ELSE show subscript {b|} ENDIF | -- ELSE show subscript {b|} ENDIF | ||
-- | -- | ||
-------------------------------------------------------------- | -------------------------------------------------------------- |