Template:ItemDetails: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query:tables=Items
<includeonly>{{#cargo_query:tables=Items
|fields=_pageName=Item, Image, Type, Level, Class, WeaponPower, SkillPower, UseSpeed, Bonus, STR, AGI, WIS, LUCK, MISC, MISC2, Reach, Upgrade, Defence, Skill, SkillDiscription, Quest, Description, Rarity, Tier, Source, HasCard, Notes, Family
|fields=_pageName=Item, Image=Image, Type=Type, Level=Level, Class=Class, WeaponPower=WeaponPower, SkillPower=SkillPower, UseSpeed=UseSpeed, Bonus=Bonus, STR=STR, AGI=AGI, WIS=WIS, LUCK=LUCK, MISC=MISC, MISC2=MISC2, Reach=Reach, Upgrade=Upgrade, Defence=Defence, Skill=Skill, Quest=Quest, Description=Description, Rarity=Rarity, Tier=Tier, Family=Family
|where=_pageName LIKE "{{{1|}}}"
|where=_pageName LIKE "{{{1|}}}"
|format=template
|format=template
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
|template=ItemDetails/tooltipbox
|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, TierAquirements=TierReq
|fields=_pageName=Item, Type, Bonus, Material=StampMat
|where=_pageName LIKE "{{{1|}}}"
|where=_pageName LIKE "{{{1|}}}"
|format=template
|format=template
|template=ItemDetails/tooltipbox
|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
}}{{#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/tooltipbox
|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/tooltipbox
|where=_pageName LIKE "{{{1|}}}"
  |named args=yes
|format=template
  |default=
|template=ItemDetails/{{#if:{{{tooltip|}}}|tooltip}}box
  }}
|named args=yes
  }}
|default=
}}
}}</includeonly>
}}</includeonly>

Latest revision as of 03:25, 22 March 2024