Difference between revisions of "Template:Unlock reward"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
-->{{#switch:{{lc:{{{1|}}}}} | -->{{#switch:{{lc:{{{1|}}}}} | ||
| ac = {{action icon|{{{2}}}}}{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Action}} | | ac = {{action icon|{{{2}}}}}{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Action}} | ||
| dg = <div style="display:inline-block;">[[File:Dungeon.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Dungeon}} | | dg = <div style="display:inline-block;margin-left:2px;">[[File:Dungeon.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Dungeon}} | ||
| em = <div style="display:inline-block;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Emote}} | | em = <div style="display:inline-block;margin-left:2px;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Emote}} | ||
| ot = <div style="display:inline-block;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Other}} | | ot = <div style="display:inline-block;margin-left:2px;">[[File:{{{2}}}.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Other}} | ||
| ra = <div style="display:inline-block;">[[File:Raid.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Raid}} | | ra = <div style="display:inline-block;margin-left:2px;">[[File:Raid.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Raid}} | ||
| tr = <div style="display:inline-block;">[[File:Trial.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Trial}} }}</includeonly><noinclude> | | tr = <div style="display:inline-block;margin-left:2px;">[[File:Trial.png|24px|{{{2}}}|link={{{2}}}]]</div> [[{{{2}}}]]{{#set:Has system unlock={{#var:unlockrewardcnt}};{{{2}}};Trial}} }}</includeonly><noinclude> | ||
== Description == | == Description == | ||
<pre>{{Unlock reward|<type>|<unlock name>}}</pre> | <pre>{{Unlock reward|<type>|<unlock name>}}</pre> |
Revision as of 21:03, 31 July 2017
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), dg (Dungeon), em (Emote), ot (Other), ra (Raid), or tr (Trial).
- unnamed parameter 2
- Unlock name. The system unlock name.
Examples
- Sastasha"Sastasha" is not in the list (Action, Achievement, AetherCurrent, Dungeon, Emote, Location, MountSpeed, Other, Raid, Reputation, ...) of allowed values for the "Has unlock type" property. is produced from
{{Unlock reward|dg|Sastasha}}
- Omega: Deltascape"Omega: Deltascape" is not in the list (Action, Achievement, AetherCurrent, Dungeon, Emote, Location, MountSpeed, Other, Raid, Reputation, ...) of allowed values for the "Has unlock type" property. is produced from
{{{Unlock reward|ra|Omega: Deltascape}}
- Akh Afah Amphitheatre (Extreme)"Akh Afah Amphitheatre (Extreme)" is not in the list (Action, Achievement, AetherCurrent, Dungeon, Emote, Location, MountSpeed, Other, Raid, Reputation, ...) of allowed values for the "Has unlock type" property. is produced from
{{Unlock reward|tr|Akh Afah Amphitheatre (Extreme)}}
See also
- {{Item reward}}
- {{Quest infobox}}