User:GDoe5/Template:Item infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="float: left; margin-right: 1em;"> | <div style="float: left; margin-right: 1em;"> | ||
{|- style="text-align: center; {{#switch: {{{item_type}}} | {|- style="text-align: center; {{ | ||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #FCAC4D; color: #3A2B08; | | Weapon = background-color: #FCAC4D; color: #3A2B08; | ||
| Vitality = background-color: #86C921; color: #233A00; | | Vitality = background-color: #86C921; color: #233A00; | ||
| Spirit = background-color: #DE9CFF; color: #3C254E; | | Spirit = background-color: #DE9CFF; color: #3C254E; | ||
| background-color: #FCAC4D; color: #3A2B08;}}" | | background-color: #FCAC4D; color: #3A2B08;}}" | ||
| <span style="filter: brightness(0) saturate(100%); {{#switch: {{{item_type}}} | | <span style="filter: brightness(0) saturate(100%); {{ | ||
#switch: {{{item_type}}} | |||
| Weapon = color: #3A2B08; | | Weapon = color: #3A2B08; | ||
| Vitality = color: #233A00; | | Vitality = color: #233A00; | ||
Line 11: | Line 13: | ||
| color: #3A2B08;}}">[[File:{{{item_imagefilepath}}}.png|100px]]</span> | | color: #3A2B08;}}">[[File:{{{item_imagefilepath}}}.png|100px]]</span> | ||
|- style="text-align: center; {{#switch: {{{item_type}}} | |- style="text-align: center; {{ | ||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #FFF0D7; color: #151912; | | Weapon = background-color: #FFF0D7; color: #151912; | ||
| Vitality = background-color: #FFFFE7; color: #1C1E18; | | Vitality = background-color: #FFFFE7; color: #1C1E18; | ||
Line 22: | Line 25: | ||
<div style="float: left; margin-right: 2em"> | <div style="float: left; margin-right: 2em"> | ||
{|- style="text-align: left; {{#switch: {{{item_type}}} | {|- style="text-align: left; {{ | ||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #C97A03; | | Weapon = background-color: #C97A03; | ||
| Vitality = background-color: #659818; | | Vitality = background-color: #659818; | ||
| Spirit = background-color: #8B56B4; | | Spirit = background-color: #8B56B4; | ||
| background-color: #C97A03;}}" | | background-color: #C97A03;}}" | ||
|- style="color: #FFEFD7; {{#switch: {{{item_type}}}| | |- style="color: #FFEFD7; {{ | ||
#switch: {{{item_type}}}| | |||
| Weapon = background-color: #C97A03; | | Weapon = background-color: #C97A03; | ||
| Vitality = background-color: #659818; | | Vitality = background-color: #659818; | ||
Line 34: | Line 39: | ||
! {{{item_name}}} | ! {{{item_name}}} | ||
|- style="color: #FFEFD7; {{#switch: {{{item_type}}} | |- style="color: #FFEFD7; {{ | ||
#switch: {{{item_type}}} | |||
| Weapon = background-color: #C97A03; | | Weapon = background-color: #C97A03; | ||
| Vitality = background-color: #659818; | | Vitality = background-color: #659818; | ||
Line 41: | Line 47: | ||
! {{Souls|{{{souls}}}}} | ! {{Souls|{{{souls}}}}} | ||
|- style="background-color: # | |- style="{{ | ||
#if: {{{ | #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}}} | |||
| }} | |||
|} | |} | ||
</div> | </div> | ||
Line 77: | Line 90: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"active1_description": {}, | "active1_description": { | ||
"type": "string" | |||
}, | |||
"has_components": { | "has_components": { | ||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
"component1_name": { | "component1_name": { | ||
"type": " | "type": "wiki-page-name" | ||
}, | |||
"iscomponentof1_name": { | |||
"type": "wiki-page-name" | |||
}, | }, | ||
"item_stat3": { | "item_stat3": { | ||
"type": "string" | "type": "string" | ||
Line 97: | Line 114: | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"active1_stat1": {}, | "active1_stat1": { | ||
"active1_stat2": {}, | "type": "string" | ||
"active1_stat3": {}, | }, | ||
"active1_stat4": {}, | "active1_stat2": { | ||
"active1_stat5": {}, | "type": "string" | ||
"active1_cooldown": {}, | }, | ||
"active1_stat3": { | |||
"type": "string" | |||
}, | |||
"active1_stat4": { | |||
"type": "string" | |||
}, | |||
"active1_stat5": { | |||
"type": "string" | |||
}, | |||
"active1_cooldown": { | |||
"type": "number" | |||
}, | |||
"passive1_stat1": { | "passive1_stat1": { | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"passive1_stat2": {}, | "passive1_stat2": { | ||
"passive1_stat3": {}, | "type": "string" | ||
"passive2_description": {}, | }, | ||
"passive2_cooldown": {}, | "passive1_stat3": { | ||
"passive2_stat1": {}, | "type": "string" | ||
"passive2_stat2": {}, | }, | ||
"passive2_stat3": {}, | "passive2_description": { | ||
"passive2_stat4": {}, | "type": "string" | ||
"passive2_stat5": {}, | }, | ||
"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": { | "item_stat1": { | ||
"type": "string", | "type": "string", | ||
Line 122: | Line 169: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"passive1_stat4": {}, | "passive1_stat4": { | ||
"passive1_stat5": {}, | "type": "string" | ||
}, | |||
"passive1_stat5": { | |||
"type": "string" | |||
}, | |||
"item_type": { | "item_type": { | ||
"type": "string", | "type": "string", |
Revision as of 10:08, 26 August 2024
[[File:{{{item_imagefilepath}}}.png|100px]] |
{{{item_name}}} |
---|
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 |