Template:Portal/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kaustubh
meta>Davidgothberg
Added "{{high-use| 1,200,000 }}" to top of documentation.
Line 1: Line 1:
{{documentation subpage}}<includeonly>{{pp-template|small=yes}}</includeonly>
{{Documentation subpage}}
<includeonly>
{{pp-template|small=yes}}
{{high-use| 1,200,000 }}
</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


==Use==
This template is used to link an article to its related [[Portal:List of portals|portal]].
This template is used to link an article to its related [[Portal:List of portals|portal]].


===Optional parameters===
=== Optional parameters ===
  <nowiki>{{</nowiki>'''portal'''|name|image|size|boxsize|break=yes|left=yes}}
  <nowiki>{{</nowiki>'''portal'''|name|image|size|boxsize|break=yes|left=yes}}
The units assumed for <code>size</code> (the width of the image) and <code>boxsize</code> (the width of the box containing the image and portal link) are pixels (px).
The units assumed for <code>size</code> (the width of the image) and <code>boxsize</code> (the width of the box containing the image and portal link) are pixels (px).


==Location==
=== Location ===
 
Within articles, this template is meant to be placed at the bottom of the article in the "See also" section.
Within articles, this template is meant to be placed at the bottom of the article in the "See also" section.


==Examples==
=== Examples ===
 
{| style="background:transparent;"
{| style="background:transparent;"
|- style="font-size:120%;"  
|- style="font-size:120%;"  
Line 37: Line 43:
| {{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}
| {{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}
|}
|}


<includeonly>
<includeonly>

Revision as of 16:57, 15 May 2008


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

Optional parameters

{{portal|name|image|size|boxsize|break=yes|left=yes}}

The units assumed for size (the width of the image) and boxsize (the width of the box containing the image and portal link) are pixels (px).

Location

Within articles, this template is meant to be placed at the bottom of the article in the "See also" section.

Examples

Code
Result
{{portal}}
{{portal|Science}}
{{portal|Spaceflight|RocketSunIcon.svg}}
{{portal|Spaceflight|RocketSunIcon.svg|size=50}}
{{portal|Spaceflight|RocketSunIcon.svg|boxsize=50}}
{{portal|Spaceflight|RocketSunIcon.svg|break=yes}}
{{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}