Template:Augury icon: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{ #if: {{{1|}}} |  
{{ #if: {{{1|}}} |  
{{ #replace: http://cdn.projectgorgon.com/v356/icons/icon_{{ #switch: {{{1|None}}}
{{ #replace: http://cdn.projectgorgon.com/v370/icons/icon_{{ #switch: {{{1|None}}}
| Augury: Undying = 3633
| Augury: Undying = 3633
| Augury: Vulnerable = 3688
| Augury: Vulnerable = 3688

Revision as of 15: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}}

{{ #replace: http://cdn.projectgorgon.com/v370/icons/icon_3688.png | http://cdn.projectgorgon.com/v356/icons/icon_Error: Augury not found.png | Error: Augury not found }}


Forcing 32x32 size

<span class="extimage32px">{{Augury icon|Augury: All-Seeing}}</span>

{{ #replace: http://cdn.projectgorgon.com/v370/icons/icon_3633.png | http://cdn.projectgorgon.com/v356/icons/icon_Error: Augury not found.png | Error: Augury not found }}


Forcing 64x64 size

<span class="extimage64px">{{Augury icon|Augury: Wisdom}}</span>

{{ #replace: http://cdn.projectgorgon.com/v370/icons/icon_3633.png | http://cdn.projectgorgon.com/v356/icons/icon_Error: Augury not found.png | Error: Augury not found }}