Difference between revisions of "Template:Feat"

From DDO Compendium
Line 7: Line 7:
|autogrant=
|autogrant=
|prerequisites =
|prerequisites =
|classrequirements=
|activationcost=
|duration =
|duration =
|cooldown =
|cooldown =
Line 16: Line 16:
|autoonly=
|autoonly=
|icon=
|icon=
|link=
}}</pre>
}}</pre>
{{TemplateDocumentation
{{TemplateDocumentation
Line 24: Line 25:
|parameter1name = name
|parameter1name = name
|parameter1description = The name of the feat.
|parameter1description = The name of the feat.
|parameter1values =
|parameter2name = type
|parameter2name = type
|parameter2description = Is this an active or passive feat.
|parameter2description = Is this an active or passive feat.
Line 53: Line 53:
|parameter4name = autogrant
|parameter4name = autogrant
|parameter4description = Use [[Template:FeatAutoGrant]] to specify class and class levels this is autogranted for. Always bullet autogrants using <code><nowiki>*</nowiki></code>.
|parameter4description = Use [[Template:FeatAutoGrant]] to specify class and class levels this is autogranted for. Always bullet autogrants using <code><nowiki>*</nowiki></code>.
|parameter4values =
|parameter5name = prerequisites
|parameter5name = prerequisites
|parameter5description = If it is to another feat, make sure you include the link notation [[feat]]. Always bullet Prerequisites using <code><nowiki>*</nowiki></code>.
|parameter5description = If it is to another feat, use [[Template:FeatPrerequisite]]. Always bullet Prerequisites using <code><nowiki>*</nowiki></code>.
|parameter5values =
|parameter6name = activationcost
|parameter6name = classrequirements
|parameter6description = How much of what does this cost to activate (i.e. 10 Ki)
|parameter6description = Enter the information about the classes and levels that receive this feat. Use [[Template:FeatClassRequirement]]
|parameter6values =
|parameter7name = duration
|parameter7name = duration
|parameter7description = Enter the duration of the feat in seconds, if it has one.  Make sure you only enter the numeric portion.
|parameter7description = Enter the duration of the feat in seconds, if it has one.  Make sure you only enter the numeric portion.
|parameter7values =
|parameter8name = cooldown
|parameter8name = cooldown
|parameter8description = Enter the cooldown timer of the feat in seconds, if it has one.  Make sure you only enter the numeric portion.
|parameter8description = Enter the cooldown timer of the feat in seconds, if it has one.  Make sure you only enter the numeric portion.
|parameter8values =
|parameter9name = description
|parameter9name = description
|parameter9description = Describe the feat.
|parameter9description = Describe the feat.
|parameter9values =
|parameter10name = benefits
|parameter10name = benefits
|parameter10description = The benefits received from the feet
|parameter10description = The benefits received from the feet
|parameter10values =
|parameter11name = notes
|parameter11name = notes
|parameter11description = Any special notes related to the feat.
|parameter11description = Any special notes related to the feat.
|parameter11values =
|parameter12name = classbonus
|parameter12name = classbonus
|parameter12description = Is this feat available as a class bonus feat.  Use one or more [[Template:FeatClassBonus]]
|parameter12description = Is this feat available as a class bonus feat.  Use one or more [[Template:FeatClassBonus]]
|parameter12values =
|parameter13name = autoonly
|parameter13name = autoonly
|parameter13description = Is this only an automatically granted feat
|parameter13description = Is this only an automatically granted feat
Line 85: Line 76:
|parameter14name = icon
|parameter14name = icon
|parameter14description = The 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.
|parameter14description = The 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.
|parameter14values=
|parameter15name = link
|parameter15description = The 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.
}}</noinclude>{{#switch: {{lc:{{{tier}}}}}
}}</noinclude>{{#switch: {{lc:{{{tier}}}}}
| heroicpl | racialpl |iconic past life |epic past life={{FeatsHeader|pl}}{{PastLifeFeatsHeader|{{{tier}}}}}
| heroicpl | racialpl |iconic past life |epic past life={{FeatsHeader|pl}}{{PastLifeFeatsHeader|{{{tier}}}}}
Line 110: Line 102:
</tr>
</tr>
<tr>
<tr>
<td>'''Type: ''' {{{type}}}<br>{{#if: {{{classrequirements|}}} | '''Required Class:'''
<td>'''Type: ''' {{{type}}}<br>'''Prerequisites:''' {{#if: {{{prerequisites|}}} |  
{{{classrequirements}}}<br>}}'''Prerequisites:''' {{#if: {{{prerequisites|}}} |  
{{{prerequisites|}}} | None}}
{{{prerequisites|}}} | None}}
<br>{{#if: {{{duration|}}} | '''Duration: '''{{#ifeq: {{lc: {{{duration|}}} }} | permanent | {{ucfirst: {{{duration|}}} }} | {{{duration}}} seconds}} <br>}}{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds<br><br>}}{{#if: {{{description|}}}|'''Description:''' {{{description|}}}<br><br>}}{{#if: {{{benefits|}}} |'''Benefits: '''
<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: '''
{{{benefits|}}} | }}
{{{benefits|}}} | }}
</td>
</td>

Revision as of 23:07, 27 October 2018

{{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



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