Mal:Portal: Forskjell mellom sideversjoner

Fra wikisida.no
Hopp til navigering Hopp til søk
m correct fi:
Let width vary
Linje 1: Linje 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>

Sideversjonen fra 23. aug. 2006 kl. 19:42

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.