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
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float: left; margin-right: 1em; ">
{{{item_name}}} is a {{{item_type}}} item purchasable at the [[shop]].
{|- style="text-align: center; border-collapse:collapse; {{
 
<span style="float:left; margin-right:2em;">
{|- style="text-align:center; border-collapse:collapse; width:150px; max-width:300px;{{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #FCAC4D; color: #3A2B08;
  | Weapon = background-color: #FCAC4D; color: #3A2B08;
Line 20: Line 22:
  | background-color: #FFF0D7; color: #151912;}}"
  | background-color: #FFF0D7; color: #151912;}}"
! {{{item_name}}}
! {{{item_name}}}
|}
|}
</div>


<div style="float: left; margin-right: 2em">
</span>
{|- style="text-align: left; border-collapse:collapse"
<br>
|- style="color: #FFEFD7; {{
<span style="float:left; margin-right:1em; ">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 32: Line 33:
  | Spirit = background-color: #8B56B4;
  | Spirit = background-color: #8B56B4;
  | background-color: #C97A03;}}"
  | background-color: #C97A03;}}"
|-
! {{{item_name}}}
! {{{item_name}}}
 
|-
|- style="color: #FFEFD7; {{
#switch: {{{item_type}}}
| Weapon = background-color: #C97A03;
| Vitality = background-color: #659818;
| Spirit = background-color: #8B56B4;
| background-color: #C97A03;}}"
! {{ Souls|{{{souls}}} }}
! {{ Souls|{{{souls}}} }}
|}


|- style="{{
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #9E630C; color: #DCCFC6;
  | Weapon = background-color: #9E630C; color: #DCCFC6;
Line 53: Line 50:
  ! Components: <br> {{{component1_name}}}
  ! Components: <br> {{{component1_name}}}
| }}
| }}
|}


|- style="color: #FFEFD7; {{
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 65: Line 63:
  ! {{{item_stat1}}}
  ! {{{item_stat1}}}
| }}
| }}
|- style="color: #FFEFD7; {{
{{#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}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 71: Line 113:
  | Spirit = background-color: #623585;
  | Spirit = background-color: #623585;
  | background-color: #80550F;}}" {{
  | background-color: #80550F;}}" {{
#if: {{{item_stat2}}}
#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}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_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>
 
{|- 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>
</div>


</br>
{|- 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>
<noinclude>

Latest revision as of 12:44, 26 August 2024

{{{item_name}}} is a {{{item_type}}} item purchasable at the shop.

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


{{{item_name}}}
Souls {{{souls}}}
Components:
{{{component1_name}}}
{{{item_stat1}}}
{{{item_stat2}}}
{{{item_stat3}}}
{{{item_stat4}}}
{{{item_stat5}}}
Passive {{{passive1_cooldown}}}
{{{passive1_description}}}
{{{passive1_stat1}}}
{{{passive1_stat2}}}
{{{passive1_stat3}}}
{{{passive1_stat4}}}
{{{passive1_stat5}}}
Passive {{{passive2_cooldown}}}
{{{passive2_description}}}
{{{passive2_stat1}}}
{{{passive2_stat2}}}
{{{passive2_stat3}}}
{{{passive2_stat4}}}
{{{passive2_stat5}}}
Active {{{passive2_cooldown}}}
{{{active1_description}}}
{{{active1_stat1}}}
{{{active1_stat2}}}
{{{active1_stat3}}}
{{{active1_stat4}}}
{{{active1_stat5}}}
IS COMPONENT OF:
{{{iscomponentof1_name}}}

Template Data[edit | edit source]

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

Page nameoptional
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

Stringoptional
passive1_stat3passive1_stat3

no description

Stringoptional
passive1_stat4passive1_stat4

no description

Stringoptional
passive1_stat5passive1_stat5

no description

Stringoptional
passive2_descriptionpassive2_description

no description

Stringoptional
passive2_cooldownpassive2_cooldown

no description

Numberoptional
passive2_stat1passive2_stat1

no description

Stringoptional
passive2_stat2passive2_stat2

no description

Stringoptional
passive2_stat3passive2_stat3

no description

Stringoptional
passive2_stat4passive2_stat4

no description

Stringoptional
passive2_stat5passive2_stat5

no description

Stringoptional
has_active1has_active1

no description

Booleanrequired
active1_descriptionactive1_description

no description

Stringoptional
active1_cooldownactive1_cooldown

no description

Numberoptional
active1_stat1active1_stat1

no description

Stringoptional
active1_stat2active1_stat2

no description

Stringoptional
active1_stat3active1_stat3

no description

Stringoptional
active1_stat4active1_stat4

no description

Stringoptional
active1_stat5active1_stat5

no description

Stringoptional
has_iscomponentofhas_iscomponentof

no description

Booleanrequired
iscomponentof1_nameiscomponentof1_name

no description

Page nameoptional