Difference between revisions 501312 and 501313 on knwiki

{{Ddocumentation subpage}}
<includeonly>{{pp-template|small=yes}}{{high-use|  1,200,000  }}</includeonly>
<!--  -PLEASE ADD CATEGORIES AND INTERWIKISMETADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE  .--->


This template is used to produce a link ain article to its related box to a [[Portal:List of portals|portal]].

===  Optional parameters  ===
 <nowiki>{{</nowiki>'''portal'''|name|image|size|boxsize|break=yes|left=yes|margin=}}
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). By default, the box is surrounded by a margin of width 0.5em, but this can be customized using <code>margin=''top'' ''right'' ''bottom'' ''left''</code> (e.g. <code style="font-size:95%;">margin=0.25em 0 0.25em 0.25em</code>) or removed using <code>margin=0</code> (zero).

===  Location  ===


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

===  Examples  ===


{| style="background:transparent;"
|- style="font-size:120%;" 
! Code<hr/> !! Result<hr/>
|-
| <small><pre>{{portal}}</pre></small>
| {{portal}}
|-
| <small><pre>{{portal|Science}}</pre></small>
| {{portal|Science}}
|-
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg}}</pre></small>
| {{portal|Spaceflight|RocketSunIcon.svg}}
|-
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|size=50}}</pre></small>
| {{portal|Spaceflight|RocketSunIcon.svg|size=50}}
|-
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|boxsize=50}}</pre></small>
| {{portal|Spaceflight|RocketSunIcon.svg|boxsize=50}}
|-
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|break=yes}}</pre></small>
| {{portal|Spaceflight|RocketSunIcon.svg|break=yes}}
|-
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}</pre></small>
| {{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}
|}

<includeonly>
<!--Categories and interwiki links-->
[[Category:Internal link templates]]

<!--Interwikis-->
[[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]]
[[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]]
</includeonly>