Template:Portal/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
m parentheses
meta>Sardanaphalus
→‎Examples: replaced
Line 16: Line 16:
! Code<hr/> !! Result<hr/>
! Code<hr/> !! Result<hr/>
|-
|-
| <pre>{{portal}}</pre>
| <small><pre>{{portal}}</pre></small>
| {{portal}}
| {{portal}}
|-
|-
| <pre>{{portal|Science}}</pre>
| <small><pre>{{portal|Science}}</pre></small>
| {{portal|Science}}
| {{portal|Science}}
|-
|-
| <pre>{{portal|Science|Placeholder.png}}</pre>
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg}}</pre></small>
| {{portal|Science|Placeholder.png}}
| {{portal|Spaceflight|RocketSunIcon.svg}}
|-
|-
| <pre>{{portal|Science|Placeholder.png|40}}</pre>
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|size=50}}</pre></small>
| {{portal|Science|Placeholder.png|40}}
| {{portal|Spaceflight|RocketSunIcon.svg|size=50}}
|-
|-
| <pre>{{portal|Science|Placeholder.png|40|80}}</pre>
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|boxsize=50}}</pre></small>
| {{portal|Science|Placeholder.png|40|80}}
| {{portal|Spaceflight|RocketSunIcon.svg|boxsize=50}}
|-
|-
| <pre>{{portal|Science|Placeholder.png|break=yes}}</pre>
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|break=yes}}</pre></small>
| {{portal|Science|Placeholder.png|break=yes}}
| {{portal|Spaceflight|RocketSunIcon.svg|break=yes}}
|-
|-
| <pre>{{portal|Science|Placeholder.png|break=yes|left=yes}}</pre>
| <small><pre>{{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}</pre></small>
| {{portal|Science|Placeholder.png|break=yes|left=yes}}
| {{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}
|}
|}



Revision as of 05:39, 28 February 2008

Use

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