Difference between revisions of "Template:FeatPrerequisite"

From DDO Compendium
 
(16 intermediate revisions by the same user not shown)
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
* 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 32: 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=[[{{{2|}}}]]
|feat={{RenderLink|{{{2|}}}}}
|-feat=Cannot have [[{{{2|}}}]]
|-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 [[{{{2|}}}]] Race
|race=Requires {{RenderLink|{{{2|}}}}} Race
|class=Requires {{#if: {{{3|}}} | Level {{{3|}}}|}} [[{{{2|}}}]]
|class=Requires {{#if: {{{3|}}} | Level {{{3|}}}|}} {{RenderLink|{{{2|}}}}}
|-race=Cannot be [[{{{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 or Destinies from {{{2|}}} Sphere(s).
|destiny=Requires {{{3|}}} Capped {{#ifexpr: {{{3|}}} > 1|Destinies|Destiny}}{{#if: {{{2|}}}|&nbsp;from {{{2|}}} Sphere.}}
|enhancement=Requires Enhancement {{{3}}} in {{{2}}} {{{4|}}}
|enhancement=Requires Enhancement {{{3}}} in {{{2}}} {{{4|}}}
|past life|pl={{#switch: {{lc:{{{2}}}}}
|past life|pl={{#switch: {{lc:{{{2}}}}}
|heroic=[[Heroic True Reincarnation]] in the [[{{{3}}}]] class
|heroic=[[Heroic True Reincarnation]] in the {{RenderLink|{{{3}}}}} class
|epic=[[Epic Reincarnation]] in the [[Epic Destinies|{{{3}}}]]
|epic=[[Epic Reincarnation]]
|racial=[[Racial Reincarnation]] when the [[{{{3}}}]] race
|racial=[[Racial Reincarnation]] when the {{RenderLink|{{{3}}}}} race
|iconic=[[Iconic Reincarnation]] when [[{{{3}}}]] iconic race
|iconic=[[Iconic Reincarnation]] when {{RenderLink|{{{3}}}}} iconic race
|skill=[[Skills#{{{2|}}}|{{{3|}}} trained ranks of {{{2|}}}]]
}}
}}
|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 20:06, 22 November 2021

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
  • Domain (name=Which Domain)
  • 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.