Difference between revisions of "Template:FeatAutoGrant"
From DDO Compendium
(update to properly display text for autogranted feats given at every class level) |
MNDeveloper (talk | contribs) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
* ''class'' | * ''class'' | ||
* ''race'' | * ''race'' | ||
* ''feat'' | |||
* ''favor'' | |||
* ''tome'' | |||
* ''enhancement'' | |||
* ''ed'' | |||
* ''hc'' | |||
* ''hcc'' | |||
* ''reaper1'' | |||
* ''reaper2'' | |||
* ''reaper3'' | |||
* ''all'' for character | * ''all'' for character | ||
|parameter2name = name | |parameter2name = name | ||
|parameter2description = if | |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 | |||
* if parameter1 is enhancement, the enhancement tree it is in | |||
* if parameter1 is ed, the Epic Destiny it is in | |||
* if parameter1 is hc, which reward (i.e. 1750 Favor, 5000 Favor, etc) | |||
* if parameter1 is hcc, what is being collected | |||
|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 16: | Line 36: | ||
* 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 | |||
* If parameter1 is tome, optional where you got the tome | |||
* if parameter1 is enhancement, the name of the granting enhancement | |||
* if parameter1 is ed, the name of the granting enhancement | |||
* if parameter1 is hc, which season of hc | |||
* if parameter1 is hcc, which season of hc | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| 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 | | race= This feat is granted free to {{RenderLink|{{{2}}}}} at character level 1[[Category:{{{2}}} Racial Feats]] | ||
| #default= This feat is granted free to | | feat= This feat is granted automatically as part of {{RenderLink|{{{2}}}}} | ||
| favor= This feat is granted as a reward for reaching {{{3}}} {{RenderLink|{{{2}}}}} favor | |||
| tome=This feat is granted upon reading a(n) {{{2}}} tome{{#if:{{{3|}}}|, received from {{{3}}}}} | |||
| enhancement=This feat is granted automatically when {{RenderLink|{{{3|}}}}} is taken in {{RenderLink|{{{2|}}}}} | |||
| ed=This feat is granted automatically when {{RenderLink|{{{3|}}}}} is taken in {{RenderLink|{{{2|}}}}} Epic Destiny | |||
| hc=This feat is granted by the Hardcore Vendor upon reaching {{{2}}} in season {{{3}}}. | |||
| hcc=This feat is granted by the Hardcore Vendor upon collecting {{{2}}} in season {{{3}}}. | |||
| reaper1=This feat can be purchased from [[Raven Queen Messenger]], and lasts until Reincarnation. | |||
| reaper2=This feat can be purchased from [[Raven Queen Augur]], and lasts until Reincarnation. | |||
| reaper3=This feat can be purchased from [[Raven Queen's Herald]], and lasts until Reincarnation. | |||
| #default= This feat is granted free to {{RenderLink|{{{2}}}}} {{#ifeq: {{lc:{{{3}}}}} | all | once per level of {{RenderLink|{{{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> |
Latest revision as of 12:43, 18 May 2023
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 | The name of what granted this feat Possible Values:
|
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]]