Template:Portal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Phil Boswell
restoring fragment which allowed clicking the image to access the portal
meta>CJ
bold test: trying title template
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 style="right:10px; display:none;" class="metadata topicon"><div style="position: relative; width: 14px; height: 14px; overflow: hidden">
{| style="background: transparent;" width={{{boxsize|{{{4|0}}}}}}
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}} Portal]]</div>
|<div style="position: relative; width: 36px; height: 32px; overflow: hidden">
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:Portal.gif|14px|This article has an associated portal. Click here to access portal.]]</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>
<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>
|| '''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}} Portal]]'''''
|}
</div><noinclude>
</div><noinclude>
==Use==
This template is used to link an article to its related [[Portal:Browse|portal]]


;Optional parameters
This template places the portal icon ([[Image:Portal.gif|width=14px|height=14px]]) in the top right corner of an article to indicate that there is an [[Wikipedia:Portal|associated portal]].
<nowiki>{{Portal|name|image|size|boxsize}}</nowiki>
 
==Location==
This template should be placed at the bottom of the article.
This template is placed at the bottom of the article in the "See also" section.
 
[[Category:Title templates|{{PAGENAME}}]]


[[es:Plantilla:Portal]]
[[es:Plantilla:Portal]]

Revision as of 07:47, 3 June 2006

This template places the portal icon (height=14px) in the top right corner of an article to indicate that there is an associated portal.

This template should be placed at the bottom of the article.

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