Difference between revisions of "Template:Augury icon"
From Project: Gorgon Wiki
m |
m |
||
Line 1: | Line 1: | ||
{{ #if: {{{1|}}} | | {{ #if: {{{1|}}} | | ||
− | {{ #replace: http://cdn.projectgorgon.com/ | + | {{ #replace: http://cdn.projectgorgon.com/v370/icons/icon_{{ #switch: {{{1|None}}} |
| Augury: Undying = 3633 | | Augury: Undying = 3633 | ||
| Augury: Vulnerable = 3688 | | Augury: Vulnerable = 3688 |
Latest revision as of 10:53, 17 October 2022
Description
This accepts a Augury name as input and returns the in-game icon. Be aware that Augury 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
{{Augury icon|<name>}}
Parameters
- <name>
- The name of the Augury. It must match exactly what is displayed in-game (e.g. "Augury: Vulnerable", not "Vulnerable" or "Augury:vulnerable")
Examples
Basic Use
{{Augury icon|Augury: Vulnerable}}
Forcing 32x32 size
<span class="extimage32px">{{Augury icon|Augury: All-Seeing}}</span>
Forcing 64x64 size
<span class="extimage64px">{{Augury icon|Augury: Wisdom}}</span>