Template:Portal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon
attempt to fix padding
meta>Happy-melon
rewrite per editprotected
Line 1: Line 1:
<div class="{{#ifeq:{{{left|no}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px; background:#f9f9f9; margin:0.5em 0 0.5em 0.5em; font-size:85%;">
<div class="{{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#ifeq:{{{left|}}}|yes|0.5em 0.5em 0.5em 0|0.5em 0 0.5em 0.5em}};">
{| style="background:transparent;" width={{{boxsize|{{{4|0}}}}}}
{| style="background:#f9f9f9; font-size:85%; line-height:110%; {{#if: {{{boxsize|{{{4|}}}}}} | width:{{{boxsize|{{{4}}}}}}px;}}"
| <div style="position:relative; width:{{{size|{{{3|32}}}}}}px; height:28px; overflow:hidden"><div style="position:absolute; top:0px; left:0px; z-index:2;"> [[Image:{{{image|{{{2|Portal.svg}}}}}}|{{{size|{{{3|32}}}}}}x28px]]</div></div>
| [[Image:{{{image|{{{2|Portal.svg}}}}}}|{{{size|{{{3|32}}}}}}x28px]]
| '''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}{{#ifeq:{{{break|}}}|yes|<br />|&#32;}}Portal]]'''''{{#ifeq:{{{break|}}}|yes||&nbsp;}}
| style="padding:0 0.2em;" | '''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}{{#ifeq:{{{break|}}}|yes|<br />|&#32;}}Portal]]'''''
|}</div><noinclude>
|}
</div><noinclude>
{{documentation}}<!--Please add any interwiki links etc on the /doc page, not here - thanks!--></noinclude>
{{documentation}}<!--Please add any interwiki links etc on the /doc page, not here - thanks!--></noinclude>

Revision as of 21:32, 15 April 2008