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

From Sunrust Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{In_str |source={{{1|}}} |target= fire |nomatch= |plain=true}}|Innate Fire|link=|}} {{#if:{{In_str |source={{{1|}}} |t...")
 
m
Line 3: Line 3:
   |target= fire
   |target= fire
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Debuff_fire.jpg|Innate Fire|link=]]|}}
   |plain=true}}|[[File:Debuff_fire.jpg|Innate Fire|link=]]|}}{{#if:{{In_str
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= serrate
   |target= serrate
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:H_debuff_bleed.jpg|Innate serrate|link=]]|}}
   |plain=true}}|[[File:H_debuff_bleed.jpg|Innate serrate|link=]]|}}{{#if:{{In_str
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= acid
   |target= acid
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_acid.jpg|Innate Acid|link=]]|}}
   |plain=true}}|[[File:Z_debuff_acid.jpg|Innate Acid|link=]]|}}{{#if:{{In_str
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= electro
   |target= electro
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_shock.jpg|Innate Electro|link=]]|}}
   |plain=true}}|[[File:Z_debuff_shock.jpg|Innate Electro|link=]]|}}{{#if:{{In_str
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= frost
   |target= frost
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:H_debuff_frost.jpg|Innate Frost or Ice|link=]]|}}
   |plain=true}}|[[File:H_debuff_frost.jpg|Innate Frost or Ice|link=]]|}}{{#if:{{In_str
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= hinder
   |target= hinder
   |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
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |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|}}}
   |target= sap
   |target= sap
   |nomatch=
   |nomatch=
   |plain=true}}|[[File:Z_debuff_sap.jpg|Innate Sap|link=]]|}}
   |plain=true}}|[[File:Z_debuff_sap.jpg|Innate Sap|link=]]|}}{{#if:{{In_str
{{#if:{{In_str
   |source={{{1|}}}
   |source={{{1|}}}
   |target= bounty
   |target= bounty

Revision as of 02:20, 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 Innate 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 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