Template:Infobox/Weapon/Gameplay: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(added new parameters based on tag data, reorganized based on tag data and infinite ui)
Line 9: Line 9:
{{#if:{{{hidea|}}}||
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section1-title|Gameplay role}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section1-title|Gameplay role}}}
}}
|-
<!-- Tag Name -->
{{#if:{{{tagname|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{tagname-title|Tag name}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{tagname}}}
}}
}}
|-
|-
Line 43: Line 51:
}}
}}
|-
|-
<!-- Range -->
<!-- Firing mode -->
{{#if:{{{range|}}}|
{{#if:{{{mode|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{range-title|Effective range}}}:
{{{mode-title|Firing mode}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{range}}}
{{{mode}}}
}}
}}
|-
|-
Line 72: Line 80:
}}
}}
|-
|-
<!-- Firing mode -->
<!-- Damage -->
{{#if:{{{mode|}}}|
{{#if:{{{damage|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{damage-title|Damage}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{damage}}}
}}
|-
<!-- Splash damage -->
{{#if:{{{aoedamage|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{aoedamage-title|Splash damage}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{aoedamage}}}
}}
|-
<!-- Splash radius -->
{{#if:{{{aoeradius|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{aoeradius-title|Splash radius}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{aoeradius}}}
}}
|-
<!-- Projectile speed -->
{{#if:{{{projspeed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{mode-title|Firing mode}}}:
{{{projspeed-title|Projectile speed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mode}}}
{{{projspeed}}}
}}
}}
|-
|-
<!-- Damage -->
<!-- Max range -->
{{#if:{{{damage|}}}|
{{#if:{{{maxrange|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{damage-title|Damage}}}:
{{{maxrange-title|Max range}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{damage}}}
{{{maxrange}}}
}}
}}
|-
|-
Line 104: Line 136:
}}
}}
|-
|-
<!-- Projectile speed -->
<!-- Spread -->
{{#if:{{{projspeed|}}}|
{{#if:{{{spread|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{spread-title|Spread}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{spread}}}
}}
|-
<!-- Recoil -->
{{#if:{{{recoil|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{projspeed-title|Projectile speed}}}:
{{{recoil-title|Recoil}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{projspeed}}}
{{{recoil}}}
}}
}}
|-
|-
Line 126: Line 166:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{maxammo}}}
{{{maxammo}}}
}}
|-
<!-- Heat per shot -->
{{#if:{{{heat|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{heat-title|Heat per shot}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{heat}}}
}}
|-
<!-- Shots per battery -->
{{#if:{{{battery|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{battery-title|Shots per battery}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{battery}}}
}}
|-
<!-- Zoom -->
{{#if:{{{zoom|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{zoom-title|Zoom}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{zoom}}}
}}
}}
|-
|-

Revision as of 20:58, January 22, 2023

vde
Template Documentation
{{Infobox/Weapon/Gameplay
|name=
|image=
|faction=
|tier=
|class=
|type=
|mode=
|range=
|counterparts=
|damage=
|aoedamage=
|aoeradius=
|supercombine=
|dmgtype=
|projspeed=
|maxrange=
|rof=
|accuracy=
|spread=
|recoil=
|mag=
|maxammo=
|heat=
|battery=
|zoom=
|melee=
|tagname=
|generalvariants=
|hovariants=
|h5reqvariants=
|hinfvariants=
|scopes=
|attachments=
}}