Template:Portal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>CBDunkerson
Converting to accept EITHER named or numbered parameters
meta>CBDunkerson
Adding boxsize parameter and correcting capitalization of parameter names in documentation
Line 1: Line 1:
<div class="tright" style="margin: 0 0 1em 1em; border: solid #aaa 1px; background: #f9f9f9; padding: 1ex; font-size: 90%;">
<div class="tright" style="margin: 0 0 1em 1em; border: solid #aaa 1px; background: #f9f9f9; padding: 1ex; font-size: 90%;">
{| style="background: transparent;"
{| style="background: transparent;" width={{{boxsize|{{{4|0}}}}}}px
|<div style="position: relative; width: 36px; height: 32px; overflow: hidden">
|<div style="position: relative; width: 36px; height: 32px; overflow: hidden">
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|&nbsp;&nbsp;&nbsp;]]</div>
Line 13: Line 13:


;Optional parameters
;Optional parameters
  <nowiki>{{Portal|Name|Image|Size}}</nowiki>
  <nowiki>{{Portal|name|image|size|boxsize}}</nowiki>
==Location==
==Location==
This template is placed at the bottom of the article in the "See also" section.
This template is placed at the bottom of the article in the "See also" section.

Revision as of 15:25, 1 May 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 fr:Modèle:Portail ja:Template:ウィキポータルリンク mk:Шаблон:Портал ru:Шаблон:Портал sq:Stampa:Portal