Difference between revisions of "Template:Unlock reward"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:unlockrewardcnt|{{#expr:{{#var:unlockrewardcnt|0}}+1}}}}<!-- | <includeonly>{{#vardefine:unlockrewardcnt|{{#expr:{{#var:unlockrewardcnt|0}}+1}}}}<!-- | ||
-->{{#switch:{{lc:{{{1|}}}}} | -->{{#switch:{{lc:{{{1|}}}}} | ||
| r1 | r2 | r3 | r4 | r5 | r6 | r7 | r8 = {{ucfirst:{{{2}}}}} Reputation Up ({{#switch:{{#sub:{{{1}}}|1|1}} | |||
| 1 = Neutral | |||
| 2 = Recognized | |||
| 3 = Friendly | |||
| 4 = Trusted | |||
| 5 = Respected | |||
| 6 = Honored | |||
| 7 = Sworn | |||
| 8 = Allied | |||
}}) | |||
| 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;margin-left:2px;">[[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}} | ||
Line 15: | Line 25: | ||
=== Parameters === | === Parameters === | ||
; ''unnamed parameter'' 1 | ; ''unnamed parameter'' 1 | ||
: Unlock type. Expects ''ac (Action)'', ''dg (Dungeon)'', ''em (Emote)'', ''lc'' (Location), ''ot (Other)'', ''ra (Raid)'', or ''tr (Trial)''. | : Unlock type. Expects ''ac (Action)'', ''dg (Dungeon)'', ''em (Emote)'', ''lc'' (Location), ''ot (Other)'', ''ra (Raid)'', or ''tr (Trial)'', or ''r<1-8> (Reputation rank up)''. | ||
; ''unnamed parameter'' 2 | ; ''unnamed parameter'' 2 | ||
: Unlock name. The system unlock name. | : Unlock name. The system unlock name. | ||
Line 23: | Line 33: | ||
* {{Unlock reward|ra|Omega: Deltascape}} is produced from <code><nowiki>{{{Unlock reward|ra|Omega: Deltascape}}</nowiki></code> | * {{Unlock reward|ra|Omega: Deltascape}} is produced from <code><nowiki>{{{Unlock reward|ra|Omega: Deltascape}}</nowiki></code> | ||
* {{Unlock reward|lc|Shirogane}} is produced from <code><nowiki>{{Unlock reward|lc|Shirogane}}</nowiki></code> | * {{Unlock reward|lc|Shirogane}} is produced from <code><nowiki>{{Unlock reward|lc|Shirogane}}</nowiki></code> | ||
* {{Unlock reward|r2|Sylph}} is produced from <code><nowiki>{{Unlock reward|r2|Sylph}}</nowiki></code> | |||
== See also== | == See also== |
Revision as of 18:46, 27 October 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), lc (Location), ot (Other), ra (Raid), or tr (Trial), or r<1-8> (Reputation rank up).
- 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}}
- Shirogane"Shirogane" 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|lc|Shirogane}}
- Sylph Reputation Up (Recognized) is produced from
{{Unlock reward|r2|Sylph}}
See also
- {{Item reward}}
- {{Quest infobox}}