Difference between revisions of "Template:FeatAutoGrant"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 2: | Line 2: | ||
|name = FeatAutoGrant | |name = FeatAutoGrant | ||
|description = This template is used to generate a nicely defined look for auto granted feats. | |description = This template is used to generate a nicely defined look for auto granted feats. | ||
|parameter1name = | |parameter1name = grant | ||
|parameter1description = To whom is it autogranted | |parameter1description = To whom is it autogranted | ||
|parameter1values = | |parameter1values = | ||
* | * ''class'' | ||
* | * ''race'' | ||
|parameter2name = level | * ''all'' for character | ||
| | |parameter2name = name | ||
| | |parameter2description = if the grant is ''class'' or ''race'' then put the name of the class or race here | ||
|parameter3name = level | |||
|parameter3description = At what level is it granted, this can be repeated 10 times, not needed for race. | |||
|parameter3values = | |||
* If parameter1 is a class, the class level | * If parameter1 is a class, the class level | ||
* If parameter1 is ALL, the character level | * If parameter1 is ALL, the character level | ||
Line 15: | Line 18: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| all=This feat is granted free to all characters {{#ifexpr: {{{ | | 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]] | ||
| #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]] | |||
}} | }} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 19:48, 10 July 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 | |
grant | To whom is it autogranted Possible Values:
|
name | if the grant is class or race then put the name of the class or race here |
level | At what level is it granted, this can be repeated 10 times, not needed for race. Possible Values:
|
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]]