Difference between revisions of "Template:Perk"

From Hyrule Castle Library
Jump to: navigation, search
m (tweak... not sure why this isn't working)
m (phrasing)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{inline|}}}| |, and a| This treasure is a}} {{#if:{{{distinct|}}}|distinct|{{#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, a {{{1}}} can choose to gain it as a perk upon character 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 a distinct 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|universal [[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.  Normally, no other races can obtain this treasure.|As such, {{#ifeq:{{{1}}}|general|any character|a {{{1}}}}} can choose to gain it as a perk upon character creation.  {{#ifeq:{{{1}}}|general|No character may acquire this treasure after character 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 cost.}}  {{#if:{{{distinct|}}}|Since this is an exclusive perk, other races normally cannot acquire it as a treasure.|}}}}}}<noinclude>
 
==Usage==
 
==Usage==
 
Type the following
 
Type the following
<pre>{{Perk|race|nos=|distinct=|nodiscount=|inline=}}</pre>
+
<pre>{{Perk|race|nos=|distinct=|nodiscount=}}</pre>
* Replace "race" with the name of the race(s) to which the racial perk is attributed.   
+
* 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 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 a distinct 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 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 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 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.
* If using this template to start a new sentence, put "no" after "inline=", but before the closing brackets.
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 09:21, 27 April 2016

, 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 cost.

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.