Template:Portal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mikko Paananen
m correct fi:
meta>Kirill Lokshin
Let width vary
Line 1: Line 1:
<div style="margin: 0 0 1em 1em; border: solid #aaa 1px; background: #f9f9f9; padding: 1ex; font-size: 90%;" class="tright">
<div style="margin: 0 0 1em 1em; border: solid #aaa 1px; background: #f9f9f9; padding: 1ex; font-size: 90%;" class="tright">
{| style="background: transparent;" width={{{boxsize|{{{4|0}}}}}}
{| style="background: transparent;" width={{{boxsize|{{{4|0}}}}}}
|<div style="position: relative; width: 36px; height: 32px; overflow: hidden">
|<div style="position: relative; width: {{{size|{{{3|36}}}}}}px; height: 32px; overflow: hidden">
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image|{{{2|Portal.gif}}}}}}|{{{size|{{{3|36}}}}}}x32px|Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image|{{{2|Portal.gif}}}}}}|{{{size|{{{3|36}}}}}}x32px|Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}]]</div>
</div>
</div>

Revision as of 19:42, 23 August 2006

Use

This template is used to link an article to its related portal

Optional parameters
{{Portal|name|image|size|boxsize}}

Location

This template is placed at the bottom of the article in the "See also" section.

es:Plantilla:Portal eu:Txantiloi:Atari fi:Malline:Teemasivu fr:Modèle:Portail ja:Template:ウィキポータルリンク mk:Шаблон:Портал ru:Шаблон:Портал sq:Stampa:Portal zh:Template:Portal