Template:ItemSummary: Difference between revisionsGive feedback
TheMilkMan (talk | contribs) Creating template to automatically generate body text within item pages regarding Cost and Components. |
Gammaton32 (talk | contribs) lowercase legendary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
-->{{#vardefine:component2cost|{{#invoke:ItemData|get_cost|{{#var:component2}}}}}}<!-- | -->{{#vardefine:component2cost|{{#invoke:ItemData|get_cost|{{#var:component2}}}}}}<!-- | ||
--> | -->'''{{#var:item_key_or_en}}''' is a {{#ifeq:{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Tier}}|5 | ||
|[[Legendary|{{Legendary|Legendary|lowercase=true}}]] {{ItemType|{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Slot}}|color=true}} that can only be obtained in [[Street Brawl]]. | |||
|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 16: | ||
-->{{#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> | ||
It is a {{#if:{{#var:component1}}|component|[[Components|component]]}} of {{#invoke:ItemData|get_builds_into|{{#var:item_key_or_en}}}}.}}</includeonly><noinclude>{{Template:ItemSummary|Unstable Concoction}}</noinclude> | |||