Difference between revisions of "Template:FeatPrerequisite"
From DDO Compendium
m |
MNDeveloper (talk | contribs) |
||
(55 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|name = Prerequisite | |name = Prerequisite | ||
|description = Used for Prerequisites | |description = Used for Prerequisites | ||
|category=Spell and Feat Templates | |||
|usesnamedparameters = | |usesnamedparameters = | ||
|example1 = <nowiki>{{ | |example1 = <nowiki>{{FeatPrerequisite|Ability|Dexterity|19}}</nowiki> | ||
|example1output = {{ | |example1output = {{FeatPrerequisite|Ability|Dexterity|19}} | ||
|example2 = <nowiki>{{ | |example2 = <nowiki>{{FeatPrerequisite|BAB|4}}</nowiki> | ||
|example2output = {{ | |example2output = {{FeatPrerequisite|BAB|4}} | ||
|example3 = | |example3 = <nowiki>{{FeatPrerequisite|-Feat|Two Weapon Fighting}}</nowiki> | ||
|example3output = | |example3output = {{FeatPrerequisite|-Feat|Two Weapon Fighting}} | ||
|example4 = | |example4 = | ||
|example4output = | |example4output = | ||
Line 14: | Line 15: | ||
|parameter1description = | |parameter1description = | ||
|parameter1values = | |parameter1values = | ||
* Feat | * Feat (name = feat) | ||
* Ability | * Ability (name = ability, value = requirement) | ||
* Level (name or value = level) | |||
* Race (name = race, value = level (opt)) | |||
* Class (name = class) | |||
* BAB (Base Attack Bonus) | * 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 | * If nothing, then will default to blank name, value, and link | ||
|parameter2name = Prerequisite Name | |parameter2name = Prerequisite Name | ||
|parameter2description=The name of the prerequisite | |parameter2description=The name of the prerequisite | ||
|parameter3name= (Opt) Value | |parameter3name= (Opt) Value | ||
| | |parameter3description=The value of the prerequisite (optional) | ||
}}</noinclude><onlyinclude>{{#switch: {{{1|}}} | }}</noinclude><onlyinclude>{{#switch: {{lc:{{{1|}}}}} | ||
| | |feat={{RenderLink|{{{2|}}}}} | ||
| | |-feat=Cannot have {{RenderLink|{{{2|}}}}} | ||
| | |ability=[[{{{2|}}}|{{{3|}}} {{{2|}}}]] | ||
|# | |alignment=Requires {{{2|}}} alignment | ||
|-alignment=Requires any alignment except {{{2|}}} | |||
|bab=[[Base Attack Bonus|Base Attack Bonus +{{{2|{{{3|}}}}}}]] | |||
|level=Minimum Level {{#if: {{{2|}}} | {{{2|}}}|{{#if: {{{3|}}} | {{{3|}}}|}}}} | |||
|race=Requires {{RenderLink|{{{2|}}}}} Race | |||
|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. | |||
|destiny=Requires {{{3|}}} Capped {{#ifexpr: {{{3|}}} > 1|Destinies|Destiny}}{{#if: {{{2|}}}| from {{{2|}}} Sphere.}} | |||
|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|}}}}} | |||
}}</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.