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

From Sunrust Wiki
Jump to navigation Jump to search
m (rearranged elemental effects/innates, and replaced "Innate serrate" to "Inflicts serrate")
m
Line 24: Line 24:
   |target= soften
   |target= soften
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_soften.jpg|Innate Soften|link=]]|}}!<!--
   |plain=true}}|[[File:Z_debuff_soften.jpg|Innate Soften|link=]]|}}<!--
-->{{#if:{{In_str
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
Line 35: Line 35:
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Hinder|link=]]|}}<!--
   |plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Hinder|link=]]|}}<!--
-->{{#if:{{In_str
  |source={{{1|}}}
  |target= spotted
  |nomatch=
  |plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Spotted|link=]]|}}<!--
-->{{#if:{{In_str
-->{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}

Revision as of 14:28, 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 Innate 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 FireInnate Bounty
{{Template:Infobox_Weapon/tags|(BOUNTYFIRE)}}
{{Template:Infobox_Weapon/tags|(BOUNTYFIREfrosthinder)}}
Innate Frost or IceInnate Hinder
{{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}}
Innate AcidInnate Electro
{{Template:Infobox_Weapon/tags|(acidacidacidshockfire)}}
Innate FireInnate AcidInnate Electro