Template:DayJobCrossTabIcon: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace
mNo edit summary
imported>Eabrace
mNo edit summary
 
Line 1: Line 1:
[[File:{{{Image}}}|20px|link={{BadgeLink{{!}}{{{Badge}}}}}|{{{Badge}}}]]<noinclude>
[[File:{{{Image}}}|20px|link={{{Badge}}} Badge|{{{Badge}}}]]<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:00, 25 August 2010

[[File:{{{Image}}}|20px|link={{{Badge}}} Badge|{{{Badge}}}]]

[edit] [purge] Documentation

Usage

This template is designed for use in the cross-tab tables on the Day Jobs page. It provides a badge icon that links to the badge's article and sets the icon's ALT text to the name of the badge. This saves space in the table and allows a user to hover over the icon to see what badge it represents and/or click the icon to open the related badge article.

Two parameters are required when using this template.

Image
This is the name of the badge's in-game icon. (NOTE: do not place "Image:" or "File:" at the beginning of the file name. The template does this automatically.)
Badge
This is the name of the badge. (NOTE: Use only the badge name, not the name of the badge's article. Thus, "City Official" would be the proper entry value, not "City Official Badge."

Example

{{DayJobCrossTabIcon|Image=Badge DayJob ShopKeeper.png|Badge=Price Gouger}}

Price Gouger

See also