Template:Portal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
change default image to public domain equivalent, allow option for alt text and to delink (see discussion on talk page)
meta>MSGJ
add default images for each portal, per proposal on talk page
Line 1: Line 1:
<div class="noprint {{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#if:{{{margin|}}}|{{{margin|}}}|{{#ifeq:{{{left|}}}|yes|0.5em 0.5em 0.5em 0|0.5em 0 0.5em 0.5em}}}};">
<div class="noprint {{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#if:{{{margin|}}}|{{{margin|}}}|{{#ifeq:{{{left|}}}|yes|0.5em 0.5em 0.5em 0|0.5em 0 0.5em 0.5em}}}};">
{| style="background:#f9f9f9; font-size:85%; line-height:110%; {{#if: {{{boxsize|{{{4|}}}}}} | width:{{{boxsize|{{{4}}}}}}px;}}"
{| style="background:#f9f9f9; font-size:85%; line-height:110%; {{#if: {{{boxsize|{{{4|}}}}}} | width:{{{boxsize|{{{4}}}}}}px;}}"
| [[Image:{{{image|{{{2|Portal-puzzle.svg}}}}}}|{{{size|{{{3|32}}}}}}x28px{{#ifeq:{{{link|{{#if:{{{image|{{{2|}}}}}}|File:}}}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}]]
| [[Image:{{{image|{{{2|{{portal/images|{{{name|{{{1|{{PAGENAME}}}}}}}}}}}}}}}}|{{{size|{{{3|32}}}}}}x28px{{#ifeq:{{{link|{{#if:{{{image|{{{2|}}}}}}|File:}}}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}]]
| style="padding:0 0.2em;" | '''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}{{#ifeq:{{{break|}}}|yes|<br />|&#32;}}portal]]'''''
| style="padding:0 0.2em;" | '''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}{{#ifeq:{{{break|}}}|yes|<br />|&#32;}}portal]]'''''
|}
|}
</div><noinclude>
</div><noinclude>
{{pp-template|small=yes}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 21:58, 3 April 2010

[[Image:Template:Portal/images|32x28px|link=|alt=]] Portal portal