Template:Infobox item: Difference between revisions

DMrD (talk | contribs)
mNo edit summary
Tag: Manual revert
Ficush (talk | contribs)
Added item_description parameter
Line 50: Line 50:
  {{!}}-  
  {{!}}-  
  ! Components: <br> {{Item|{{{component1_name}}}}}
  ! Components: <br> {{Item|{{{component1_name}}}}}
| display: none;"}}
|}
{|- 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_description|}}}
|
"
{{!}}-
! {{{item_description}}}
| display: none;"}}
| display: none;"}}
|}
|}
Line 372: Line 386:
"iscomponentof1_name": {
"iscomponentof1_name": {
"type": "wiki-page-name"
"type": "wiki-page-name"
},
    "item_description": {
"type": "string"
},
},
"item_stat3": {
"item_stat3": {
Line 479: Line 496:
"has_active1",
"has_active1",
"has_iscomponentof",
"has_iscomponentof",
    "item_description",
"item_stat1",
"item_stat1",
"item_stat2",
"item_stat2",