Template:Portal

From Team Fortress Wiki
Revision as of 23:05, 8 February 2012 by Piemanmoo (talk | contribs) (Created page with "{{#ifeq: {{{size|}}} | small | {{Portalnavcell|image={{{image}}}|link={{{link}}}|text={{#if: {{{smalltext|}}} | {{{smalltext}}} | {{#if: {{{text|}}} | {{{text}}} | {{{link}}}}}}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[[{{{link}}}|      ]]
[[Image:{{{image}}}|150px|{{{link}}}]]
[[{{{link}}}|{{{link}}}]]

Usage

For use on Disambig pages.

Use nonlinktext to add whitespace to short entries by adding <br>&nbsp; for each needed line.


{{Portal
|image=<!-- Filename of image -->
|link=<!-- Article title for Page-->
|text=<!-- OPTIONAL override for name of page; "override=" always works -->
|nonlinktext=<!-- (OPTIONAL) Add "<br>&nbsp;" to add an extra line for formatting -->
|lines=<!-- (OPTIONAL) Add "auto" or character# to automate adding an extra line for formatting -->
|size=<!-- (OPTIONAL) Add "small" to use Template:Portalnavcell instead -->
}}

Note: size="small" option allows for "smalltext" but does not use "nonlinktext".