Difference between revisions of "Template:FeatAutoGrant"

From DDO Compendium
Line 9: Line 9:
* ''race''
* ''race''
* ''feat''
* ''feat''
* ''favor''
* ''tome''
* ''all'' for character
* ''all'' for character
|parameter2name = name
|parameter2name = name
|parameter2description = if the grant is ''class'', ''race'', or ''feat'' then put the name of the class or race here
|parameter2description = The name of what granted this feat
|parameter2values=
* if parameter1 is class, which class
* if parameter1 is race, which race
* if parameter1 is feat, which feat
* If parameter1 is favor, the name of the patron
* if parameter1 is tome, the tome that was used to grant the feat
|parameter3name = level
|parameter3name = level
|parameter3description = At what level is it granted, this can be repeated 10 times, not needed for race.
|parameter3description = At what level is it granted, this can be repeated 10 times, not needed for race.
Line 17: Line 25:
* If parameter1 is a class, the class level.  If this feat is granted on every level taken of a class, use ''all''
* If parameter1 is a class, the class level.  If this feat is granted on every level taken of a class, use ''all''
* If parameter1 is ALL, the character level
* If parameter1 is ALL, the character level
* If parameter1 is favor, the amount of favor needed
}}
}}
</noinclude>
</noinclude>
Line 23: Line 32:
| race= This feat is granted free to [[{{{2}}}]][[Category:{{{2}}} Racial Feats]]
| race= This feat is granted free to [[{{{2}}}]][[Category:{{{2}}} Racial Feats]]
| feat= This feat is granted automatically as part of [[{{{2}}}]]
| feat= This feat is granted automatically as part of [[{{{2}}}]]
| favor
| #default= This feat is granted free to [[{{{2}}}]] {{#ifeq: {{lc:{{{3}}} }} | all | once per level of [[{{{2}}}]] | at class level {{{3}}}{{#if: {{{4|}}}|,{{{4}}}}}{{#if: {{{5|}}}|,{{{5}}}}}{{#if: {{{6|}}}|,{{{6}}}}}{{#if: {{{7|}}}|,{{{7}}}}}{{#if: {{{8|}}}|,{{{8}}}}}{{#if: {{{9|}}}|,{{{9}}}}}{{#if: {{{10|}}}|,{{{10}}}}}{{#if: {{{11|}}}|,{{{11}}}}}{{#if: {{{12|}}}|,{{{12}}}}}}}[[Category:{{{2}}} Class Feats]]
| #default= This feat is granted free to [[{{{2}}}]] {{#ifeq: {{lc:{{{3}}} }} | all | once per level of [[{{{2}}}]] | at class level {{{3}}}{{#if: {{{4|}}}|,{{{4}}}}}{{#if: {{{5|}}}|,{{{5}}}}}{{#if: {{{6|}}}|,{{{6}}}}}{{#if: {{{7|}}}|,{{{7}}}}}{{#if: {{{8|}}}|,{{{8}}}}}{{#if: {{{9|}}}|,{{{9}}}}}{{#if: {{{10|}}}|,{{{10}}}}}{{#if: {{{11|}}}|,{{{11}}}}}{{#if: {{{12|}}}|,{{{12}}}}}}}[[Category:{{{2}}} Class Feats]]
}}
}}
</onlyinclude>
</onlyinclude>

Revision as of 16:37, 28 October 2018

FeatAutoGrant[edit]

This template is used to generate a nicely defined look for auto granted feats.

Usage[edit]

{{FeatAutoGrant|(grant)|(name)|(level)}}

Parameter Documentation
grantTo whom is it autogranted
Possible Values:
  • class
  • race
  • feat
  • favor
  • tome
  • all for character
nameThe name of what granted this feat
Possible Values:
  • if parameter1 is class, which class
  • if parameter1 is race, which race
  • if parameter1 is feat, which feat
  • If parameter1 is favor, the name of the patron
  • if parameter1 is tome, the tome that was used to grant the feat
levelAt what level is it granted, this can be repeated 10 times, not needed for race.
Possible Values:
  • If parameter1 is a class, the class level. If this feat is granted on every level taken of a class, use all
  • If parameter1 is ALL, the character level
  • If parameter1 is favor, the amount of favor needed

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


This feat is granted free to [[{{{2}}}]] at class level {{{3}}}[[Category:{{{2}}} Class Feats]]