Template:Infobox item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Overhauled template and added (mostly) thorough template data |
||
Line 1: | Line 1: | ||
{{# | {{{item_name}}} is a {{{item_type}}} item purchasable at the [[shop]]. | ||
<div style=" | |||
{|- style="text-align: | <span style="float:left; margin-right:2em;"> | ||
| | {|- style="text-align:center; border-collapse:collapse; width:150px; max-width:300px;{{ | ||
|- style="background-color: # | #switch: {{{item_type}}} | ||
! {{ | | Weapon = background-color: #FCAC4D; color: #3A2B08; | ||
|- style="background-color: # | | Vitality = background-color: #86C921; color: #233A00; | ||
! {{ | | Spirit = background-color: #DE9CFF; color: #3C254E; | ||
|- style="background-color: # | | background-color: #FCAC4D; color: #3A2B08;}}" | ||
#if: {{{ | | <span style="filter: brightness(0) saturate(100%); {{ | ||
{{!}}- | #switch: {{{item_type}}} | ||
{{!}} {{{ | | Weapon = color: #3A2B08; | ||
| Vitality = color: #233A00; | |||
| Spirit = color: #3C254E; | |||
| color: #3A2B08;}}">[[File:{{{item_imagefilepath}}}.png|100px]]</span> | |||
|- style="text-align: center; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #FFF0D7; color: #151912; | |||
| Vitality = background-color: #FFFFE7; color: #1C1E18; | |||
| Spirit = background-color: #FFEFD7; color: #131610; | |||
| background-color: #FFF0D7; color: #151912;}}" | |||
! {{{item_name}}} | |||
|} | |||
</span> | |||
<br> | |||
<span style="float:left; margin-right:1em; "> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}}| | |||
| Weapon = background-color: #C97A03; | |||
| Vitality = background-color: #659818; | |||
| Spirit = background-color: #8B56B4; | |||
| background-color: #C97A03;}}" | |||
|- | |||
! {{{item_name}}} | |||
|- | |||
! {{ Souls|{{{souls}}} }} | |||
|} | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #9E630C; color: #DCCFC6; | |||
| Vitality = background-color: #203500; color: #C7C9C6; | |||
| Spirit = background-color: #372248; color: #C9C7CB; | |||
| background-color: #9E630C; color: #DCCFC6;}}" {{ | |||
#if: {{{has_components}}} | |||
| | |||
{{!}}- | |||
! Components: <br> {{{component1_name}}} | |||
| }} | |||
|} | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #80550F; | |||
| Vitality = background-color: #4D7214; | |||
| Spirit = background-color: #623585; | |||
| background-color: #80550F;}}" {{ | |||
#if: {{{item_stat1}}} | |||
| | |||
{{!}}- | |||
! {{{item_stat1}}} | |||
| }} | |||
{{#if: {{{item_stat2}}} | |||
| | |||
{{!}}- | |||
! {{{item_stat2}}} | |||
| }} | |||
{{#if: {{{item_stat3}}} | |||
| | |||
{{!}}- | |||
! {{{item_stat3}}} | |||
| }} | |||
{{#if: {{{item_stat4}}} | |||
| | |||
{{!}}- | |||
! {{{item_stat4}}} | |||
| }} | |||
{{#if: {{{item_stat5}}} | |||
| | |||
{{!}}- | |||
! {{{item_stat5}}} | |||
| }} | |||
|} | |||
<div style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #583B0E; color: #C4B49E; | |||
| Vitality = background-color: #354F11; color: #BDB59D; | |||
| Spirit = background-color: #43265B; color: #C1B2A8; | |||
| background-color: #583B0E; color: #C4B49E;}}"> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #583B0E; color: #C4B49E; | |||
| Vitality = background-color: #354F11; color: #BDB59D; | |||
| Spirit = background-color: #43265B; color: #C1B2A8; | |||
| background-color: #583B0E; color: #C4B49E;}}" {{ | |||
#if: {{{has_passive1}}} | |||
| | |||
{{!}}- | |||
{{!}} ''Passive'' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive1_cooldown}}} | |||
| }} | |||
|} | |||
</div> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #80550F; | |||
| Vitality = background-color: #4D7214; | |||
| Spirit = background-color: #623585; | |||
| background-color: #80550F;}}" {{ | |||
#if: {{{passive1_description}}} | |||
| | |||
{{!}}- | |||
! {{{passive1_description}}} | |||
| }} | |||
<div style="margin-left:0.5em; margin-right:0.5em;"> | |||
{|- style="text-align:left; width:180px; max-width:200px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #67430A; | |||
| Vitality = background-color: #3D5B0E; | |||
| Spirit = background-color: #4D2869; | |||
| background-color: #67430A;}}" {{ | |||
#if: {{{passive1_stat1}}} | |||
| | |||
{{!}}- | |||
! {{{passive1_stat1}}} | |||
| }} | |||
{{#if: {{{passive1_stat2}}} | |||
| | |||
{{!}}- | |||
! {{{passive1_stat2}}} | |||
| }} | |||
{{#if: {{{passive1_stat3}}} | |||
| | |||
{{!}}- | |||
! {{{passive1_stat3}}} | |||
| }} | |||
{{#if: {{{passive1_stat4}}} | |||
| | |||
{{!}}- | |||
! {{{passive1_stat4}}} | |||
| }} | |||
{{#if: {{{passive1_stat5}}} | |||
| | |||
{{!}}- | |||
! {{{passive1_stat5}}} | |||
| }} | |||
|} | |||
|} | |||
</div> | |||
<div> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #583B0E; color: #C4B49E; | |||
| Vitality = background-color: #354F11; color: #BDB59D; | |||
| Spirit = background-color: #43265B; color: #C1B2A8; | |||
| background-color: #583B0E; color: #C4B49E;}}" {{ | |||
#if: {{{has_passive2}}} | |||
| | |||
{{!}}- | |||
{{!}} ''Passive'' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive2_cooldown}}} | |||
| }} | |||
|} | |} | ||
</div> | </div> | ||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #80550F; | |||
| Vitality = background-color: #4D7214; | |||
| Spirit = background-color: #623585; | |||
| background-color: #80550F;}}" {{ | |||
#if: {{{passive2_description}}} | |||
| | |||
{{!}}- | |||
! {{{passive2_description}}} | |||
| }} | |||
<div style="margin-left:0.5em; margin-right:0.5em;"> | |||
{|- style="text-align:left; width:180px; max-width:200px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #67430A; | |||
| Vitality = background-color: #3D5B0E; | |||
| Spirit = background-color: #4D2869; | |||
| background-color: #67430A;}}" {{ | |||
#if: {{{passive2_stat1}}} | |||
| | |||
{{!}}- | |||
! {{{passive2_stat1}}} | |||
| }} | |||
{{#if: {{{passive2_stat2}}} | |||
| | |||
{{!}}- | |||
! {{{passive2_stat2}}} | |||
| }} | |||
{{#if: {{{passive2_stat3}}} | |||
| | |||
{{!}}- | |||
! {{{passive2_stat3}}} | |||
| }} | |||
{{#if: {{{passive2_stat4}}} | |||
| | |||
{{!}}- | |||
! {{{passive2_stat4}}} | |||
| }} | |||
{{#if: {{{passive2_stat5}}} | |||
| | |||
{{!}}- | |||
! {{{passive2_stat5}}} | |||
| }} | |||
|} | |||
|} | |||
</div> | |||
<div> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #583B0E; | |||
| Vitality = background-color: #354F11; | |||
| Spirit = background-color: #43265B; | |||
| background-color: #583B0E;}}" {{ | |||
#if: {{{has_active1}}} | |||
| | |||
{{!}}- | |||
{{!}} '''Active''' {{!}}{{!}} style="text-align:right; width:50px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive2_cooldown}}} | |||
| }} | |||
|} | |||
</div> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #80550F; | |||
| Vitality = background-color: #4D7214; | |||
| Spirit = background-color: #623585; | |||
| background-color: #80550F;}}" {{ | |||
#if: {{{active1_description}}} | |||
| | |||
{{!}}- | |||
! {{{active1_description}}} | |||
| }} | |||
<div style="margin-left:0.5em; margin-right:0.5em;"> | |||
{|- style="text-align:left; width:180px; max-width:200px; color: #FFEFD7; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #67430A; | |||
| Vitality = background-color: #3D5B0E; | |||
| Spirit = background-color: #4D2869; | |||
| background-color: #67430A;}}" {{ | |||
#if: {{{active1_stat1}}} | |||
| | |||
{{!}}- | |||
! {{{active1_stat1}}} | |||
| }} | |||
{{#if: {{{active1_stat2}}} | |||
| | |||
{{!}}- | |||
! {{{active1_stat2}}} | |||
| }} | |||
{{#if: {{{active1_stat3}}} | |||
| | |||
{{!}}- | |||
! {{{active1_stat3}}} | |||
| }} | |||
{{#if: {{{active1_stat4}}} | |||
| | |||
{{!}}- | |||
! {{{active1_stat4}}} | |||
| }} | |||
{{#if: {{{active1_stat5}}} | |||
| | |||
{{!}}- | |||
! {{{active1_stat5}}} | |||
| }} | |||
|} | |||
|} | |||
</div> | |||
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{ | |||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #704A0C; color: #D1CBC6; | |||
| Vitality = background-color: #436310; color: #CACFC7; | |||
| Spirit = background-color: #552D74; color: #CCC8D2; | |||
| background-color: #704A0C; color: #D1CBC6;}}" {{ | |||
#if: {{{has_components}}} | |||
| | |||
{{!}}- | |||
{{!}} IS COMPONENT OF: <br> {{{iscomponentof1_name}}} | |||
| }} | |||
|} | |||
</span> | |||
== Template Data == | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"souls": { | |||
"type": "number", | |||
"required": true | |||
}, | |||
"item_name": { | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"has_passive1": { | |||
"type": "boolean", | |||
"required": true | |||
}, | |||
"has_active1": { | |||
"type": "boolean", | |||
"required": true | |||
}, | |||
"has_iscomponentof": { | |||
"type": "boolean", | |||
"required": true | |||
}, | |||
"passive1_description": { | |||
"type": "string" | |||
}, | |||
"active1_description": { | |||
"type": "string" | |||
}, | |||
"has_components": { | |||
"type": "boolean" | |||
}, | |||
"component1_name": { | |||
"type": "wiki-page-name" | |||
}, | |||
"iscomponentof1_name": { | |||
"type": "wiki-page-name" | |||
}, | |||
"item_stat3": { | |||
"type": "string" | |||
}, | |||
"item_stat4": { | |||
"type": "string" | |||
}, | |||
"item_stat5": { | |||
"type": "string" | |||
}, | |||
"passive1_cooldown": { | |||
"type": "number" | |||
}, | |||
"active1_stat1": { | |||
"type": "string" | |||
}, | |||
"active1_stat2": { | |||
"type": "string" | |||
}, | |||
"active1_stat3": { | |||
"type": "string" | |||
}, | |||
"active1_stat4": { | |||
"type": "string" | |||
}, | |||
"active1_stat5": { | |||
"type": "string" | |||
}, | |||
"active1_cooldown": { | |||
"type": "number" | |||
}, | |||
"passive1_stat1": { | |||
"type": "string" | |||
}, | |||
"passive1_stat2": { | |||
"type": "string" | |||
}, | |||
"passive1_stat3": { | |||
"type": "string" | |||
}, | |||
"passive2_description": { | |||
"type": "string" | |||
}, | |||
"passive2_cooldown": { | |||
"type": "number" | |||
}, | |||
"passive2_stat1": { | |||
"type": "string" | |||
}, | |||
"passive2_stat2": { | |||
"type": "string" | |||
}, | |||
"passive2_stat3": { | |||
"type": "string" | |||
}, | |||
"passive2_stat4": { | |||
"type": "string" | |||
}, | |||
"passive2_stat5": { | |||
"type": "string" | |||
}, | |||
"item_stat1": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"item_stat2": { | |||
"type": "string" | |||
}, | |||
"passive1_stat4": { | |||
"type": "string" | |||
}, | |||
"passive1_stat5": { | |||
"type": "string" | |||
}, | |||
"item_type": { | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Weapon", | |||
"Vitality", | |||
"Spirit" | |||
], | |||
"required": true | |||
}, | |||
"item_imagefilepath": { | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"item_imagefilepath", | |||
"item_name", | |||
"item_type", | |||
"item_stat1", | |||
"item_stat2", | |||
"item_stat3", | |||
"item_stat4", | |||
"item_stat5", | |||
"souls", | |||
"has_components", | |||
"component1_name", | |||
"has_passive1", | |||
"passive1_description", | |||
"passive1_cooldown", | |||
"passive1_stat1", | |||
"passive1_stat2", | |||
"passive1_stat3", | |||
"passive1_stat4", | |||
"passive1_stat5", | |||
"passive2_description", | |||
"passive2_cooldown", | |||
"passive2_stat1", | |||
"passive2_stat2", | |||
"passive2_stat3", | |||
"passive2_stat4", | |||
"passive2_stat5", | |||
"has_active1", | |||
"active1_description", | |||
"active1_cooldown", | |||
"active1_stat1", | |||
"active1_stat2", | |||
"active1_stat3", | |||
"active1_stat4", | |||
"active1_stat5", | |||
"has_iscomponentof", | |||
"iscomponentof1_name" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 12:56, 26 August 2024
{{{item_name}}} is a {{{item_type}}} item purchasable at the shop.
[[File:{{{item_imagefilepath}}}.png|100px]] |
{{{item_name}}} |
---|
{{{item_name}}} |
---|
{{{souls}}} |
Components: {{{component1_name}}} |
---|
{{{item_stat1}}} |
---|
{{{item_stat2}}} |
{{{item_stat3}}} |
{{{item_stat4}}} |
{{{item_stat5}}} |
Passive | {{{passive1_cooldown}}} |
{{{passive1_description}}}
|
---|
Passive | {{{passive2_cooldown}}} |
{{{passive2_description}}}
|
---|
Active | {{{passive2_cooldown}}} |
{{{active1_description}}}
|
---|
IS COMPONENT OF: {{{iscomponentof1_name}}} |
Template Data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
item_imagefilepath | item_imagefilepath | no description | String | required |
item_name | item_name | no description | Page name | required |
item_type | item_type | no description
| String | required |
item_stat1 | item_stat1 | no description | String | suggested |
item_stat2 | item_stat2 | no description | String | optional |
item_stat3 | item_stat3 | no description | String | optional |
item_stat4 | item_stat4 | no description | String | optional |
item_stat5 | item_stat5 | no description | String | optional |
souls | souls | no description | Number | required |
has_components | has_components | no description | Boolean | optional |
component1_name | component1_name | no description | Page name | optional |
has_passive1 | has_passive1 | no description | Boolean | required |
passive1_description | passive1_description | no description | String | optional |
passive1_cooldown | passive1_cooldown | no description | Number | optional |
passive1_stat1 | passive1_stat1 | no description | String | optional |
passive1_stat2 | passive1_stat2 | no description | String | optional |
passive1_stat3 | passive1_stat3 | no description | String | optional |
passive1_stat4 | passive1_stat4 | no description | String | optional |
passive1_stat5 | passive1_stat5 | no description | String | optional |
passive2_description | passive2_description | no description | String | optional |
passive2_cooldown | passive2_cooldown | no description | Number | optional |
passive2_stat1 | passive2_stat1 | no description | String | optional |
passive2_stat2 | passive2_stat2 | no description | String | optional |
passive2_stat3 | passive2_stat3 | no description | String | optional |
passive2_stat4 | passive2_stat4 | no description | String | optional |
passive2_stat5 | passive2_stat5 | no description | String | optional |
has_active1 | has_active1 | no description | Boolean | required |
active1_description | active1_description | no description | String | optional |
active1_cooldown | active1_cooldown | no description | Number | optional |
active1_stat1 | active1_stat1 | no description | String | optional |
active1_stat2 | active1_stat2 | no description | String | optional |
active1_stat3 | active1_stat3 | no description | String | optional |
active1_stat4 | active1_stat4 | no description | String | optional |
active1_stat5 | active1_stat5 | no description | String | optional |
has_iscomponentof | has_iscomponentof | no description | Boolean | required |
iscomponentof1_name | iscomponentof1_name | no description | Page name | optional |