Template:Infobox/WeaponEx: Difference between revisions

From Inkipedia, the Splatoon wiki
m (`)
m (changed introduced to added in to not confuse with reveal footage)
 
(105 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<includeonly>{{BubbleBox
<includeonly>{{BubbleBox
|style=width: 300px; padding: 8px; float: right; text-align: center; {{{style|}}}
|tags=tagInfobox
|style=width: 350px; padding: 8px; float: right; text-align: center; {{{style|}}}
|border={{{color}}}
|border={{{color}}}
|open
|open
}}<span class="tagTab" style="display: none; padding: 2px; margin-right: 2px; cursor: default; border-width: 1px 3px 1px 3px; border-style: solid; border-radius: 4px; font-size: 12px; border-color: rgba({{{color}}}, 0.5); background-color: rgba({{{color}}}, 0.2); outline-color: rgba({{{color}}}, 0.3); ">{{{game}}}</span>
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
<!-- IMAGES -->{{#if: {{{3d-image-1|}}}| {{#invoke:3D viewer advanced|viewer_new
|3d-image-1 = {{{3d-image-1|}}}
|image = {{#if:{{{image|}}}|{{{image}}}|{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png
}}
}}
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
| size =  {{{size|}}}
[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}}
| 3d-image-2 = {{{3d-image-2|}}}
|Splatoon  = S
| 3d-image-3 = {{{3d-image-3|}}}
|Splatoon 2 = S2
| 3d-image-4 = {{{3d-image-4|}}}
|#default  = S
| 3d-viewname-1 = {{{3d-viewname-1|}}}
}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|128px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]
| 3d-viewname-2 = {{{3d-viewname-2|}}}
{| style="border-spacing: 4px; text-align: left; width: 100%;"
| 3d-viewname-3 = {{{3d-viewname-3|}}}
{{InfoboxProperty|color={{{color}}}|Category|[[{{{category}}} Weapon|{{{category}}}]]|style=width: 100%;}}
| 3d-viewname-4 = {{{3d-viewname-4|}}}
{{InfoboxProperty|color={{{color}}}|Class|{{#if:{{{class|}}}|[[{{#ifeq:{{{class}}}|Slosher|Slosher (Type){{!}}}}{{{class}}}]]}}}}
| 3d-button-1 = {{{3d-button-1|}}}
{{InfoboxProperty|color={{{color}}}|Sub|{{#if:{{{sub|}}}|{{WeaponT|{{#switch:{{{game|}}}
| 3d-button-2 = {{{3d-button-2|}}}
|Splatoon  = S
| 3d-button-3 = {{{3d-button-3|}}}
|Splatoon 2 = S2
| 3d-button-4 = {{{3d-button-4|}}}
|#default  = S
}} | [[File:{{#if:{{{image|}}}|{{{image}}}|{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|{{{size|}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}
}}|Sub|{{{sub}}}}}}}}}
<!-- BASIC VALUES -->{| style="border-spacing: 4px; text-align: left; width: 100%;"
{{InfoboxProperty|color={{{color}}}|Special|{{#if:{{{special|}}}|{{WeaponT|{{#switch:{{{game|}}}
{{#ifeq:{{{category|}}}|Main|
|Splatoon  = S
{{!}}-
|Splatoon 2 = S2
! style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| {{#ifeq:{{{category|}}}|Main|Basic information}}
|#default  = S
{{Infobox/Property|color={{{color}}}|Category|{{#if:{{{category|}}}|[[{{{category}}} weapon|{{{category}}}]]}}|style=width: 100%;}}
}}|Special|{{{special}}}}}}}}}
{{Infobox/Property|color={{{color}}}|Class|{{#if:{{{class|}}}|{{#ifeq:{{GameShortened|{{{game|}}}}}|S3|{{Class|{{{class}}}}}|
{{InfoboxProperty|color={{{color}}}|Level|{{#if:{{{level|}}}|{{{level}}}}}}}
[[{{#ifeq:{{{class}}}|Slosher|Slosher (weapon class){{!}}}}{{#ifeq:{{{class}}}|Blaster|Blaster (weapon class){{!}}}}{{{class}}}]]}}}}}}
{{InfoboxProperty|color={{{color}}}|Cost|{{#if:{{{cost|}}}|{{Cost|{{{cost}}}|link=true|game={{{game}}}}}}}}}
{{Infobox/Property|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{#ifeq:{{{game|}}}|Splatoon 3|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}|var=Flat}}|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}}}}}}}}}
{{InfoboxProperty|color={{{color}}}|Availability|{{#if:{{{scroll|}}}|{{#if:{{{amiibo|}}}||[[File:S Icon Sunken Scroll.png|24px|link=Sunken Scrolls]] [[{{{scroll}}}]]}}}}{{#if:{{{amiibo|}}}|[[File:S2_Brand_amiibo.png|24px|link=amiibo]] {{#switch:{{{amiibo}}}
{{Infobox/Property|color={{{color}}}|{{color-link|Special weapon|black|Special}}|{{#if:{{{special|}}}|{{Weapon|{{GameShortened|{{{game|}}}}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}}&#32;{{{sub}}}|{{{special}}}}}}}}}}}
{{Infobox/Property|color={{{color}}}|Special&nbsp;points|{{#if:{{{points|}}}|{{{points}}}p}}}}
{{Infobox/Property|color = {{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Special&nbsp;depletion</span>]]|{{#if: {{{depletion|}}} | [[File:Specdep icon.png{{!}}24px{{!}}link=Special gauge#Depletion|Special gauge]] {{{depletion}}}}}}}
{{Infobox/Property|color={{{color}}}|Range|{{#if:{{{range|}}}|{{Infobox/Meter|color={{{color}}}|{{{range}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Damage|{{#if:{{{damage|}}}|{{Infobox/Meter|color={{{color}}}|{{{damage}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Impact|{{#if:{{{impact|}}}|{{Infobox/Meter|color={{{color}}}|{{{impact}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Fire&nbsp;rate|{{#if:{{{fire_rate|}}}|{{Infobox/Meter|color={{{color}}}|{{{fire_rate}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Charge&nbsp;speed|{{#if:{{{charge_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{charge_speed}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Ink&nbsp;speed|{{#if:{{{ink_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{ink_speed}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Mobility|{{#if:{{{mobility|}}}|{{Infobox/Meter|color={{{color}}}|{{{mobility}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Durability|{{#if:{{{durability|}}}|{{Infobox/Meter|color={{{color}}}|{{{durability}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Handling|{{#if:{{{handling|}}}|{{Infobox/Meter|color={{{color}}}|{{{handling}}}}}}}|style=line-height: 100%;}}
<!-- UNLOCK METHOD -->{{#ifeq:{{{category|}}}|Main|{{#if:{{{level}}}|
{{!}}-
!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| {{#if:{{{level|}}}|Obtainable at}}
{{Infobox/Property|color={{{color}}}|{{color-link|Level|black}}|{{#if:{{{level|}}}|{{{level}}}}}}}
{{#switch:{{{game|Splatoon}}}
|Splatoon  = {{Infobox/Property|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|S|{{{cost}}}|cash}}}}}}
|Splatoon 2 = {{Infobox/Property|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|S2|{{{cost}}}|cash}}}}}}
|Splatoon 3 = {{Infobox/Property|color={{{color}}}|{{color-link|Sheldon License|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|S3|{{{cost}}}|sl}}}}}}
}}
{{Infobox/Property|color={{{color}}}|Requirement|{{#if:{{{scroll|}}}|{{#if:{{{amiibo|}}}||[[File:S Icon Sunken Scroll.png|24px|link=Sunken Scroll]] [[{{{scroll}}}]]}}}}{{#if:{{{amiibo|}}}|[[File:S2 Brand amiibo.png|24px|link=amiibo]] {{#switch:{{{amiibo}}}
|Callie          = {{amiibo|Callie|game=Splatoon}}
|Callie          = {{amiibo|Callie|game=Splatoon}}
|Marie          = {{amiibo|Marie|game=Splatoon}}
|Marie          = {{amiibo|Marie|game=Splatoon}}
Line 36: Line 63:
|#default        = [[amiibo|{{{amiibo}}}]]
|#default        = [[amiibo|{{{amiibo}}}]]
}}}}{{#if:{{{availability|}}}|{{#if:{{{scroll|}}}|{{#ifeq:{{{availability}}}|Octo Valley||<br />{{Availability|{{{availability}}}}}}}|{{#if:{{{amiibo|}}}|<br />}}{{Availability|{{{availability}}}}}}}}}}}
}}}}{{#if:{{{availability|}}}|{{#if:{{{scroll|}}}|{{#ifeq:{{{availability}}}|Octo Valley||<br />{{Availability|{{{availability}}}}}}}|{{#if:{{{amiibo|}}}|<br />}}{{Availability|{{{availability}}}}}}}}}}}
{{InfoboxProperty|color={{{color}}}|Base&nbsp;Damage|{{#if:{{{base|}}}|{{{base}}}}}}}
{{Infobox/Property|color={{{color}}}|Added in|{{#if:{{{introduced|}}}|{{{introduced}}}}}}}
{{InfoboxProperty|color={{{color}}}|Base&nbsp;Duration|{{#if:{{{duration|}}}|{{{duration}}}}}}}
<!-- ADVANCED VALUES -->{{#ifeq:{{{category|}}}|Main|
{{InfoboxProperty|color={{{color}}}|Ink&nbsp;Consumption|{{#if:{{{usage|}}}|{{{usage}}}}}}}
{{!}}-
{{InfoboxProperty|color={{{color}}}|Special&nbsp;Points|{{#if:{{{points|}}}|{{{points}}}}}}}
{{#if:{{{base|}}}|!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Specifications
{{InfoboxProperty|color={{{color}}}|Sp.&nbsp;Depletion|{{#if:{{{depletion|}}}|[[File:Specdep icon.png{{!}}24px{{!}}link=Special Weapon#Special Depletion]]  [[Special Weapon#Special Depletion{{!}}{{{depletion}}}]]}}}}
{{Infobox/Property|color={{{color}}}|[[Mobility#Weapon speed type|<span style="color:black;">Weight</span>]]|{{#if:{{{weight|}}}|{{{weight}}}}}}}
{{InfoboxProperty|color={{{color}}}|Range|{{#if:{{{range|}}}|{{Infobox/Meter|color={{{color}}}|{{{range}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;{{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}}
{{InfoboxProperty|color={{{color}}}|Damage|{{#if:{{{damage|}}}|{{Infobox/Meter|color={{{color}}}|{{{damage}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;duration|{{{duration|}}}}}
{{InfoboxProperty|color={{{color}}}|Impact|{{#if:{{{impact|}}}|{{Infobox/Meter|color={{{color}}}|{{{impact}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Ink&nbsp;consumption|{{{ink|}}}}}
{{InfoboxProperty|color={{{color}}}|Fire&nbsp;Rate|{{#if:{{{fire_rate|}}}|{{Infobox/Meter|color={{{color}}}|{{{fire_rate}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;range|{{{reach|}}}}}
{{InfoboxProperty|color={{{color}}}|Charge&nbsp;Speed|{{#if:{{{charge_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{charge_speed}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Rate&nbsp;of&nbsp;fire|{{{rate|}}}}}
{{InfoboxProperty|color={{{color}}}|Ink&nbsp;Speed|{{#if:{{{ink_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{ink_speed}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Muzzle&nbsp;velocity|{{{velocity|}}}}}
{{InfoboxProperty|color={{{color}}}|Mobility|{{#if:{{{mobility|}}}|{{Infobox/Meter|color={{{color}}}|{{{mobility}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;accuracy|{{{accuracy|}}}}}
{{InfoboxProperty|color={{{color}}}|Durability|{{#if:{{{durability|}}}|{{Infobox/Meter|color={{{color}}}|{{{durability}}}}}}}|style=line-height: 100%;}}
<!-- OTHER -->{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}|
{{InfoboxProperty|color={{{color}}}|Handling|{{#if:{{{handling|}}}|{{Infobox/Meter|color={{{color}}}|{{{handling}}}}}}}|style=line-height: 100%;}}
{{!}}-
|}</div>
! colspan="2"{{!}}<hr>|}}|}}
[[Category:Weapons]]
{{Infobox/Property|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}}
{{#switch:{{{game|}}}
{{Infobox/Property|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}}
|Splatoon  = [[Category:Splatoon Weapons]]
{{Infobox/Property|color={{{color}}}|{{color-link|Special Power Up|black|SPU}} effect|{{#if:{{{specialpueffect|}}}|{{{specialpueffect}}}}}}}
|Splatoon 2 = [[Category:Splatoon 2 Weapons]]
{{Infobox/Property|color={{{color}}}|Other variant{{#if:{{{alt2}}}|s}}|{{#if:{{{alt1}}}|[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt1}}}.png|24px|{{{alt1}}}]] [[{{{alt1}}}]]{{#if:{{{alt2}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt2}}}.png|24px|{{{alt2}}}]] [[{{{alt2}}}]]{{#if:{{{alt3}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt3}}}.png|24px|{{{alt3}}}]] [[{{{alt3}}}]]{{#if:{{{alt4}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt4}}}.png|24px|{{{alt4}}}]] [[{{{alt4}}}]]{{#if:{{{alt5}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt5}}}.png|24px|{{{alt5}}}]] [[{{{alt5}}}]]}}}}}}}}}}}}
|#default  = [[Category:Splatoon Weapons]]
|}</div><!-- CATEGORIES -->
{{#ifeq: {{{suppress category}}} | true ||
{{#ifeq:{{{future}}}|true|[[Category:Future]]|
{{#if:{{{category|}}}|[[Category:{{{game}}} {{lc:{{{category}}}}} weapons]]}}
{{#switch: {{{class|}}}
| Brush = [[Category:Brushes]]
| =
| [[Category:{{{class}}}s]]
}}
}}
[[Category:Main Weapons]]
{{#if:{{{sub|}}}|[[Category:Main weapons with {{{sub}}}]]}}
{{#if:{{{class|}}}|[[Category:{{{class}}}]]}}
{{#if:{{{special|}}}|[[Category:Main weapons with {{{special}}}]]}}
{{#if:{{{sub|}}}|[[Category:Main Weapons with {{{sub}}}]]}}
}}}}</includeonly><noinclude>__NOTOC__
{{#if:{{{special|}}}|[[Category:Main Weapons with {{{special}}}]]}}
Displays an infobox for a [[weapon]]. This is a chained template intended to be used only by [[Template:Infobox/Weapon|Infobox/Weapon]].</noinclude>
{{#if:{{{sub|}}}|{{#if:{{{special|}}}|[[Category:Main Weapons with {{{sub}}} and {{{special}}}]]}}}}
{{#switch:{{{game|}}}
|Splatoon  = [[Category:Splatoon]]
|Splatoon 2 = [[Category:Splatoon 2]]
|#default  = [[Category:Splatoon]]
}}</includeonly><noinclude>__NOTOC__
Displays an infobox for a [[Weapon]]. This is a chained template intended to be used only by [[Template:Infobox/Weapon|Infobox/Weapon]].</noinclude>

Latest revision as of 21:33, 31 March 2024

Displays an infobox for a weapon. This is a chained template intended to be used only by Infobox/Weapon.