Template:Infobox weapon: Difference between revisions
Jump to navigation
Jump to search
Gaijinviking (talk | contribs) m Added Support for up to 10 Kill icons |
Technochips (talk | contribs) comments in example |
||
| Line 102: | Line 102: | ||
<pre> | <pre> | ||
{{Infobox weapon | {{Infobox weapon | ||
| title=Shotgun | | title=Shotgun <!-- optional, uses the article's name! --> | ||
| image=Shotgun | | image=Shotgun <!-- optional, attempts to use the article's name! --> | ||
| kill-icon=shotgun | | kill-icon=shotgun <!-- optional, attempts to get kill icon using the article's name! see [[Category:Kill icons]] for all kill icons --> | ||
| kill-icon-2=taunt_pyro | | kill-icon-2=taunt_pyro <!-- optional, to use whenever the weapon has multiple kill icons. can have up to 10 kill icons. --> | ||
| used-by=Engineer | | used-by=Engineer <!-- must be a class name --> | ||
| used-by-2=Soldier | | used-by-2=Soldier <!-- optional --> | ||
| used-by-3=Pyro | | used-by-3=Pyro | ||
| used-by-4=Heavy | | used-by-4=Heavy | ||
| slot=Primary | | slot=Primary <!-- must be a weapon slot type --> | ||
| slot-2=Secondary | | slot-2=Secondary <!-- optional --> | ||
| ammo-loaded=6 | | ammo-loaded=6 | ||
| ammo-carried=32 | | ammo-carried=32 | ||
| reload-type=Single | | reload-type=Single | ||
| loadout=yes | | loadout=yes <!-- use to make the loadout shows up --> | ||
| loadout-attributes={{Loadout neutral| | | loadout-kind=Shotgun <!-- optional, uses the article's name by default. use whenever the weapon "type" is different ingame! --> | ||
| loadout-2=yes | | loadout-propername=yes <!-- optional, to use whenever the weapon is shown as "The Shotgun" ingame! --> | ||
| loadout-2-attributes={{Loadout neutral| | | loadout-attributes= <!-- the attributes must match the ingame attributes --> | ||
{{Loadout positive|+200% damage}} | |||
{{Loadout negative|-50% fire speed}} | |||
<br> <!-- new line --> | |||
{{Loadout neutral|Sometimes, you just have to do things yourself.}} | |||
| loadout-2=yes <!-- completely optional, only usable with multiple "used-by" tags --> | |||
| loadout-2-attributes={{Loadout neutral|My shotgun disagrees with your will to live, maggot!}} | |||
| loadout-3=yes | | loadout-3=yes | ||
| loadout-4=yes | | loadout-4=yes | ||
| loadout-4-attributes={{Loadout neutral| | | loadout-4-attributes={{Loadout neutral|Heavy will make do with this.}} | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox]] | [[Category:Infobox]] | ||
</noinclude> | </noinclude> | ||
Revision as of 12:36, 27 July 2022
| Infobox weapon
|
|
|---|---|
| Basic Information
|
Example usage:
{{Infobox weapon
| title=Shotgun <!-- optional, uses the article's name! -->
| image=Shotgun <!-- optional, attempts to use the article's name! -->
| kill-icon=shotgun <!-- optional, attempts to get kill icon using the article's name! see [[Category:Kill icons]] for all kill icons -->
| kill-icon-2=taunt_pyro <!-- optional, to use whenever the weapon has multiple kill icons. can have up to 10 kill icons. -->
| used-by=Engineer <!-- must be a class name -->
| used-by-2=Soldier <!-- optional -->
| used-by-3=Pyro
| used-by-4=Heavy
| slot=Primary <!-- must be a weapon slot type -->
| slot-2=Secondary <!-- optional -->
| ammo-loaded=6
| ammo-carried=32
| reload-type=Single
| loadout=yes <!-- use to make the loadout shows up -->
| loadout-kind=Shotgun <!-- optional, uses the article's name by default. use whenever the weapon "type" is different ingame! -->
| loadout-propername=yes <!-- optional, to use whenever the weapon is shown as "The Shotgun" ingame! -->
| loadout-attributes= <!-- the attributes must match the ingame attributes -->
{{Loadout positive|+200% damage}}
{{Loadout negative|-50% fire speed}}
<br> <!-- new line -->
{{Loadout neutral|Sometimes, you just have to do things yourself.}}
| loadout-2=yes <!-- completely optional, only usable with multiple "used-by" tags -->
| loadout-2-attributes={{Loadout neutral|My shotgun disagrees with your will to live, maggot!}}
| loadout-3=yes
| loadout-4=yes
| loadout-4-attributes={{Loadout neutral|Heavy will make do with this.}}
}}