Template:Disease icon: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
mNo edit summary
m Updated Template.
Line 68: Line 68:
| Poor Student = 3645
| Poor Student = 3645
| Darkness Rebuked = 3443
| 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
| #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 19:52, 24 December 2025

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/v421/icons/icon_2217.png | http://cdn.projectgorgon.com/v421/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/v421/icons/icon_2217.png | http://cdn.projectgorgon.com/v421/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/v421/icons/icon_2217.png | http://cdn.projectgorgon.com/v421/icons/icon_Error: Disease not found.png | Error: Disease not found }}