Difference between revisions of "Template:Unlock reward"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Change achievements to use {{item icon}} to display the actual achievement icon instead of the generic one.)
(Set Emotes to use template: action icon so as to produce canonical names)
Line 16: Line 16:
   | ach = {{item icon|{{{2}}}}}{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Achievement;{{{2}}}}}}}
   | ach = {{item icon|{{{2}}}}}{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Achievement;{{{2}}}}}}}
   | dg = <div style="display:inline-block;margin-left:2px;">[[File:Dungeon.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Dungeon;{{{2}}}}}}}
   | dg = <div style="display:inline-block;margin-left:2px;">[[File:Dungeon.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Dungeon;{{{2}}}}}}}
   | em = <div style="display:inline-block;margin-left:2px;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Emote;{{{2}}}}}}}
   | em = {{action icon|{{{2}}}}}{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Emote;{{{2}}}}}}}
   | ot = [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Other;{{{2}}}}}}}
   | ot = [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Other;{{{2}}}}}}}
   | lc = <div style="display:inline-block;margin-left:2px;">[[File:Location.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Location;{{{2}}}}}}}
   | lc = <div style="display:inline-block;margin-left:2px;">[[File:Location.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Location;{{{2}}}}}}}
Line 46: Line 46:
* {{Unlock reward|r|Kobold}} is produced from <code><nowiki>{{Unlock reward|r|Kobold}}</nowiki></code>
* {{Unlock reward|r|Kobold}} is produced from <code><nowiki>{{Unlock reward|r|Kobold}}</nowiki></code>
* {{Unlock reward|ach|Green Eyes}} is produced from <code><nowiki>{{Unlock reward|ach|Green Eyes}}</nowiki></code>
* {{Unlock reward|ach|Green Eyes}} is produced from <code><nowiki>{{Unlock reward|ach|Green Eyes}}</nowiki></code>
* {{Unlock reward|em|Haurchefant (Emote)}} is produced from <code><nowiki>{{Unlock reward|em|Haurchefant (Emote)}}</nowiki></code>
* {{Unlock reward|ac|Ruin}} is produced from <code><nowiki>{{Unlock reward|ac|Ruin}}</nowiki></code>
* {{Unlock reward|ac|Ruin}} is produced from <code><nowiki>{{Unlock reward|ac|Ruin}}</nowiki></code>
* {{Unlock reward|cur|Aether Current}} is produced from <code><nowiki>{{Unlock reward|cur|Aether Current}}</nowiki></code>
* {{Unlock reward|cur|Aether Current}} is produced from <code><nowiki>{{Unlock reward|cur|Aether Current}}</nowiki></code>

Revision as of 02:36, 24 October 2022

Description

{{Unlock reward|<type>|<unlock name>}}

Used by {{Quest infobox}} to define a single quest's unlock reward, be it action, dungeon, raid, trial, etc.

Parameters

unnamed parameter 1
Unlock type. Expects ac (Action), tt (Trait), dg (Dungeon), em (Emote), lc (Location), ot (Other), ra (Raid), ul (Ultimate Raid), or tr (Trial), pvp (PvP mode),cur (Aether Current), ms (Mount Speed), r<1-9> (Reputation rank up), or ngp (New Game +).
unnamed parameter 2
Unlock name. The system unlock name.
no-smw
Set anything to prevent annotating data to SMW.

Examples

See also