Difference between revisions of "Template:Disease icon"
From Project: Gorgon Wiki
m (Added icon list.) |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ #if: {{{1|}}} | | {{ #if: {{{1|}}} | | ||
− | {{ #replace: http://cdn.projectgorgon.com/ | + | {{ #replace: http://cdn.projectgorgon.com/v370/icons/icon_{{ #switch: {{{1|None}}} |
| Feeble Fever = 2217 | | Feeble Fever = 2217 | ||
| Slimy Tremors = 2217 | | Slimy Tremors = 2217 | ||
Line 8: | Line 8: | ||
| Lice = 2217 | | Lice = 2217 | ||
| Rotbelly = 2217 | | Rotbelly = 2217 | ||
+ | | Hexapox = 2217 | ||
+ | | Swamp Tick = 6451 | ||
+ | | Varleech = 6450 | ||
| Word of Power: Leprosy = 4004 | | Word of Power: Leprosy = 4004 | ||
| Frog Flu = 2217 | | Frog Flu = 2217 | ||
Line 17: | Line 20: | ||
| 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 30: | Line 33: | ||
| Snow Raven = 3478 | | Snow Raven = 3478 | ||
| Mallard Form = 3609 | | Mallard Form = 3609 | ||
+ | | Butterfly Transformation = 6329 | ||
| Echolocation = 3485 | | Echolocation = 3485 | ||
| Combat Echolocation = 3485 | | Combat Echolocation = 3485 | ||
Line 46: | Line 50: | ||
| 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 | ||
Line 54: | Line 58: | ||
| Spider Phobia = 3253 | | Spider Phobia = 3253 | ||
| Severe Agoraphobia = 3661 | | Severe Agoraphobia = 3661 | ||
+ | | Winter Lethargy = 3655 | ||
+ | | Scorched = 3779 | ||
+ | | Wrath of Enoyos = 3781 | ||
+ | | Defiler of Enoyos = 3781 | ||
+ | | Spirit Virus = 2198 | ||
+ | | Frosty Forever = 3501 | ||
+ | | Brain Fungus = 2134 | ||
+ | | Mantis Aversion = 2103 | ||
+ | | Poor Student = 3645 | ||
+ | | Darkness Rebuked = 3443 | ||
| #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 | | ||
− | http://cdn.projectgorgon.com/ | + | http://cdn.projectgorgon.com/v356/icons/icon_<span style="color:red">Error: Disease not found</span>.png | |
<span style="color:red">Error: Disease not found</span> }} | [[File:Item-icon-none.png]] }}<noinclude> | <span style="color:red">Error: Disease not found</span> }} | [[File:Item-icon-none.png]] }}<noinclude> | ||
{{Disease icon/Explanation}} | {{Disease icon/Explanation}} | ||
[[Category:Formatting templates|ItemT]] | [[Category:Formatting templates|ItemT]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:53, 17 October 2022
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>