Diferencia entre revisiones de «Plantilla:Infobox/Arma»
De Inkipedia
m (troubleshoot brackets) |
m (will show subheaders if level and alt1 are present (for the hero and grizzco infoboxes)) |
||
Línea 58: | Línea 58: | ||
{{InfoboxProperty|color={{{color}}}|Durability|{{#if:{{{durability|}}}|{{Infobox/Meter|color={{{color}}}|{{{durability}}}}}}}|style=line-height: 100%;}} | {{InfoboxProperty|color={{{color}}}|Durability|{{#if:{{{durability|}}}|{{Infobox/Meter|color={{{color}}}|{{{durability}}}}}}}|style=line-height: 100%;}} | ||
{{InfoboxProperty|color={{{color}}}|Handling|{{#if:{{{handling|}}}|{{Infobox/Meter|color={{{color}}}|{{{handling}}}}}}}|style=line-height: 100%;}} | {{InfoboxProperty|color={{{color}}}|Handling|{{#if:{{{handling|}}}|{{Infobox/Meter|color={{{color}}}|{{{handling}}}}}}}|style=line-height: 100%;}} | ||
{{#ifeq:{{{category|}}}|Main| | {{#ifeq:{{{category|}}}|Main|{{#if:{{{level}}}| | ||
{{!}}- | {{!}}- | ||
!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| Acquirement | !style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Acquirement | ||
{{InfoboxProperty|color={{{color}}}|{{color-link|Level|black}}|{{#if:{{{level|}}}|{{{level}}}}}}} | {{InfoboxProperty|color={{{color}}}|{{color-link|Level|black}}|{{#if:{{{level|}}}|{{{level}}}}}}} | ||
{{InfoboxProperty|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|{{#switch:{{{game|}}} | {{InfoboxProperty|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|{{#switch:{{{game|}}} | ||
Línea 81: | Línea 81: | ||
{{#ifeq:{{{category|}}}|Main| | {{#ifeq:{{{category|}}}|Main| | ||
{{!}}- | {{!}}- | ||
!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}} | !style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| Specifications | ||
{{InfoboxProperty|color={{{color}}}|[[Mobility#Weight_classes|<span style="color:black;">Weight</span>]]|{{#if:{{{weight|}}}|{{{weight}}}}}}} | {{InfoboxProperty|color={{{color}}}|[[Mobility#Weight_classes|<span style="color:black;">Weight</span>]]|{{#if:{{{weight|}}}|{{{weight}}}}}}} | ||
{{InfoboxProperty|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}} | {{InfoboxProperty|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}} | ||
Línea 89: | Línea 89: | ||
{{InfoboxProperty|color={{{color}}}|Rate of fire|{{{rate|}}}}} | {{InfoboxProperty|color={{{color}}}|Rate of fire|{{{rate|}}}}} | ||
{{InfoboxProperty|color={{{color}}}|Muzzle velocity|{{{velocity|}}}}} | {{InfoboxProperty|color={{{color}}}|Muzzle velocity|{{{velocity|}}}}} | ||
{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}| | |||
{{!}}- | {{!}}- | ||
! | ! <hr>|}}|}} | ||
{{InfoboxProperty|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}} | {{InfoboxProperty|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}} | ||
{{InfoboxProperty|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}} | {{InfoboxProperty|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}} |
Revisión del 13:09 6 feb 2022
Displays an infobox for a weapon. This is a chained template intended to be used only by Infobox/Weapon.