Difference between revisions of "Template:FeatAutoGrant"

From DDO Compendium
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 = TO
|parameter1name = grant
|parameter1description = To whom is it autogranted
|parameter1description = To whom is it autogranted
|parameter1values =  
|parameter1values =  
* Class name
* ''class''
* ALL for character
* ''race''
|parameter2name = level
* ''all'' for character
|parameter2description = At what level is it granted, this can be repeated 10 times.
|parameter2name = name
|parameter2values =  
|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: {{{2}}} = 1|upon creation|at character level{{#if: {{{3|}}}|s|}} {{{2}}}}}{{#if: {{{3|}}}|, {{{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|}}}|}}.
| 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|}}}|}}.
| #default= This feat is granted free to [[{{{1}}}]] at class level {{{2}}}{{#if: {{{3|}}}|,{{{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}}}}}
| 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]]
}}
}}
{{#ifeq: {{lc:{{{1|}}}}}|all||[[Category:{{{1}}} 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
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 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]]