Difference between revisions of "Template:GunParam"
(let me test this before approving) |
(should be good to go?) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifeq:{{{1|}}}|normalization| | + | <includeonly>{{#ifeq:{{{1|}}}|normalization|<!-- |
| − | {{#switch:{{{shell|}}} | + | -->{{#switch:{{{shell|}}} |
|ac_shell_tank = {{normalization|shell= ap}} | |ac_shell_tank = {{normalization|shell= ap}} | ||
|ap = {{normalization|shell= ap}} | |ap = {{normalization|shell= ap}} | ||
| Line 96: | Line 96: | ||
|tp_tank = {{normalization|shell= ap}} | |tp_tank = {{normalization|shell= ap}} | ||
|tphv_tank = {{normalization|shell= ap}} | |tphv_tank = {{normalization|shell= ap}} | ||
| − | }} | + | }}<!-- |
| − | |}} | + | -->|}} |
| − | {{#ifeq:{{{1|}}}|ricochet| | + | {{#ifeq:{{{1|}}}|ricochet|<!-- |
| − | {{#switch:{{{shell|}}} | + | -->{{#switch:{{{shell|}}} |
|ac_shell_tank = {{ricochet|shell= ap|chance={{{2|}}}}} | |ac_shell_tank = {{ricochet|shell= ap|chance={{{2|}}}}} | ||
|ap = {{ricochet|shell= ap|chance={{{2|}}}}} | |ap = {{ricochet|shell= ap|chance={{{2|}}}}} | ||
| Line 195: | Line 195: | ||
|tp_tank = {{ricochet|shell= ap|chance={{{2|}}}}} | |tp_tank = {{ricochet|shell= ap|chance={{{2|}}}}} | ||
|tphv_tank = {{ricochet|shell= ap|chance={{{2|}}}}} | |tphv_tank = {{ricochet|shell= ap|chance={{{2|}}}}} | ||
| − | }} | + | }}<!-- |
| − | |}}</includeonly><noinclude> | + | -->|}}</includeonly><noinclude> |
| − | Gives either the ricochet chance or the normalization angle of a given shell | + | Gives either the ricochet chance or the normalization angle of a given shell. '''You must use the code name for the shell.''' |
| − | <nowiki>{{gunParam|shell= |normalization/ricochet|0/50/100}}</nowiki> | + | <nowiki>{{gunParam|shell= |normalization/ricochet|0/50/100(only for ricochet)}}</nowiki> |
</noinclude> | </noinclude> | ||
Latest revision as of 17:13, 1 January 2020
Gives either the ricochet chance or the normalization angle of a given shell. You must use the code name for the shell.
{{gunParam|shell= |normalization/ricochet|0/50/100(only for ricochet)}}

