Template:ItemSummary: Difference between revisions

TheMilkMan (talk | contribs)
mNo edit summary
TheMilkMan (talk | contribs)
Changing template to handle all relevant body text.
Line 6: Line 6:
-->{{#vardefine:component2cost|{{#invoke:ItemData|get_cost|{{#var:component2}}}}}}<!--
-->{{#vardefine:component2cost|{{#invoke:ItemData|get_cost|{{#var:component2}}}}}}<!--


-->It can be purchased from the [[The Curiosity Shop|Shop]] for {{Souls|{{#invoke:ItemData|get_cost|{{#var:item_key_or_en}}}}}}. <!--
-->'''{{#var:item_key_or_en}}''' is a Tier {{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Tier}} {{ItemType|{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Slot}}|color=true}} that can be purchased from the [[The Curiosity Shop|Shop]] for {{Souls|{{#invoke:ItemData|get_cost|{{#var:item_key_or_en}}}}}}. <!--


-->{{#if:{{#var:component2}}|
-->{{#if:{{#var:component2}}|
Line 14: Line 14:
-->{{#ifexpr:({{#invoke:ItemData|get_builds_into_count|{{#var:item_key_or_en}}}} + 0) > 0|<span></span>
-->{{#ifexpr:({{#invoke:ItemData|get_builds_into_count|{{#var:item_key_or_en}}}} + 0) > 0|<span></span>


'''{{#var:item_key_or_en}}''' is a {{#if:{{#var:component1}}|component|[[Components|component]]}} of {{#invoke:ItemData|get_builds_into|{{#var:item_key_or_en}}}}.}}</includeonly><noinclude>{{ItemSummary|Healing Booster}}</noinclude>
'''{{#var:item_key_or_en}}''' is a {{#if:{{#var:component1}}|component|[[Components|component]]}} of {{#invoke:ItemData|get_builds_into|{{#var:item_key_or_en}}}}.}}</includeonly><noinclude>{{User:TheMilkMan/SandboxTemplate|Healing Booster}}</noinclude>