Difference between revisions of "Template:Perk"
From Hyrule Castle Library
(adding general perk support) |
(linking racial perk) |
||
Line 1: | Line 1: | ||
− | {{#if:{{{inline|}}}|This treasure is a|, and a}} {{#ifeq:{{{1}}}|general|general racial perk.|{{#if:{{{distinct|}}}|exclusive|{{#if:{{{innate|}}}|innate|}}}} racial perk for {{#if:{{{nos|}}}|[[{{{1}}}]]|[[{{{1}}}]]s}}.}} {{#if:{{{innate|}}}|As such, all {{#if:{{{nos|}}}|{{{1}}}|{{{1}}}s}} innately ''must'' have this treasure, even if the treasure is undesired. No other races can obtain this perk.|As such, {{#ifeq:{{{1}}}|general|any character|a {{{1}}}}} can choose to gain it as a perk upon character creation. {{#ifeq:{{{1}}}|general|Because this treasure is a general perk, no character may acquire it after creation.|{{#if:{{{nodiscount|}}}||If a {{{1}}} chooses to gain this perk at some point after creation, the perk costs 15 rupees less than the listed price.}} {{#if:{{{distinct|}}}|Since this is an exclusive perk, other races cannot acquire it as a treasure.|Other races acquire this treasure normally.}}}}}}<noinclude> | + | {{#if:{{{inline|}}}|This treasure is a|, and a}} {{#ifeq:{{{1}}}|general|general [[racial perk]].|{{#if:{{{distinct|}}}|exclusive|{{#if:{{{innate|}}}|innate|}}}} [[racial perk]] for {{#if:{{{nos|}}}|[[{{{1}}}]]|[[{{{1}}}]]s}}.}} {{#if:{{{innate|}}}|As such, all {{#if:{{{nos|}}}|{{{1}}}|{{{1}}}s}} innately ''must'' have this treasure, even if the treasure is undesired. No other races can obtain this perk.|As such, {{#ifeq:{{{1}}}|general|any character|a {{{1}}}}} can choose to gain it as a perk upon character creation. {{#ifeq:{{{1}}}|general|Because this treasure is a general perk, no character may acquire it after creation.|{{#if:{{{nodiscount|}}}||If a {{{1}}} chooses to gain this perk at some point after creation, the perk costs 15 rupees less than the listed price.}} {{#if:{{{distinct|}}}|Since this is an exclusive perk, other races cannot acquire it as a treasure.|Other races acquire this treasure normally.}}}}}}<noinclude> |
==Usage== | ==Usage== | ||
Type the following | Type the following |
Revision as of 10:49, 1 November 2013
, and a racial perk for [[{{{1}}}]]s. As such, a {{{1}}} can choose to gain it as a perk upon character creation. If a {{{1}}} chooses to gain this perk at some point after creation, the perk costs 15 rupees less than the listed price. Other races acquire this treasure normally.
Usage
Type the following
{{Perk|race|nos=|distinct=|nodiscount=}}
- Replace "race" with the name of the race(s) to which the racial perk is attributed. If the perk is a general perk, replace "race" with "general."
- If the race's plural form does not have an "s" (such as "Gerudo" being both singular and plural), then put in text for the nos line, after the equal sign. Otherwise, leave it blank or remove it.
- If the perk is an exclusive perk (it can be obtained by the benefiting race, but not other races), put any text after "distinct=", but before the next bar.
- If the perk is an innate perk (it must be obtained by the race, but doesn't require a perk slot), but any text after "innate=", but before the next bar.
- If the benefiting race doesn't get a "discount" if it's acquired after creation, put any text after "nodiscount=", but before the closing brackets.