User:GDoe5/Template:Item infobox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
GDoe5 (talk | contribs)
No edit summary
GDoe5 (talk | contribs)
No edit summary
Line 9: Line 9:
  | Vitality = color: #233A00;
  | Vitality = color: #233A00;
  | Spirit = color: #3C254E;
  | Spirit = color: #3C254E;
  | color: #3A2B08;}}">[[File:{{PAGENAME}}.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;
Line 15: Line 16:
  | Spirit = background-color: #FFEFD7; color: #131610;
  | Spirit = background-color: #FFEFD7; color: #131610;
  | background-color: #FFF0D7; color: #151912;}}"
  | background-color: #FFF0D7; color: #151912;}}"
! {{PAGENAME}}
! {{{item_name}}}
 
|}
|}
</div>
</div>


<div style="float: left; margin-right: 2em">
<div style="float: left; margin-right: 2em">
{|- style="text-align: center; {{#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;
Line 30: Line 32:
  | Spirit = background-color: #8B56B4;
  | Spirit = background-color: #8B56B4;
  | background-color: #C97A03;}}"
  | background-color: #C97A03;}}"
! {{PAGENAME}}
! {{{item_name}}}


|- style="color: #FFEFD7; {{#switch: {{{item_type}}}|
|- style="color: #FFEFD7; {{#switch: {{{item_type}}}|
Line 52: Line 54:
{
{
"params": {
"params": {
"souls": {},
"souls": {
"type": "number",
"required": true
},
"item_name": {
"item_name": {
"type": "wiki-page-name",
"type": "wiki-page-name",
Line 69: Line 74:
"required": true
"required": true
},
},
"passive1_description": {},
"passive1_description": {
"type": "string"
},
"active1_description": {},
"active1_description": {},
"has_components": {},
"has_components": {
"component1_name": {},
"type": "boolean"
},
"component1_name": {
"type": "string"
},
"iscomponentof1_name": {},
"iscomponentof1_name": {},
"item_stat3": {},
"item_stat3": {
"item_stat4": {},
"type": "string"
"item_stat5": {},
},
"passive1_cooldown": {},
"item_stat4": {
"type": "string"
},
"item_stat5": {
"type": "string"
},
"passive1_cooldown": {
"type": "number"
},
"active1_stat1": {},
"active1_stat1": {},
"active1_stat2": {},
"active1_stat2": {},
Line 84: Line 103:
"active1_stat5": {},
"active1_stat5": {},
"active1_cooldown": {},
"active1_cooldown": {},
"passive1_stat1": {},
"passive1_stat1": {
"type": "string"
},
"passive1_stat2": {},
"passive1_stat2": {},
"passive1_stat3": {},
"passive1_stat3": {},
Line 94: Line 115:
"passive2_stat4": {},
"passive2_stat4": {},
"passive2_stat5": {},
"passive2_stat5": {},
"item_stat1": {},
"item_stat1": {
"item_stat2": {},
"type": "string",
"suggested": true
},
"item_stat2": {
"type": "string"
},
"passive1_stat4": {},
"passive1_stat4": {},
"passive1_stat5": {},
"passive1_stat5": {},
"item_type": {}
"item_type": {
"type": "string",
"suggestedvalues": [
"Weapon",
"Vitality",
"Spirit"
],
"required": true
},
"item_imagefilepath": {
"type": "string",
"required": true
}
},
},
"paramOrder": [
"paramOrder": [
"item_imagefilepath",
"item_name",
"item_name",
"item_type",
"item_type",

Revision as of 09:44, 26 August 2024

[[File:{{{item_imagefilepath}}}.png|100px]]
{{{item_name}}}
{{{item_name}}}
Souls {{{souls}}}
{{{stat1}}}



No description.

Template parameters

ParameterDescriptionTypeStatus
item_imagefilepathitem_imagefilepath

no description

Stringrequired
item_nameitem_name

no description

Page namerequired
item_typeitem_type

no description

Suggested values
Weapon Vitality Spirit
Stringrequired
item_stat1item_stat1

no description

Stringsuggested
item_stat2item_stat2

no description

Stringoptional
item_stat3item_stat3

no description

Stringoptional
item_stat4item_stat4

no description

Stringoptional
item_stat5item_stat5

no description

Stringoptional
soulssouls

no description

Numberrequired
has_componentshas_components

no description

Booleanoptional
component1_namecomponent1_name

no description

Stringoptional
has_passive1has_passive1

no description

Booleanrequired
passive1_descriptionpassive1_description

no description

Stringoptional
passive1_cooldownpassive1_cooldown

no description

Numberoptional
passive1_stat1passive1_stat1

no description

Stringoptional
passive1_stat2passive1_stat2

no description

Unknownoptional
passive1_stat3passive1_stat3

no description

Unknownoptional
passive1_stat4passive1_stat4

no description

Unknownoptional
passive1_stat5passive1_stat5

no description

Unknownoptional
passive2_descriptionpassive2_description

no description

Unknownoptional
passive2_cooldownpassive2_cooldown

no description

Unknownoptional
passive2_stat1passive2_stat1

no description

Unknownoptional
passive2_stat2passive2_stat2

no description

Unknownoptional
passive2_stat3passive2_stat3

no description

Unknownoptional
passive2_stat4passive2_stat4

no description

Unknownoptional
passive2_stat5passive2_stat5

no description

Unknownoptional
has_active1has_active1

no description

Booleanrequired
active1_descriptionactive1_description

no description

Unknownoptional
active1_cooldownactive1_cooldown

no description

Unknownoptional
active1_stat1active1_stat1

no description

Unknownoptional
active1_stat2active1_stat2

no description

Unknownoptional
active1_stat3active1_stat3

no description

Unknownoptional
active1_stat4active1_stat4

no description

Unknownoptional
active1_stat5active1_stat5

no description

Unknownoptional
has_iscomponentofhas_iscomponentof

no description

Booleanrequired
iscomponentof1_nameiscomponentof1_name

no description

Unknownoptional