Difference between revisions of "Template:Unlock reward"
Jump to navigation
Jump to search
JohnnySolas (talk | contribs) |
Freedom4556 (talk | contribs) (Added Bloodsworn as Rank 8, Moved Allied to Rank 9) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{no-smw|}}}||{{#vardefine:unlockrewardcnt|{{#expr:{{#var:unlockrewardcnt|0}}+1}}}}}}<!-- | <includeonly>{{#if:{{{no-smw|}}}||{{#vardefine:unlockrewardcnt|{{#expr:{{#var:unlockrewardcnt|0}}+1}}}}}}<!-- | ||
-->{{#switch:{{lc:{{{1|}}}}} | -->{{#switch:{{lc:{{{1|}}}}} | ||
| r | r1 | r2 | r3 | r4 | r5 | r6 | r7 | r8 = <div style="display:inline-block;margin-left:2px;">[[File:Golden R.png|24px|Reputation up|link={{{2}}}]]</div> [[{{{2}}}|{{ucfirst:{{{2}}}}} Reputation Up{{#ifeq:{{#len:{{{1|}}}}}|2| ({{#vardefineecho:rep-level|{{#switch:{{#sub:{{{1}}}|1|1}} | | r | r1 | r2 | r3 | r4 | r5 | r6 | r7 | r8 | r9 = <div style="display:inline-block;margin-left:2px;">[[File:Golden R.png|24px|Reputation up|link={{{2}}}]]</div> [[{{{2}}}|{{ucfirst:{{{2}}}}} Reputation Up{{#ifeq:{{#len:{{{1|}}}}}|2| ({{#vardefineecho:rep-level|{{#switch:{{#sub:{{{1}}}|1|1}} | ||
| 1 = Neutral | | 1 = Neutral | ||
| 2 = Recognized | | 2 = Recognized | ||
Line 9: | Line 9: | ||
| 6 = Honored | | 6 = Honored | ||
| 7 = Sworn | | 7 = Sworn | ||
| 8 = Bloodsworn | |||
| 8 = Allied | | 8 = Allied | ||
}}}})}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Reputation {{#var:rep-level}};{{{2}}}}}}} | }}}})}}]]{{#if:{{{no-smw|}}}||{{#set:Has system unlock={{#var:unlockrewardcnt}};Reputation {{#var:rep-level}};{{{2}}}}}}} |
Revision as of 16:29, 12 June 2021
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), or tr (Trial), cur (Aether Current), ms (Mount Speed), or r<1-8> (Reputation rank up).
- unnamed parameter 2
- Unlock name. The system unlock name.
- no-smw
- Set anything to prevent annotating data to SMW.
Examples
- Sastasha is produced from
{{Unlock reward|dg|Sastasha}}
- Omega: Deltascape is produced from
{{{Unlock reward|ra|Omega: Deltascape}}
- Shirogane is produced from
{{Unlock reward|lc|Shirogane}}
- Sylph Reputation Up (Recognized) is produced from
{{Unlock reward|r2|Sylph}}
- Kobold Reputation Up is produced from
{{Unlock reward|r|Kobold}}
- Green Eyes is produced from
{{Unlock reward|ach|Green Eyes}}
- Ruin is produced from
{{Unlock reward|ac|Ruin}}
- Aether Current is produced from
{{Unlock reward|cur|Aether Current}}
- Mount Speed Increase is produced from
{{Unlock reward|ms|Mount Speed Increase}}
See also
- {{Item reward}}
- {{Quest infobox}}