Template:DayJobCrossTabIcon/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Eabrace (historical) m (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== <nowiki>{{DayJobCrossTabIcon|Image=Badge DayJob ShopKeeper.png|Badg...") |
imported>Eabrace (historical) mNo edit summary |
||
(2 intermediate revisions 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><!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Badge Templates]] | |||
</includeonly> | </includeonly> |
Latest revision as of 19:01, 25 August 2010
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}}
See also