Difference between revisions of "Template:FeatPrerequisite"

From DDO Compendium
Line 26: Line 26:
* Skill (name=Skill name, value = trained ranks)
* Skill (name=Skill name, value = trained ranks)
* Past Life (name=type of PL:herioc or racial or epic or iconic, value=what)
* Past Life (name=type of PL:herioc or racial or epic or iconic, value=what)
* Alignment
* 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 35: Line 36:
|-feat=Cannot have [[{{{2|}}}]]
|-feat=Cannot have [[{{{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|}}}|}}}}

Revision as of 19:04, 4 June 2020

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:
  • Feat (name = feat)
  • Ability (name = ability, value = requirement)
  • Level (name or value = level)
  • Race (name = race, value = level (opt))
  • Class (name = class)
  • BAB (Base Attack Bonus)
  • Spell (name or Value = Spell Level)
  • Destiny (name = destinies (ex. Arcane and Divine), value = number)
  • 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
  • If nothing, then will default to blank name, value, and link
Prerequisite NameThe name of the prerequisite
(Opt) ValueThe 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.