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: | |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|}}} | ||
[[File:{{#if:{{{image|}}}|{{{image}}}|{{ | | 3d-image-2 = {{{3d-image-2|}}} | ||
| 3d-image-3 = {{{3d-image-3|}}} | |||
| 3d-image-4 = {{{3d-image-4|}}} | |||
| 3d-viewname-1 = {{{3d-viewname-1|}}} | |||
}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}| | | 3d-viewname-2 = {{{3d-viewname-2|}}} | ||
{| style="border-spacing: 4px; text-align: left; width: 100%;" | | 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}}} {{{sub}}}|{{{special}}}}}}}}}}} | ||
{{Infobox/Property|color={{{color}}}|Special points|{{#if:{{{points|}}}|{{{points}}}p}}}} | |||
{{Infobox/Property|color = {{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Special 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 rate|{{#if:{{{fire_rate|}}}|{{Infobox/Meter|color={{{color}}}|{{{fire_rate}}}}}}}|style=line-height: 100%;}} | |||
{{Infobox/Property|color={{{color}}}|Charge speed|{{#if:{{{charge_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{charge_speed}}}}}}}|style=line-height: 100%;}} | |||
{{Infobox/Property|color={{{color}}}|Ink 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}}}}}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Added in|{{#if:{{{introduced|}}}|{{{introduced}}}}}}} | ||
{{ | <!-- ADVANCED VALUES -->{{#ifeq:{{{category|}}}|Main| | ||
{{ | {{!}}- | ||
{{ | {{#if:{{{base|}}}|!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Specifications | ||
{{ | {{Infobox/Property|color={{{color}}}|[[Mobility#Weapon speed type|<span style="color:black;">Weight</span>]]|{{#if:{{{weight|}}}|{{{weight}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base duration|{{{duration|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Ink consumption|{{{ink|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base range|{{{reach|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Rate of fire|{{{rate|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Muzzle velocity|{{{velocity|}}}}} | ||
{{Infobox/Property|color={{{color}}}|Base accuracy|{{{accuracy|}}}}} | |||
{{ | <!-- OTHER -->{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}| | ||
{{!}}- | |||
|}</div> | ! colspan="2"{{!}}<hr>|}}|}} | ||
[[Category: | {{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}}}]]}} | |||
{{#if:{{{sub|}}}|[[Category:Main | }}}}</includeonly><noinclude>__NOTOC__ | ||
{{#if:{{{special|}}}|[[Category:Main | Displays an infobox for a [[weapon]]. This is a chained template intended to be used only by [[Template:Infobox/Weapon|Infobox/Weapon]].</noinclude> | ||
}}</includeonly><noinclude>__NOTOC__ | |||
Displays an infobox for a [[ |
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.