Difference between revisions of "Template:FeatPrerequisite"

From DDO Compendium
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)
* Past Life (name=type of PL:herioc or racial or epic or iconic, value=what)
* 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 41: Line 42:
|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 {{{3}}} in {{{2}}} {{{4|}}}
|enhancement=Requires Enhancement {{{3}}} in {{{2}}} {{{4|}}}
|past life|pl={{#switch: {{lc:{{{2}}}}}
|heroic=[[Heroic Reincarnation]] from [[{{{3}}}]]
|epic=[[Epic Reincarnation]] from [[{{{3}}}]]
|racial=[[Racial Reincarnation]] from [[{{{3}}}]]
|iconic=[[Iconic Reincarnation]] from [[{{{3}}}]]
}}
|#default={{#ifexist: {{{2|}}}|[[{{{2|}}}|{{{2|}}} {{{3|}}}]]|{{{2|}}} {{{3|}}}}}
|#default={{#ifexist: {{{2|}}}|[[{{{2|}}}|{{{2|}}} {{{3|}}}]]|{{{2|}}} {{{3|}}}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 18:41, 26 September 2019

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)
  • Past Life (name=type of PL:herioc or racial or epic or iconic, value=what)
  • 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.