Difference between revisions of "Template:Feat"

From DDO Compendium
Line 102: Line 102:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>'''Type: ''' {{{type}}}<br>'''Prerequisites:''' {{#if: {{{prerequisites|}}} | {{WrapMultiLine|{{{prerequisites|}}}}} | None}}<br>{{#if: {{{duration|}}} | '''Duration: '''{{#ifeq: {{lc: {{{duration|}}} }} | permanent | {{ucfirst: {{{duration|}}} }} | {{{duration}}} seconds}} <br>}}{{#if: {{{activationcost|}}} | '''Activation Cost:''' {{{activationcost}}}<br>}}{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds<br>}}{{#if: {{{description|}}}|<br>'''Description:''' {{{description|}}}<br><br>}}{{#if: {{{benefits|}}} |'''Benefits: '''
+
<td>'''Type: ''' {{{type}}}<br>'''Prerequisites:''' {{#if: {{{prerequisites|}}} | {{WrapMultiLine|{{{prerequisites|}}}}} | None}}<br>{{#if: {{{duration|}}} | '''Duration: '''{{#ifeq: {{lc: {{{duration|}}} }} | permanent | {{ucfirst: {{{duration|}}} }} | {{{duration}}} seconds}} <br>}}{{#if: {{{activationcost|}}} | '''Activation Cost:''' {{{activationcost}}}<br>}}{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds<br>}}{{#if: {{{description|}}}|<br>'''Description:''' {{{description|}}}<br><br>}}{{#if: {{{benefits|}}} |'''Benefits: ''' {{WrapMultiLine|{{{benefits|}}}}}
{{{benefits|}}} | }}
 
 
</td>
 
</td>
 
</tr>
 
</tr>

Revision as of 01:57, 27 March 2020

{{Template:Feat
|name =
|type =
|tier =
|autogrant=
|prerequisites =
|activationcost=
|duration =
|cooldown =
|description =
|benefits=
|notes =
|classbonus=
|autoonly=
|icon=
|link=
}}

Feat[edit]

This template is used to render information about a feat. Example of the Template in Use: Heroic Durability.

Usage[edit]

Parameter Documentation
nameThe name of the feat.
typeIs this an active or passive feat.
Possible Values:
  • Active
  • Passive
tierWhat tier of feat is this.
Possible Values:

This section is being updated and these may not be the most up to date list of options.

  • Basic
  • Combat Style
  • Defensive
  • Martial
  • Racial
  • Ranged
  • Class
  • Metamagic
  • Deity
  • Epic
  • Destiny
  • HeroicPL
  • RacialPL
  • Iconic Past Life
  • Epic Past Life
  • Spellcasting
  • Proficiencies
autograntUse Template:FeatAutoGrant to specify class and class levels this is autogranted for. Always bullet autogrants using *.
prerequisitesIf it is to another feat, use Template:FeatPrerequisite. Always bullet Prerequisites using *.
activationcostHow much of what does this cost to activate (i.e. 10 Ki)
durationEnter the duration of the feat in seconds, if it has one. Make sure you only enter the numeric portion.
cooldownEnter the cooldown timer of the feat in seconds, if it has one. Make sure you only enter the numeric portion.
descriptionDescribe the feat.
benefitsThe benefits received from the feet
notesAny special notes related to the feat.
classbonusIs this feat available as a class bonus feat. Use one or more Template:FeatClassBonus
autoonlyIs this only an automatically granted feat
Possible Values:
  • True
  • False (or leave blank)
iconThe name of the icon. .png will be added to the end of what you send in here. If this isn't specified, it will use the name of the feat. This is here to handle the need for duplicates, or when the feat name can't make a valid filename.
linkThe actual wiki name of this entry. Will be used for the link to it in the feat lists. Populate if the name you gave this does not match the entry name (i.e. entries that have (Feat) in the filename should not have it in the name of the item.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.



[[File:Feat_{{{name}}}_Icon.png|link=|36px|x36px|]]

{{{name}}}

Type: {{{type}}}
Prerequisites: None
{{#if: |Benefits:


[[Category: {{{tier}}} Feats]]