Indie Game Bundle Wiki
Advertisement
{{{icon}}} [{{{url}}} {{{message}}}]
Template documentation (for the above template, sometimes hidden or invisible)

Contents

This template is used by templates that need to display an external link as a banner within an infobox. Those templates are typically used by other templates themselves.

Usage

{{InfoboxExternalBanner
| icon = Full [[File:]] markup for the icon that should be shown for this banner. Typically includes a page link and a tooltip.
| message = Message text for the link part of this banner.
| url = URL for the link part of this banner.
| bcolor = Background color if something other than black. Optional.
| fcolor = Text color if something other than white. Optional.
| width = Width if other than 250px. Must be a valid CSS length. Optional.
}}

Example

Using Template:Votegreenlight as an example, this code is entered:

{{InfoboxExternalBanner
|icon = [[File:greenlight_available.png|Steam Greenlight|link=Steam Greenlight]]
|message = Vote for {{{2}}} on Steam Greenlight
|url = http://steamcommunity.com/sharedfiles/filedetails/?id={{{1}}}
|bcolor = #1f261c
}}

. . . which then displays like this:

Steam Greenlight Vote for {{{2}}} on Steam Greenlight
Visit Template:InfoboxExternalBanner/doc to change this text! (How does this work?)
Done making changes? Refresh this text! (Why?)
Advertisement