Difference between revisions of "Template:Resistance"

From Legends of Hyrule
Jump to navigationJump to search
(Created page with "<includeonly>[[Category:Creatures with a {{LC:{{{1|}}}}} resistance]] [[{{LC:{{{1|}}}}} damage|{{LC:{{{1|}}}}}]]</includeonly><noinclude>==Usage== This template is to be used...")
 
m (rephrasing)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:Creatures with a {{LC:{{{1|}}}}} resistance]] [[{{LC:{{{1|}}}}} damage|{{LC:{{{1|}}}}}]]</includeonly><noinclude>==Usage==
+
<includeonly>{{#switch:{{{1}}}
 +
|Silver=[[Category:Creatures resistant to nonsilvered weapons]]
 +
|BPS=[[Category:Creatures resistant to bludgeoning damage]] [[Category:Creatures resistant to piercing damage]] [[Category:Creatures resistant to slashing damage]]
 +
|BSP=[[Category:Creatures resistant to bludgeoning damage]] [[Category:Creatures resistant to piercing damage]] [[Category:Creatures resistant to slashing damage]]
 +
|[[Category:Creatures resistant to {{LC:{{{1|}}}}}]]}} {{#switch:{{{1}}}
 +
|Silver=[[Silver Weapon (magic item){{!}}<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">damage from non-silver weapons</span>]]
 +
|BPS=[[Damage{{!}}<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">bludgeoning, piercing, slashing</span>]]
 +
|BSP=[[Damage{{!}}<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">bludgeoning, piercing, slashing</span>]]
 +
|[[Damage{{!}}<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{LC:{{{1|}}}}}</span>]]}}</includeonly><noinclude>==Usage==
 
This template is to be used with [[:Template:CreatureBox]].
 
This template is to be used with [[:Template:CreatureBox]].
  

Latest revision as of 13:56, 21 July 2022

Usage

This template is to be used with Template:CreatureBox.

Example of usage:
{{Resistance|fire}}
{{CR|fire}}