Difference between revisions of "Template:Infobox Weapon/tags"

From Sunrust Wiki
Jump to navigation Jump to search
m
m (rearranged elemental effects/innates, and replaced "Innate serrate" to "Inflicts serrate")
Line 1: Line 1:
<includeonly>{{#if:{{In_str
<includeonly><!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= fire
   |target= fire
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Debuff_fire.jpg|Innate Fire|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:Debuff_fire.jpg|Innate Fire|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= serrate
   |target= frost
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:H_debuff_bleed.jpg|Innate serrate|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:H_debuff_frost.jpg|Innate Frost or Ice|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= acid
   |target= acid
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_acid.jpg|Innate Acid|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:Z_debuff_acid.jpg|Innate Acid|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= electro
   |target= electro
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_shock.jpg|Innate Electro|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:Z_debuff_shock.jpg|Innate Electro|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= frost
   |target= soften
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:H_debuff_frost.jpg|Innate Frost or Ice|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:Z_debuff_soften.jpg|Innate Soften|link=]]|}}!<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= hinder
   |target= sap
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Hinder|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:Z_debuff_sap.jpg|Innate Sap|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= soften
   |target= hinder
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_soften.jpg|Innate Soften|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Hinder|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= sap
   |target= serrate
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_sap.jpg|Innate Sap|link=]]|}}{{#if:{{In_str
   |plain=true}}|[[File:H_debuff_bleed.jpg|Inflicts Serrate|link=]]|}}<!--
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= bounty
   |target= bounty

Revision as of 14:26, 18 December 2021

50px Template documentation[view] [edit] [history] [purge]

This template is used for implementing which "Innate" the weapon has.

Usage

{{Template:Infobox_Weapon/tags|(TEXT)}}

(TEXT) = It creates an image if the text is in argument 1.

Available matches
Parameter Result
fire Innate Fire!
acid Innate Acid!
serrate !Inflicts Serrate
frost Innate Frost or Ice!
electro Innate Electro!
sap !Innate Sap
soften Innate Soften!
bounty !Innate Bounty
hinder !Innate Hinder
spotted !
Category Exclusive Matches
Is automatically done with values calc.
Can be disabled if nocat is true
If nocat is false, it will require these tags
Parameter Description
melee Defines the weapon as melee
gun Defines the weapon as gun
medtool Defines the weapon as medical tool, e.g.: Medical Kit, Critical Care
heal Defines the weapon as weapon with healing implemented.
consumable Defines the weapon as consumable, e.g.: Grenades.

Note: This template has case-sensitive arguments, i.e., putting in capital letters will not work.

Example

Wikitext Result
{{Template:Infobox_Weapon/tags|(bountyfire)}}
Innate Fire!Innate Bounty
{{Template:Infobox_Weapon/tags|(BOUNTYFIRE)}}
!
{{Template:Infobox_Weapon/tags|(BOUNTYFIREfrosthinder)}}
Innate Frost or Ice!Innate Hinder
{{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}}
Innate AcidInnate Electro!
{{Template:Infobox_Weapon/tags|(acidacidacidshockfire)}}
Innate FireInnate AcidInnate Electro!