Difference between revisions of "Template:Disease icon"
From Project: Gorgon Wiki
m |
(Added icons for three curses.) |
||
Line 55: | Line 55: | ||
| Severe Agoraphobia = 3661 | | Severe Agoraphobia = 3661 | ||
| Winter Lethargy = 3655 | | Winter Lethargy = 3655 | ||
+ | | Scorched = 3779 | ||
+ | | Wrath of Enoyos = 3781 | ||
+ | | Defiler of Enoyos = 3781 | ||
| #default = {{ #if: {{ #pos: {{{1|}}} | : }} | 4003 | <span style="color:red">Error: Disease not found</span> }} | | #default = {{ #if: {{ #pos: {{{1|}}} | : }} | 4003 | <span style="color:red">Error: Disease not found</span> }} | ||
}}.png | | }}.png | |
Revision as of 20:54, 8 July 2020
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}}
Forcing 32x32 size
<span class="extimage32px">{{Disease icon|Feeble Fever}}</span>
Forcing 64x64 size
<span class="extimage64px">{{Disease icon|Feeble Fever}}</span>