Template:Portal/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg Removed some newlines in the header to make it look better in the green /doc box. |
meta>Aibdescalzo mNo edit summary |
||
Line 54: | Line 54: | ||
[[el:Πρότυπο:Portal]] | [[el:Πρότυπο:Portal]] | ||
[[hi:साँचा:Portal/doc]] | [[hi:साँचा:Portal/doc]] | ||
[[es:Plantilla: | [[es:Plantilla:Portal2]] | ||
[[eo:Ŝablono:Portalo]] | [[eo:Ŝablono:Portalo]] | ||
[[eu:Txantiloi:Atari]] | [[eu:Txantiloi:Atari]] |
Revision as of 06:05, 25 May 2008
This is a documentation subpage for Template:Portal. It may contain usage information, categories and other content that is not part of the original template page. |
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}} |