Difference between revisions of "Template:Item reward"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m (→‎Parameters: matched parameter names with example given)
Line 2: Line 2:
-->{{#switch:{{{2|}}}
-->{{#switch:{{{2|}}}
   | Sylphic Relations | Sahagin Relations | Kobold Relations | Ixali Relations | Amalj'aa Relations | Vanu Relations | Vath Relations | Moogle Relations | Kojin Relations | Ananta Relations | Namazu Relations| Pixie Relations | Qitari Relations | Dwarf Relations | Arkasodara Relations  = <!-- Reputation -->{{{1}}} <span style="position:relative; bottom:2px;">[[File:{{{2}}}.png|{{{size|20}}}px|link={{{2}}}|{{{2}}}]]</span> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has item reward={{#var:rewardcnt}};{{#var:min-qty}};{{#var:max-qty|0}};{{{2}}};Reputation;{{#if:{{{3|}}}|true|false}}}}}}
   | Sylphic Relations | Sahagin Relations | Kobold Relations | Ixali Relations | Amalj'aa Relations | Vanu Relations | Vath Relations | Moogle Relations | Kojin Relations | Ananta Relations | Namazu Relations| Pixie Relations | Qitari Relations | Dwarf Relations | Arkasodara Relations  = <!-- Reputation -->{{{1}}} <span style="position:relative; bottom:2px;">[[File:{{{2}}}.png|{{{size|20}}}px|link={{{2}}}|{{{2}}}]]</span> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has item reward={{#var:rewardcnt}};{{#var:min-qty}};{{#var:max-qty|0}};{{{2}}};Reputation;{{#if:{{{3|}}}|true|false}}}}}}
   | Venture | Company Seal | Steel Amalj'ok | Sylphic Goldleaf | Titan Cobaltpiece | Rainbowtide Psashp | Ixali Oaknot | Vanu Whitebone | Black Copper Gil | Carved Kupo Nut | Kojin Sango | Ananta Dreamstaff | Namazu Koban | Fae Fancy | Qitari Compliment | Hammered Frogment | Arkasodara Pana | Allagan Tomestone of Poetics | Allagan Tomestone of Aphorism | Allagan Tomestone of Astronomy = <!-- Currency -->{{{1}}} <div style="display:inline-block;margin-left:2px;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has item reward={{#var:rewardcnt}};{{#var:min-qty}};{{#var:max-qty|0}};{{{2}}};Currency;{{#if:{{{3|}}}|true|false}}}}}}
   | Venture | Company Seal | Steel Amalj'ok | Sylphic Goldleaf | Titan Cobaltpiece | Rainbowtide Psashp | Ixali Oaknot | Vanu Whitebone | Black Copper Gil | Carved Kupo Nut | Kojin Sango | Ananta Dreamstaff | Namazu Koban | Fae Fancy | Qitari Compliment | Hammered Frogment | Arkasodara Pana | Allagan Tomestone of Poetics | Allagan Tomestone of Aphorism | Allagan Tomestone of Astronomy | Allagan Tomestone of Causality = <!-- Currency -->{{{1}}} <div style="display:inline-block;margin-left:2px;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has item reward={{#var:rewardcnt}};{{#var:min-qty}};{{#var:max-qty|0}};{{{2}}};Currency;{{#if:{{{3|}}}|true|false}}}}}}
   | #default = <!-- Item -->{{{1}}} {{item icon|{{{2}}}}}{{#if:{{{no-smw|}}}||{{#set:Has item reward={{#var:rewardcnt}};{{#var:min-qty}};{{#var:max-qty|0}};{{{2}}};Item;{{#if:{{{3|}}}|true|false}}}}}} }}</includeonly><noinclude>
   | #default = <!-- Item -->{{{1}}} {{item icon|{{{2}}}}}{{#if:{{{no-smw|}}}||{{#set:Has item reward={{#var:rewardcnt}};{{#var:min-qty}};{{#var:max-qty|0}};{{{2}}};Item;{{#if:{{{3|}}}|true|false}}}}}} }}</includeonly><noinclude>
== Description ==
== Description ==

Revision as of 06:57, 25 August 2022

Description

{{Item reward|<quantity>|<item name>|<optional>}}

Used by {{Quest infobox}} to define a single quest's reward, be it reputation, currency or an item.

Parameters

quantity
Reward quantity. The amount of such item/reputation/currency. Accepts the <min qty>-<max qty> format for variable quantities.
item name
Reward name. The reward name (item, reputation or currency). Reward type will be defined through this parameter.
optional
Optional. Set anything to make this item optional. Defaults to no.
no-smw
Set anything to prevent annotating data to SMW.

Examples

See also