Template:Infobox/WeaponEx: Difference between revisions

From Inkipedia, the Splatoon wiki
(Fixed invalid link.)
m (changed introduced to added in to not confuse with reveal footage)
 
(123 intermediate revisions by 18 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
}}
| size =  {{{size|}}}
| 3d-image-2 = {{{3d-image-2|}}}
| 3d-image-3 = {{{3d-image-3|}}}
| 3d-image-4 = {{{3d-image-4|}}}
| 3d-viewname-1 = {{{3d-viewname-1|}}}
| 3d-viewname-2 = {{{3d-viewname-2|}}}
| 3d-viewname-3 = {{{3d-viewname-3|}}}
| 3d-viewname-4 = {{{3d-viewname-4|}}}
| 3d-button-1 = {{{3d-button-1|}}}
| 3d-button-2 = {{{3d-button-2|}}}
| 3d-button-3 = {{{3d-button-3|}}}
| 3d-button-4 = {{{3d-button-4|}}}
}} | [[File:{{#if:{{{image|}}}|{{{image}}}|{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|{{{size|}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}
<!-- BASIC VALUES -->{| style="border-spacing: 4px; text-align: left; width: 100%;"
{{#ifeq:{{{category|}}}|Main|
{{!}}-
! style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| {{#ifeq:{{{category|}}}|Main|Basic information}}
{{Infobox/Property|color={{{color}}}|Category|{{#if:{{{category|}}}|[[{{{category}}} weapon|{{{category}}}]]}}|style=width: 100%;}}
{{Infobox/Property|color={{{color}}}|Class|{{#if:{{{class|}}}|{{#ifeq:{{GameShortened|{{{game|}}}}}|S3|{{Class|{{{class}}}}}|
[[{{#ifeq:{{{class}}}|Slosher|Slosher (weapon class){{!}}}}{{#ifeq:{{{class}}}|Blaster|Blaster (weapon class){{!}}}}{{{class}}}]]}}}}}}
{{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}}}}}}}}}}}
{{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}}}}}}
}}
}}
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
{{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}}}
[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}}
|Splatoon  = S
|Splatoon 2 = S2
|#default  = S
}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|128px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]
{| style="border-spacing: 4px; text-align: left; width: 100%;"
{{InfoboxProperty|color={{{color}}}|Category|[[{{{category}}} Weapon|{{{category}}}]]|style=width: 100%;}}
{{InfoboxProperty|color={{{color}}}|Class|{{#if:{{{class|}}}|[[{{#ifeq:{{{class}}}|Slosher|Slosher (Type){{!}}}}{{{class}}}]]}}}}
{{InfoboxProperty|color={{{color}}}|Sub|{{#if:{{{sub|}}}|{{Sub|{{{sub}}}|game={{{game|}}}}}}}}}
{{InfoboxProperty|color={{{color}}}|Special|{{#if:{{{special|}}}|{{Special|{{{special}}}|sub={{{sub|}}}|game={{{game|}}}}}}}}}
{{InfoboxProperty|color={{{color}}}|Availability|{{#if:{{{cost|}}}|{{Cost|{{{cost}}}|link=true|game={{{game}}}}}}}{{#if:{{{scroll|}}}|{{#if:{{{cost|}}}|<br />}}[[File:S Icon Sunken Scroll.png|24px|link=Sunken Scrolls]] [[{{{scroll}}}]]}}{{#if:{{{amiibo|}}}|{{#if:{{{cost|}}}|<br />}}[[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 25: Line 62:
|Inkling Squid 2 = {{amiibo|Inkling Squid|game=Splatoon 2|section=Inkling Squid 2}}
|Inkling Squid 2 = {{amiibo|Inkling Squid|game=Splatoon 2|section=Inkling Squid 2}}
|#default        = [[amiibo|{{{amiibo}}}]]
|#default        = [[amiibo|{{{amiibo}}}]]
}}}}{{#if:{{{availability|}}}|{{#if:{{{cost|}}}|<br />}}{{Availability|{{{availability}}}}}}}}}
}}}}{{#if:{{{availability|}}}|{{#if:{{{scroll|}}}|{{#ifeq:{{{availability}}}|Octo Valley||<br />{{Availability|{{{availability}}}}}}}|{{#if:{{{amiibo|}}}|<br />}}{{Availability|{{{availability}}}}}}}}}}}
{{InfoboxProperty|color={{{color}}}|Level|{{#if:{{{level|}}}|{{{level}}}}}}}
{{Infobox/Property|color={{{color}}}|Added in|{{#if:{{{introduced|}}}|{{{introduced}}}}}}}
{{InfoboxProperty|color={{{color}}}|Special&nbsp;Points|{{#if:{{{points|}}}|{{{points}}}}}}}
<!-- ADVANCED VALUES -->{{#ifeq:{{{category|}}}|Main|
{{InfoboxProperty|color={{{color}}}|Sp.&nbsp;Depletion|{{#if:{{{depletion|}}}|[[File:Specdep icon.png{{!}}32px{{!}}link=Special Weapon#Special Depletion]]  [[Special Weapon#Special Depletion{{!}}{{{depletion}}}]]}}}}
{{!}}-
{{InfoboxProperty|color={{{color}}}|Base&nbsp;Damage|{{#if:{{{base|}}}|{{{base}}}}}}}
{{#if:{{{base|}}}|!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Specifications
{{InfoboxProperty|color={{{color}}}|Range|{{#if:{{{range|}}}|{{Infobox/Meter|color={{{color}}}|{{{range}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|[[Mobility#Weapon speed type|<span style="color:black;">Weight</span>]]|{{#if:{{{weight|}}}|{{{weight}}}}}}}
{{InfoboxProperty|color={{{color}}}|Damage|{{#if:{{{damage|}}}|{{Infobox/Meter|color={{{color}}}|{{{damage}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;{{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}}
{{InfoboxProperty|color={{{color}}}|Impact|{{#if:{{{impact|}}}|{{Infobox/Meter|color={{{color}}}|{{{impact}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;duration|{{{duration|}}}}}
{{InfoboxProperty|color={{{color}}}|Fire&nbsp;Rate|{{#if:{{{fire_rate|}}}|{{Infobox/Meter|color={{{color}}}|{{{fire_rate}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Ink&nbsp;consumption|{{{ink|}}}}}
{{InfoboxProperty|color={{{color}}}|Charge&nbsp;Speed|{{#if:{{{charge_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{charge_speed}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;range|{{{reach|}}}}}
{{InfoboxProperty|color={{{color}}}|Ink&nbsp;Speed|{{#if:{{{ink_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{ink_speed}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Rate&nbsp;of&nbsp;fire|{{{rate|}}}}}
{{InfoboxProperty|color={{{color}}}|Mobility|{{#if:{{{mobility|}}}|{{Infobox/Meter|color={{{color}}}|{{{mobility}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Muzzle&nbsp;velocity|{{{velocity|}}}}}
{{InfoboxProperty|color={{{color}}}|Durability|{{#if:{{{durability|}}}|{{Infobox/Meter|color={{{color}}}|{{{durability}}}}}}}|style=line-height: 100%;}}
{{Infobox/Property|color={{{color}}}|Base&nbsp;accuracy|{{{accuracy|}}}}}
{{InfoboxProperty|color={{{color}}}|Handling|{{#if:{{{handling|}}}|{{Infobox/Meter|color={{{color}}}|{{{handling}}}}}}}|style=line-height: 100%;}}
<!-- OTHER -->{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}|
|}</div></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>
! colspan="2"{{!}}<hr>|}}|}}
{{Infobox/Property|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}}
{{Infobox/Property|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}}
{{Infobox/Property|color={{{color}}}|{{color-link|Special Power Up|black|SPU}} effect|{{#if:{{{specialpueffect|}}}|{{{specialpueffect}}}}}}}
{{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}}}]]}}}}}}}}}}}}
|}</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]]
}}
{{#if:{{{sub|}}}|[[Category:Main weapons with {{{sub}}}]]}}
{{#if:{{{special|}}}|[[Category:Main weapons with {{{special}}}]]}}
}}}}</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.