Difference between revisions of "Template:FeatAutoGrant"

From DDO Compendium
(wording tweak)
Line 8: Line 8:
* ''class''
* ''class''
* ''race''
* ''race''
* ''feat''
* ''all'' for character
* ''all'' for character
|parameter2name = name
|parameter2name = name
|parameter2description = if the grant is ''class'' or ''race'' then put the name of the class or race here
|parameter2description = if the grant is ''class'', ''race'', or ''feat'' then put the name of the class or race here
|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 21: Line 22:
| 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]]
| feat= This feat is granted automatically as part of [[{{{2}}}]]
| #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 22:57, 21 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
  • all for character
nameif the grant is class, race, or feat 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]]