Template:Mob Icon: Difference between revisions

From HorizonXI Wiki
Tag: visualeditor-wikitext
 
(fixed error in template and added examples on the page)
 
Line 1: Line 1:
{{#switch:{{lc:{{{1|{{{icon}}}}}}}}
<onlyinclude><includeonly>{{#switch:{{lc:{{{1|{{{icon}}}}}}}}
| blunt = [[File:Blunticon.png|20px|Blunt Weapons: Hand-to-Hand, Club, Staff, Harlequin Frame, Stormwaker Frame]]
| blunt = {{blunt}}
| slashing = [[File:Slashingicon.png|24px|Slashing Weapons: Axe, Great Axe, Great Sword, Sword, Scythe, Katana, Great Katana, Valoredge Frame]]
| slashing = {{slashing}}
| piercing = [[File:Piercingicon.png|20px|Piercing Weapons: Dagger, Polearm, Archery, Marksmanship, Shuriken, Sharpshot Frame]]
| piercing = {{piercing}}
| drain = [[File:Check.png|Susceptible to Drain]]
| drain = [[File:Check.png|Susceptible to Drain]]
| aspir = [[File:Check.png|Susceptible to Aspir]]
| aspir = [[File:Check.png|Susceptible to Aspir]]
| aspirmages = [[File:Check.png|Susceptible to Aspir]] (Mage jobs only)
| aspirmages = [[File:Check.png|Susceptible to Aspir]] (Mage jobs only)
| charm = [[File:Check.png|Able to be charmed]]
| charm | charmable = [[File:Check.png|Able to be charmed]]
| charmable = [[File:Check.png|Able to be charmed]]
| pankration = [[File:Check.png|Able to be captured]]
| pankration = [[File:Check.png|Able to be captured]]
| x = [[File:Eks.png]]
| x | n | no = [[File:Eks.png]]
}}<noinclude>
| c | y | yes = [[File:Check.png]]
}}</includeonly></onlyinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
Line 17: Line 17:
</pre>
</pre>
*Produces icons for use in monster family pages.
*Produces icons for use in monster family pages.
</noinclude>
 
===Available Icons===
{| class="horizon-table npc-table}}
! Command !! Result
|-
| blunt || {{Mob Icon|blunt}}
|-
| slashing || {{Mob Icon|slashing}}
|-
| piercing || {{Mob Icon|piercing}}
|-
| drain || {{Mob Icon|drain}}
|-
| aspir || {{Mob Icon|aspir}}
|-
| aspirmages || {{Mob Icon|aspirmages}}
|-
| charm / charmable || {{Mob Icon|charm}}
|-
| pankration || {{Mob Icon|pankration}}
|-
| x / n / no || {{Mob Icon|x}}
|-
| c / y / yes || {{Mob Icon|y}}
 
|}

Latest revision as of 23:40, 7 July 2024

Usage

{{Mob Icon|<icon name>}}
  • Produces icons for use in monster family pages.

Available Icons

Command Result
blunt Blunt Weapons: Hand-to-Hand, Club, Staff, Harlequin Frame, Stormwaker Frame
slashing Slashing Weapons: Axe, Great Axe, Great Sword, Sword, Scythe, Katana, Great Katana, Valoredge Frame
piercing Piercing Weapons: Dagger, Polearm, Archery, Marksmanship, Shuriken, Sharpshot Frame
drain Susceptible to Drain
aspir Susceptible to Aspir
aspirmages Susceptible to Aspir (Mage jobs only)
charm / charmable Able to be charmed
pankration Able to be captured
x / n / no Eks.png
c / y / yes Check.png