Template:DayJobCrossTabIcon/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace
mNo edit summary
imported>Eabrace
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
==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 ==
  <nowiki>{{DayJobCrossTabIcon|Image=Badge DayJob ShopKeeper.png|Badge=Price Gouger}}</nowiki>
  <nowiki>{{DayJobCrossTabIcon|Image=Badge DayJob ShopKeeper.png|Badge=Price Gouger}}</nowiki>


Line 7: Line 19:


==See also==
==See also==
* {{tl|DayJobCrossTabAccoladeIcon}}


<includeonly><!--
<includeonly><!--

Latest revision as of 19:01, 25 August 2010

This is a documentation subpage for Template:DayJobCrossTabIcon (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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