Template:Portal
This template is used to produce a link in a box to a portal.
Optional parameters[edit]
{{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[edit]
Within articles, this template is meant to be placed at the bottom of the article in the "See also" section.
Examples[edit]
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}} |
ar:قالب:بوابة be-x-old:Шаблён:Партал bs:Šablon:Portal ca:Plantilla:Portal cs:Šablona:Portál da:Skabelon:Portal de:Vorlage:Portal el:Πρότυπο:Portal hi:साँचा:Portal/doc es:Plantilla:Portal2 eo:Ŝablono:Portalo eu:Txantiloi:Atari fr:Modèle:Portail zh-classical:Template:門 hr:Predložak:Portal hsb:Předłoha:Portal id:Templat:Wikiportal ia:Patrono:Portal it:Template:Portale he:תבנית:פורטל lb:Template:Portal lt:Šablonas:Portal hu:Sablon:Portál mk:Шаблон:Портал mr:साचा:दालन ms:Templat:Portal nl:Sjabloon:Portaal ja:Template:ウィキポータルリンク no:Mal:Portal pl:Szablon:Portal pt:Predefinição:Portal ro:Format:Portal ru:Шаблон:Портал sq:Stampa:Portal sk:Šablóna:Portál sl:Predloga:Portal sr:Шаблон:Портал sh:Template:Portal fi:Malline:Teemasivu tl:Template:Portal vi:Tiêu bản:Portal tr:Şablon:Portal uk:Шаблон:Портал zh:Template:Portal