Template:Infobox/WeaponEx: Difference between revisions

From Inkipedia, the Splatoon wiki
m (updated slosher link)
m (changed introduced to added in to not confuse with reveal footage)
 
(40 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<includeonly>{{BubbleBox
<includeonly>{{BubbleBox
|tags=tagInfobox
|tags=tagInfobox
|style=width: 300px; padding: 8px; float: right; text-align: center; {{{style|}}}
|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>
}}<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}}}}}}
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}}
<!-- IMAGES -->{{#if: {{{3d-image-1|}}}| {{#invoke:3D viewer advanced|viewer_new
|Splatoon  = S
|3d-image-1 = {{{3d-image-1|}}}
|Splatoon 2 = S2
|image = {{#if:{{{image|}}}|{{{image}}}|{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png
|#default  = S
}}
}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|128px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]
| size =  {{{size|}}}
{| style="border-spacing: 4px; text-align: left; width: 100%;"
| 3d-image-2 = {{{3d-image-2|}}}
{{InfoboxProperty|color={{{color}}}|Category|{{#if:{{{category|}}}|[[{{{category}}} Weapon|{{{category}}}]]}}|style=width: 100%;}}
| 3d-image-3 = {{{3d-image-3|}}}
{{InfoboxProperty|color={{{color}}}|Class|{{#if:{{{class|}}}|[[{{#ifeq:{{{class}}}|Slosher|Slosher (weapon class){{!}}}}{{{class}}}]]}}}}
| 3d-image-4 = {{{3d-image-4|}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{Weapon|{{#switch:{{{game|}}}
| 3d-viewname-1 = {{{3d-viewname-1|}}}
|Splatoon  = S
| 3d-viewname-2 = {{{3d-viewname-2|}}}
|Splatoon 2 = S2
| 3d-viewname-3 = {{{3d-viewname-3|}}}
}}|Sub|{{{sub}}}}}}}}}
| 3d-viewname-4 = {{{3d-viewname-4|}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Special weapon|black|Special}}|{{#if:{{{special|}}}|{{Weapon|{{#switch:{{{game|}}}
| 3d-button-1 = {{{3d-button-1|}}}
|Splatoon  = S
| 3d-button-2 = {{{3d-button-2|}}}
|Splatoon 2 = S2
| 3d-button-3 = {{{3d-button-3|}}}
}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}}&#32;({{{sub}}})|{{{special}}}}}}}}}}}
| 3d-button-4 = {{{3d-button-4|}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Level|black}}|{{#if:{{{level|}}}|{{{level}}}}}}}
}} | [[File:{{#if:{{{image|}}}|{{{image}}}|{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|{{{size|}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|{{#switch:{{{game|}}}
<!-- BASIC VALUES -->{| style="border-spacing: 4px; text-align: left; width: 100%;"
|Splatoon   = S
{{#ifeq:{{{category|}}}|Main|
|Splatoon 2 = S2
{{!}}-
}}|{{{cost}}}|cash}}}}}}
! style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| {{#ifeq:{{{category|}}}|Main|Basic information}}
{{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}}}|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}}}}}}
}}
{{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 38: 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;{{color-link|Damage|black}}|{{#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:{{{ink|}}}|{{{ink}}}}}}}
{{!}}-
{{InfoboxProperty|color={{{color}}}|Special&nbsp;Points|{{#if:{{{points|}}}|{{{points}}}p}}}}
{{#if:{{{base|}}}|!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Specifications
{{InfoboxProperty|color={{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Sp.&nbsp;Depletion</span>]]|{{#if:{{{depletion|}}}|[[File:Specdep icon.png{{!}}24px{{!}}link=Special_gauge#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>|}}|}}
{{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]]|
{{#ifeq:{{{future}}}|true|[[Category:Future]]|
{{#if:{{{category|}}}|[[Category:{{{category}}} weapons in {{{game}}}]]}}
{{#if:{{{category|}}}|[[Category:{{{game}}} {{lc:{{{category}}}}} weapons]]}}
{{#if:{{{class|}}}|[[Category:{{{class}}}s]]}}
{{#switch: {{{class|}}}
| Brush = [[Category:Brushes]]
| =
| [[Category:{{{class}}}s]]
}}
{{#if:{{{sub|}}}|[[Category:Main weapons with {{{sub}}}]]}}
{{#if:{{{sub|}}}|[[Category:Main weapons with {{{sub}}}]]}}
{{#if:{{{special|}}}|[[Category:Main weapons with {{{special}}}]]}}
{{#if:{{{special|}}}|[[Category:Main weapons with {{{special}}}]]}}
}}</includeonly><noinclude>__NOTOC__
}}}}</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>
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.