Template:Disease icon: Difference between revisions
m Added icon list. |
mNo edit summary |
||
| Line 17: | Line 17: | ||
| Broken Bone = 3575 | | Broken Bone = 3575 | ||
| Fevered Trismus = 3548 | | Fevered Trismus = 3548 | ||
| Aged = 3544 | | Aged (Disease)= 3544 | ||
| Concussion Damage = 3481 | | Concussion Damage = 3481 | ||
| Magnacephalus = 5372 | | Magnacephalus = 5372 | ||
| Line 46: | Line 46: | ||
| Lost Direction Sense = 3489 | | Lost Direction Sense = 3489 | ||
| Darkened Heart = 3489 | | Darkened Heart = 3489 | ||
| Aged | | Aged = 3589 | ||
| Baruti's Curse = 3701 | | Baruti's Curse = 3701 | ||
| Pro-Ranalon = 3489 | | Pro-Ranalon = 3489 | ||
Revision as of 17:32, 17 July 2019
Description
This accepts a Disease name (including curses) as input and returns the in-game icon. Be aware that Disease icons have various sizes, and you can use CSS to easily resize them. 99% of the time, you'll want 32x32. If you do NEED 64x64, remember that some icons are not inherently that big so you'll lose image quality. See the Examples section below.
Syntax
{{Disease icon|<name>}}
Parameters
- <name>
- The name of the Disease or Curse. It must match exactly what is displayed in-game (e.g. "Feeble Fever", not "feeble fever" or "FeebleFever")
Examples
Basic Use
{{Disease icon|Feeble Fever}}
{{ #replace: http://cdn.projectgorgon.com/v321/icons/icon_2217.png | http://cdn.projectgorgon.com/v321/icons/icon_Error: Disease not found.png | Error: Disease not found }}
Forcing 32x32 size
<span class="extimage32px">{{Disease icon|Feeble Fever}}</span>
{{ #replace: http://cdn.projectgorgon.com/v321/icons/icon_2217.png | http://cdn.projectgorgon.com/v321/icons/icon_Error: Disease not found.png | Error: Disease not found }}
Forcing 64x64 size
<span class="extimage64px">{{Disease icon|Feeble Fever}}</span>
{{ #replace: http://cdn.projectgorgon.com/v321/icons/icon_2217.png | http://cdn.projectgorgon.com/v321/icons/icon_Error: Disease not found.png | Error: Disease not found }}