Difference between revisions of "Template:FeatAutoGrant"

From DDO Compendium
(update to properly display text for autogranted feats given at every class level)
Line 14: Line 14:
|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.
|parameter3values =  
|parameter3values =  
* If parameter1 is a class, the class level
* 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
}}
}}
Line 21: Line 21:
| all=This feat is granted free to all characters {{#ifexpr: {{{3}}} = 1|upon creation|at character level{{#if: {{{4|}}}|s|}} {{{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|}}}|}}.
| all=This feat is granted free to all characters {{#ifexpr: {{{3}}} = 1|upon creation|at character level{{#if: {{{4|}}}|s|}} {{{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|}}}|}}.
| race= This feat is granted free to [[{{{2}}}]][[Category:{{{2}}} Racial Feats]]
| race= This feat is granted free to [[{{{2}}}]][[Category:{{{2}}} Racial Feats]]
| #default= This feat is granted free to [[{{{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 | every time a level of [[{{{2}}}]] is taken during level up | 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 08:31, 7 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
  • all for character
nameif the grant is class or race then put the name of the class or race here
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

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]]