Difference between revisions of "Template:Unlock reward"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Line 23: Line 23:
   | 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:Map icon.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:Map icon.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Location;{{{2}}}}}}}
  | aet = <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}};Aetheryte;{{{2}}}}}}}
   | ra = <div style="display:inline-block;margin-left:2px;">[[File:Raid.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Raid;{{{2}}}}}}}
   | ra = <div style="display:inline-block;margin-left:2px;">[[File:Raid.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Raid;{{{2}}}}}}}
   | ul = {{#ifeq:{{{2}}}|(UltimateRaid, The Epic of Alexander (Ultimate)|<div style="display:inline-block;margin-left:2px;">[[File:Ultimate Raid.png|24px|The Epic of Alexander (Ultimate)|link=The Epic of Alexander (Ultimate)]]</div> [[The Epic of Alexander (Ultimate)]]|<div style="display:inline-block;margin-left:2px;">[[File:Ultimate Raid.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]}}{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};UltimateRaid;{{{2}}}}}}}
   | ul = {{#ifeq:{{{2}}}|(UltimateRaid, The Epic of Alexander (Ultimate)|<div style="display:inline-block;margin-left:2px;">[[File:Ultimate Raid.png|24px|The Epic of Alexander (Ultimate)|link=The Epic of Alexander (Ultimate)]]</div> [[The Epic of Alexander (Ultimate)]]|<div style="display:inline-block;margin-left:2px;">[[File:Ultimate Raid.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]}}{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};UltimateRaid;{{{2}}}}}}}

Revision as of 04:54, 30 October 2023

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