Difference between revisions of "Template:FeatPrerequisite"

From DDO Compendium
Line 39: Line 39:
|spell=Ability to cast level {{{2|{{{3|}}}}}} Spells.
|spell=Ability to cast level {{{2|{{{3|}}}}}} Spells.
|destiny=Requires {{{3|}}} Capped Destiny or Destinies from {{{2|}}} Sphere(s).
|destiny=Requires {{{3|}}} Capped Destiny or Destinies from {{{2|}}} Sphere(s).
|enhancement=Requires Enhancement {{{1}}} in {{{2}}} {{{3|}}}
|enhancement=Requires Enhancement {{{3}}} in {{{2}}} {{{4|}}}
|#default={{#ifexist: {{{2|}}}|[[{{{2|}}}|{{{2|}}} {{{3|}}}]]|{{{2|}}} {{{3|}}}}}
|#default={{#ifexist: {{{2|}}}|[[{{{2|}}}|{{{2|}}} {{{3|}}}]]|{{{2|}}} {{{3|}}}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 21:34, 27 October 2018

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)
  • 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.