Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:DayJobCrossTabIcon/doc"

From Paragon Wiki Archive
Jump to: navigation, search
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...")
 
m
 
(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

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