Template:Portal/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>WOSlinker
more than 1,500,000
meta>Jmkim dot com
No edit summary
Line 63: Line 63:
[[fr:Modèle:Portail]]
[[fr:Modèle:Portail]]
[[zh-classical:Template:門]]
[[zh-classical:Template:門]]
[[he:תבנית:פורטל]]
[[hr:Predložak:Portal]]
[[hr:Predložak:Portal]]
[[hsb:Předłoha:Portal]]
[[hsb:Předłoha:Portal]]
Line 68: Line 69:
[[ia:Patrono:Portal]]
[[ia:Patrono:Portal]]
[[it:Template:Portale]]
[[it:Template:Portale]]
[[he:תבנית:פורטל]]
[[ja:Template:ウィキポータルリンク]]
[[ko:틀:들머리]]
[[lb:Template:Portal]]
[[lb:Template:Portal]]
[[lt:Šablonas:Portal]]
[[lt:Šablonas:Portal]]
Line 76: Line 78:
[[ms:Templat:Portal]]
[[ms:Templat:Portal]]
[[nl:Sjabloon:Portaal]]
[[nl:Sjabloon:Portaal]]
[[ja:Template:ウィキポータルリンク]]
[[no:Mal:Portal]]
[[no:Mal:Portal]]
[[pl:Szablon:Portal]]
[[pl:Szablon:Portal]]

Revision as of 07:50, 23 June 2009

This template is used to produce a link in a box to a portal.

Optional parameters

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

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). By default, the box is surrounded by a margin of width 0.5em, but this can be customized using margin=top right bottom left (e.g. margin=0.25em 0 0.25em 0.25em) or removed using margin=0 (zero).

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}}

See also