Difference between revisions of "Template:Disease icon"

From Project: Gorgon Wiki
Jump to: navigation, search
m
m (Added icon list.)
Line 2: Line 2:
 
{{ #replace: http://cdn.projectgorgon.com/v321/icons/icon_{{ #switch: {{{1|None}}}
 
{{ #replace: http://cdn.projectgorgon.com/v321/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
 +
| 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 = 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
 +
| 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 2 = 3589
 +
| Baruti's Curse = 3701
 +
| Pro-Ranalon = 3489
 +
| Egg Infestation = 5712
 +
| Woozy = 2103
 +
| Vipered = 2103
 +
| Spider Phobia = 3253
 +
| Severe Agoraphobia = 3661
 
| #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 09:43, 17 July 2019

Item-icon-none.png

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}}

icon_2217.png


Forcing 32x32 size

<span class="extimage32px">{{Disease icon|Feeble Fever}}</span>

icon_2217.png


Forcing 64x64 size

<span class="extimage64px">{{Disease icon|Feeble Fever}}</span>

icon_2217.png