Template:Disease icon: Difference between revisions
Beginning page setup. |
m Adding Dreadfin. |
||
| (13 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/v446/icons/icon_{{ #switch: {{{1|None}}} | ||
| Feeble Fever = 2217 | | Feeble Fever = 2217 | ||
| Slimy Tremors = 2217 | |||
| Lunatic Shakes = 2217 | |||
| Creakliver = 2217 | |||
| Roundworms = 2217 | |||
| Lice = 2217 | |||
| Rotbelly = 2217 | |||
| Hexapox = 2217 | |||
| Swamp Tick = 6451 | |||
| Varleech = 6450 | |||
| Word of Power: Leprosy = 4004 | |||
| Frog Flu = 2217 | |||
| Feeling Ill = 5702 | |||
| Mummy Rot = 3701 | |||
| Mummy Ache = 3701 | |||
| Mummy Wilt = 3701 | |||
| Mummy Limp = 3701 | |||
| Broken Bone = 3575 | |||
| Fevered Trismus = 3548 | |||
| Aged (Disease)= 3544 | |||
| Concussion Damage = 3481 | |||
| Magnacephalus = 5372 | |||
| Haunted = 2196 | |||
| Raven Form = 3478 | |||
| Nameless = 2103 | |||
| Conduction Aphasia = 2103 | |||
| Bovine Reaction = 2156 | |||
| Gruesome Spooky Punch = 5113 | |||
| Combat Disorientation = 3424 | |||
| Owl Form = 3609 | |||
| Snow Raven = 3478 | |||
| Mallard Form = 3609 | |||
| Butterfly Transformation = 6329 | |||
| Echolocation = 3485 | |||
| Combat Echolocation = 3485 | |||
| Permanent Spore Damage = 3424 | |||
| Personal Rainstorm = 3424 | |||
| Gored Pockets = 3322 | |||
| Darkness Imbued = 3489 | |||
| Stolen Healing Potential = 3655 | |||
| Rotten Attitude = 3050 | |||
| Slimed Legs = 3068 | |||
| Not So Smart Anymore = 3425 | |||
| Toasted Flesh = 2103 | |||
| Slimed Legs 2 = 3068 | |||
| Fouled Lungs = 3068 | |||
| Crystallized Organs = 3068 | |||
| Lost Direction Sense = 3489 | |||
| Darkened Heart = 3489 | |||
| Aged = 3589 | |||
| Baruti's Curse = 3701 | |||
| Pro-Ranalon = 3489 | |||
| Egg Infestation = 5712 | |||
| Woozy = 2103 | |||
| Vipered = 2103 | |||
| Spider Phobia = 3253 | |||
| 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 | |||
| Dried Out = 2245 | |||
| Life Siphon = 3443 | |||
| Permanent Nerve Damage = 3637 | |||
| Shriveled Arms = 3781 | |||
| Scared of Dragons = 3778 | |||
| Guardian of Light = 2153 | |||
| Guardian of Fear = 2153 | |||
| Scary Bandit = 3701 | |||
| Touched by Magic = 3790 | |||
| Swollen Hands = 13004 | |||
| Dreadfin's Curse =3854 | |||
| #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/v446/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}} | ||
[[Category:Formatting templates|ItemT]] | [[Category:Formatting templates|ItemT]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:52, 29 March 2026
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/v446/icons/icon_2217.png | http://cdn.projectgorgon.com/v446/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/v446/icons/icon_2217.png | http://cdn.projectgorgon.com/v446/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/v446/icons/icon_2217.png | http://cdn.projectgorgon.com/v446/icons/icon_Error: Disease not found.png | Error: Disease not found }}