Difference between revisions of "Template:FeatPrerequisite"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(28 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
* Destiny (name = destinies (ex. Arcane and Divine), value = number) | * Destiny (name = destinies (ex. Arcane and Divine), value = number) | ||
* Enhancement (name = tree, value = enhancement name) | * Enhancement (name = tree, value = enhancement name) | ||
* Skill (name=Skill name, value = trained ranks) | |||
* Past Life (name=type of PL:herioc or racial or epic or iconic, value=what) | |||
* Alignment | |||
* Domain (name=Which Domain) | |||
* If nothing, then will default to blank name, value, and link | * If nothing, then will default to blank name, value, and link | ||
|parameter2name = Prerequisite Name | |parameter2name = Prerequisite Name | ||
Line 30: | Line 34: | ||
|parameter3description=The value of the prerequisite (optional) | |parameter3description=The value of the prerequisite (optional) | ||
}}</noinclude><onlyinclude>{{#switch: {{lc:{{{1|}}}}} | }}</noinclude><onlyinclude>{{#switch: {{lc:{{{1|}}}}} | ||
|feat= | |feat={{RenderLink|{{{2|}}}}} | ||
|-feat=Cannot have | |-feat=Cannot have {{RenderLink|{{{2|}}}}} | ||
|ability=[[{{{2|}}}|{{{3|}}} {{{2|}}}]] | |ability=[[{{{2|}}}|{{{3|}}} {{{2|}}}]] | ||
|alignment=Requires {{{2|}}} alignment | |||
|-alignment=Requires any alignment except {{{2|}}} | |||
|bab=[[Base Attack Bonus|Base Attack Bonus +{{{2|{{{3|}}}}}}]] | |bab=[[Base Attack Bonus|Base Attack Bonus +{{{2|{{{3|}}}}}}]] | ||
|level=Minimum Level {{#if: {{{2|}}} | {{{2|}}}|{{#if: {{{3|}}} | {{{3|}}}|}}}} | |level=Minimum Level {{#if: {{{2|}}} | {{{2|}}}|{{#if: {{{3|}}} | {{{3|}}}|}}}} | ||
|race=Requires | |race=Requires {{RenderLink|{{{2|}}}}} Race | ||
|class=Requires {{#if: {{{3|}}} | Level {{{3|}}}|}} | |class=Requires {{#if: {{{3|}}} | Level {{{3|}}}|}} {{RenderLink|{{{2|}}}}} | ||
|-class=Cannot be {{RenderLink|{{{2|}}}}} | |||
|-race=Cannot be {{RenderLink|{{{2|}}}}} | |||
|spell=Ability to cast level {{{2|{{{3|}}}}}} Spells. | |spell=Ability to cast level {{{2|{{{3|}}}}}} Spells. | ||
|destiny=Requires {{{3|}}} Capped Destiny | |destiny=Requires {{{3|}}} Capped {{#ifexpr: {{{3|}}} > 1|Destinies|Destiny}}{{#if: {{{2|}}}| from {{{2|}}} Sphere.}} | ||
|enhancement=Requires Enhancement {{{3}}} in {{{2}}} {{{4|}}} | |enhancement=Requires Enhancement {{{3}}} in {{{2}}} {{{4|}}} | ||
|past life|pl={{#switch: {{lc:{{{2}}}}} | |||
|heroic=[[Heroic True Reincarnation]] in the {{RenderLink|{{{3}}}}} class | |||
|epic=[[Epic Reincarnation]] | |||
|racial=[[Racial Reincarnation]] when the {{RenderLink|{{{3}}}}} race {{#ifeq: {{lc:{{#dplvar:displaystyle}}}}|table||[[Category: {{{3}}} Racial Past Life Feats]]}} | |||
|iconic=[[Iconic Reincarnation]] when {{RenderLink|{{{3}}}}} iconic race | |||
}} | |||
|domain=[[{{{2|}}}]] selected {{#ifeq: {{#dplvar:displaystyle}}|Table||[[Category: {{{2|}}} Feats]]}} | |||
|skill={{{3|}}} trained ranks of [[Skills#{{{2|}}}|{{{2|}}}]] | |||
|#default={{#ifexist: {{{2|}}}|[[{{{2|}}}|{{{2|}}} {{{3|}}}]]|{{{2|}}} {{{3|}}}}} | |#default={{#ifexist: {{{2|}}}|[[{{{2|}}}|{{{2|}}} {{{3|}}}]]|{{{2|}}} {{{3|}}}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 11:26, 10 June 2024
Prerequisite[edit]
Used for Prerequisites
Example Usage | |
{{FeatPrerequisite|Ability|Dexterity|19}} | 19 Dexterity |
{{FeatPrerequisite|BAB|4}} | Base Attack Bonus +4 |
{{FeatPrerequisite|-Feat|Two Weapon Fighting}} | Cannot have Two Weapon Fighting |
Usage[edit]
{{Prerequisite|(Prerequisite Type)|(Prerequisite Name)|((Opt) Value)}}
Parameter Documentation | |
Prerequisite Type | Possible Values:
|
Prerequisite Name | The name of the prerequisite |
(Opt) Value | The value of the prerequisite (optional) |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.