Difference between revisions of "Template:Infobox Weapon/tags/doc"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
<code><nowiki>{{Template:Infobox_Weapon/tags|(TEXT)}}</nowiki></code> | <code><nowiki>{{Template:Infobox_Weapon/tags|(TEXT)}}</nowiki></code> | ||
<!-- Others (Note: the argument "tags" will also parse for weapon type) --> | |||
(TEXT) = It creates an image if the text is in argument 1.<br> | (TEXT) = It creates an image if the text is in argument 1.<br> | ||
Available | {| class="wikitable" | ||
|+ Available matches | |||
! Parameter || Result | |||
|- | |||
| style="width:1em" | fire | |||
| {{Template:Infobox_Weapon/tags|(fire)}} | |||
|- | |||
| acid || {{Template:Infobox_Weapon/tags|(acid)}} | |||
|- | |||
| serrate || {{Template:Infobox_Weapon/tags|(serrate)}} | |||
|- | |||
| frost|| {{Template:Infobox_Weapon/tags|(frost)}} | |||
|- | |||
| electro|| {{Template:Infobox_Weapon/tags|(electro)}} | |||
|- | |||
| sap|| {{Template:Infobox_Weapon/tags|(sap)}} | |||
|- | |||
| soften|| {{Template:Infobox_Weapon/tags|(soften)}} | |||
|- | |||
| bounty|| {{Template:Infobox_Weapon/tags|(bounty)}} | |||
|- | |||
| hinder|| {{Template:Infobox_Weapon/tags|(hinder)}} | |||
|- | |||
| spotted|| {{Template:Infobox_Weapon/tags|(spotted)}} | |||
|- | |||
! colspan=2 | Category Exclusive Matches<br><span style="font-weight: normal;">Is automatically done with values calc.<br>Can be disabled if <code>nocat</code> is true<br>If <code>nocat</code> is false, it will require these tags</span> | |||
|- | |||
! 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. | Note: This template has case-sensitive arguments, i.e., putting in capital letters will not work. | ||
Line 36: | Line 64: | ||
| <pre>{{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}}</pre> | | <pre>{{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}}</pre> | ||
| {{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}} | | {{Template:Infobox_Weapon/tags|(zselectrozsacidzs)}} | ||
|- | |||
| <pre>{{Template:Infobox_Weapon/tags|(acidacidacidshockfire)}}</pre> | |||
| {{Template:Infobox_Weapon/tags|(acidacidacidshockelectrofire}} | |||
|} | |} |
Latest revision as of 18:24, 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)}} |