Template:ItemDetails: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 5: Line 5:
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|named args=yes
|named args=yes
|default=
|default={{#cargo_query:tables=Cards
}}{{#cargo_query:tables=Stamps
|fields=_pageName=Item, CONCAT(Category, " Card")=Type, Effect=Bonus, Bonus=BonusRate
|fields=_pageName=Item, Type, Bonus, Material=StampMat, Source
|where=_pageName LIKE "{{{1|}}}"
|where=_pageName LIKE "{{{1|}}}"
|format=template
|format=template
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|named args=yes
|named args=yes
|default={{#cargo_query:tables=Stamps
|default=
  |fields=_pageName=Item, Type, Bonus, Material=StampMat, Source
}}{{#cargo_query:tables=Fishing_Accessories
  |where=_pageName LIKE "{{{1|}}}"
|fields=_pageName=Item, GreenDepth, YellowDepth, RedDepth, PurpleDepth, ExpBonus, SpeedBonus=FishSpeed, PowerBonus=FishPower, Type
  |format=template
|where=_pageName LIKE "{{{1|}}}"
  |template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|format=template
  |named args=yes
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
  |default={{#cargo_query:tables=Fishing_Accessories
|named args=yes
  |fields=_pageName=Item, GreenDepth, YellowDepth, RedDepth, PurpleDepth, ExpBonus, SpeedBonus=FishSpeed, PowerBonus=FishPower, Type
|default=
  |where=_pageName LIKE "{{{1|}}}"
}}{{#cargo_query:tables=Cards
  |format=template
|fields=_pageName=Item, CONCAT(Category, " Card")=Type, Effect=Bonus, Bonus=BonusRate
  |template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|where=_pageName LIKE "{{{1|}}}"
  |named args=yes
|format=template
  |default=
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
  }}
|named args=yes
  }}
|default=
}}
}}</includeonly>
}}</includeonly>

Revision as of 02:31, 30 October 2021