Difference between revisions of "Template:Infobox Weapon/tags"
Jump to navigation
Jump to search
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
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= | |target= frost | ||
|nomatch= | |||
|plain=true}}|[[File:H_debuff_frost.jpg|Innate Ice|link=]]|}}<!-- | |||
-->{{#if:{{In_str | |||
|source={{{1|}}} | |||
|target= electro | |||
|nomatch= | |nomatch= | ||
|plain=true}}|[[File: | |plain=true}}|[[File:Z_debuff_shock.jpg|Innate Electro|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= | |target= soften | ||
|nomatch= | |nomatch= | ||
|plain=true}}|[[File: | |plain=true}}|[[File:Z_debuff_soften.jpg|Innate Soften|link=]]|}}<!-- | ||
-->{{#if:{{In_str | |||
|source={{{1|}}} | |source={{{1|}}} | ||
|target= | |target= sap | ||
|nomatch= | |nomatch= | ||
|plain=true}}|[[File: | |plain=true}}|[[File:Z_debuff_sap.jpg|Innate Sap|link=]]|}}<!-- | ||
-->{{#if:{{In_str | |||
|source={{{1|}}} | |source={{{1|}}} | ||
|target= hinder | |target= hinder | ||
|nomatch= | |nomatch= | ||
|plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Hinder|link=]]|}}{{#if:{{In_str | |plain=true}}|[[File:Z_debuff_hinder.jpg|Innate Hinder|link=]]|}}<!-- | ||
-->{{#if:{{In_str | |||
|source={{{1|}}} | |source={{{1|}}} | ||
|target= | |target= spotted | ||
|nomatch= | |nomatch= | ||
|plain=true}}|[[File: | |plain=true}}|[[File:Z_debuff_spotted.jpg|Innate Spotted|link=]]|}}<!-- | ||
-->{{#if:{{In_str | |||
|source={{{1|}}} | |source={{{1|}}} | ||
|target= | |target= serrate | ||
|nomatch= | |nomatch= | ||
|plain=true}}|[[File: | |plain=true}}|[[File:H_debuff_bleed.jpg|Inflicts Serrate|link=]]|}}<!-- | ||
-->{{#if:{{In_str | |||
|source={{{1|}}} | |source={{{1|}}} | ||
|target= bounty | |target= bounty |
Latest revision as of 18:01, 22 December 2021
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.
Parameter | Result |
---|---|
fire | |
acid | |
serrate | |
frost | |
electro | |
sap | |
soften | |
bounty | |
hinder | |
spotted | |
Category Exclusive Matches Is automatically done with values calc. Can be disabled if nocat is trueIf 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)}} |
|
{{Template:Infobox_Weapon/tags|(BOUNTYFIRE)}} |
|
{{Template:Infobox_Weapon/tags|(BOUNTYFIREfrosthinder)}} |
|
{{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}} |
|
{{Template:Infobox_Weapon/tags|(acidacidacidshockfire)}} |
The above documentation is transcluded from Template:Infobox Weapon/tags/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |