Difference between revisions of "Template:Feat"

From DDO Compendium
 
(149 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== How To Use This Template ==
<pre>
 
{{Template:Feat
All weapons on this wiki should start with a blank page containing the following:
|name =
 
|type =
<table class="plainlinks" style="width: 100%; background-color: #000000; border: 1px solid #B0B5B8; padding: 15px;">
|tier =
<tr><td><nowiki>{{Template:Feat</nowiki></td></tr>
|autogrant=
<tr><td>|name = (name of the feat)</td></tr>
|prerequisites =
<tr><td>|type = (active or passive)</td></tr>
|activationcost=
<tr><td>|tier = (heroic, epic, destiny or legendary)</td></tr>
|duration =
<tr><td>|prerequisites = ([[feat name]] if only one, otherwise start on new line and lead each line with *. Include [[]] so a link is created to the page for the prerequisite feat/skill.)</td></tr>
|cooldown =
<tr><td>|duration = (the duration of the ability in seconds, but only list the numbers. IE: a 60 second duration would be "60")</td></tr>
|description =
<tr><td>|cooldown = (the cooldown of the ability in seconds, but only list the numbers. IE: a 60 second cooldown timer would be "60")</td></tr>
|benefits=
<tr><td>|description = (a brief description of the feat)</td></tr>
|notes =
<tr><td>|notes = (any special notes related to the feat)</td></tr>
|classbonus=
<tr><td>}}</td></tr>
|autoonly=
|icon=
|link=
|versions=
|order=
|additional=
|subtier=
|image=
}}</pre>
{{TemplateDocumentation
|name = Feat
|description = This template is used to render information about a feat.  Example of the Template in Use: [[Heroic Durability]].
|category=Spell and Feat Templates
|usesnamedparameters = true
|parameter1name = name
|parameter1description = The name of the feat.
|parameter2name = type
|parameter2description = Is this an active or passive feat.
|parameter2values =
* Active
* Passive
|parameter3name = tier
|parameter3description = What tier of feat is this.
|parameter3values =
'''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
|parameter4name = autogrant
|parameter4description = Use [[Template:FeatAutoGrant]] to specify class and class levels this is autogranted for. Always bullet autogrants using <code><nowiki>*</nowiki></code>.
|parameter5name = prerequisites
|parameter5description = If it is to another feat, use [[Template:FeatPrerequisite]]. Always bullet Prerequisites using <code><nowiki>*</nowiki></code>.
|parameter6name = activationcost
|parameter6description = How much of what does this cost to activate (i.e. 10 Ki)
|parameter7name = duration
|parameter7description = Enter the duration of the feat in seconds, if it has one.  Make sure you only enter the numeric portion.
|parameter8name = cooldown
|parameter8description = Enter the cooldown timer of the feat in seconds, if it has one.  Make sure you only enter the numeric portion.
|parameter9name = description
|parameter9description = Describe the feat.
|parameter10name = benefits
|parameter10description = The benefits received from the feet
|parameter11name = notes
|parameter11description = Any special notes related to the feat.
|parameter12name = classbonus
|parameter12description = Is this feat available as a class bonus feat.  Use one or more [[Template:FeatClassBonus]]
|parameter13name = autoonly
|parameter13description = Is this only an automatically granted feat
|parameter13values=
* True
* False (or leave blank)
|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.
|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.
|parameter16name = versions
|parameter16description = This should contain a bulleted list of feats that can actually be chosen.  For example, you can't actually choose [[Weapon Focus]] but you can [[Weapon Focus: Bludgeoning Weapons]]
|parameter17name = order
|parameter17description = The sort order of the feats.  It isn't shown, just used in the sorted output.
|parameter18name = additional
|parameter18description = Any additional feat granted as part of this one.
|parameter19name = subtier
|parameter19description = The subtier of feats, if it can't automatically be determined by the autogrant list.
|parameter19values=
* Artificer
* Barbarian
* Bard
* Cleric
* Druid
* Favored Soul
* Fighter
* Monk
* Paladin
* Ranger
* Rogue
* Sorcerer
* Warlock
* Wizard
|parameter20name = image
|parameter20description = Any image you want displayed for this feat
}}</noinclude>{{#switch: {{lc:{{{tier}}}}}
| heroicpl | racialpl |iconic past life |epic past life={{FeatsHeader|pl}}{{PastLifeFeatsHeader|{{{tier}}}}}
|#default = {{FeatsHeader|{{{tier}}}}}}}
<br>
<table class="item-table background-color">
<tr>
<td class="item-info-side">
<table class="background-color fullwidth">
<tr>
<td>
<table class="background-color fullwidth">
<tr>
<td class="icon">
<!-- Icon Image -->
{{IconImage|Feat_{{{name}}}|{{{icon|}}}}}
</td>
<td class="title">
'''{{{name}}}'''
</td>
</tr>
</table>
</table>
 
</td>
Fill in the information, using a completed feat - such as [[Arcane Insight]] - for an example. When you preview or save the page, it will format itself!
</tr>
----
<tr><td class="cellbottompad">'''Type: ''' {{{type}}}</td></tr><tr><td class="cellbottompad">'''Prerequisites:''' {{#if: {{{prerequisites|}}} | {{WrapMultiLine|{{{prerequisites|}}}}} | None}}</td></tr>{{#if: {{{duration|}}} | <tr><td class="cellbottompad">'''Duration: '''{{#ifeq: {{lc: {{{duration|}}} }} | permanent | {{ucfirst: {{{duration|}}} }} | {{{duration}}} seconds}}</td></tr>}}{{#if: {{{activationcost|}}} |<tr><td class="cellbottompad">'''Activation Cost:''' {{{activationcost}}}</td></tr>}}{{#if: {{{cooldown|}}} |<tr><td class="cellbottompad">'''Cooldown Timer: '''{{{cooldown}}} seconds</td></tr>}}{{#if: {{{description|}}}|<tr><td class="cellbottompad">'''Description:''' {{{description|}}}</td></tr>}}{{#if: {{{benefits|}}} |<tr><td>'''Benefits: '''
 
{{WrapMultiLine|{{{benefits|}}}}}</td></tr>}}
== The Template ==
 
</noinclude>
{{:Feats_Header}}
<br>
<table class="plainlinks" style="width: 50%; background-color: #000; border: 1px solid #B0B5B8; padding: 15px">
<tr><th rowspan="1" style="width: 100%; vertical-align: top; border: 1px solid #B0B5B8; padding: 15px">
<table class="plainlinks" style="width: 100%; background-color: #000;">
<th rowspan="2" style="text-align: left;">[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]</th>
<tr style="font-size: 130%; text-align: left;"><td colspan="3">{{{name}}}</td></tr>
<tr style="text-align: left;"><td colspan="3">[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]]</td></tr>
<tr style="text-align: left;"><td colspan="3">'''Type: ''' {{{type}}}</td></tr>
<tr style="text-align: left;"><td colspan="3">'''Prerequisites: ''' {{{prerequisites|}}}</td></tr>
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Duration: ''' {{{duration}}} seconds</td></tr>
<tr style="text-align: left;"><td colspan="3" style="padding-bottom:5px;">'''Cooldown Timer: '''{{{cooldown}}} seconds</td></tr>
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Description: ''' {{{description}}}</td></tr>
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Notes: ''' {{{notes}}}</td></tr>
</table>
</table>
</th>
</td>
[[Category: {{{tier}}} Feats]]
<td class="item-image-side">
<table class="item-image-table background-color" >
{{#if: {{{versions|}}}|<tr><td class="extra-details"><center>'''Cannot be Selected as a Feat'''</center></td></tr>|{{#if: {{{autoonly|}}}|{{#ifeq: {{lc:{{{autoonly|}}} }}|true|<tr><td class="extra-details"><center>'''Cannot be Selected as a Feat'''</center></td></tr>[[Category: Autogranted Feat]]}}}}}}{{#if: {{{autogrant|}}} |<tr><td class="extra-details">'''Automatic Grant:'''
{{{autogrant}}}
</td></tr>}}{{#if: {{{classbonus|}}} |<tr><td class="extra-details">'''Bonus Classes: '''
{{{classbonus}}}
</td></tr>}}{{#if: {{{notes|}}}|<tr><td class="extra-details">'''Notes: '''
{{{notes|}}}</td></tr>}}{{#if: {{{versions|}}}|<tr><td class="extra-details">'''Versions Available:'''
{{{versions}}}</td></tr>}}{{#if: {{{additional|}}}|<tr><td class="extra-details">'''Additional Feats Granted:'''
{{{additional}}}</td></tr>}}{{#if: {{{image|}}}|<tr><td>[[File:{{{image}}}.png|center|300px|]]</td></tr>}}</table></td></tr></table>
{{#ifeq: {{FULLPAGENAME}} |Template:Feat||[[Category: {{#ifeq:{{{tier}}}|HeroicPL|Heroic Past Life|{{#ifeq:{{{tier}}}|RacialPL|Racial Past Life|{{{tier}}}}}}} Feats]][[Category:Feats]]}}
{{#switch: {{lc:{{{subtier}}}}}
|artificer=[[Category: Artificer Class Feats]]
|barbarian=[[Category: Barbarian Class Feats]]
|bard=[[Category: Bard Class Feats]]
|cleric=[[Category: Cleric Class Feats]]
|druid=[[Category: Druid Class Feats]]
|favored soul=[[Category: Favored Soul Class Feats]]
|fighter=[[Category: Fighter Class Feats]]
|monk=[[Category: Monk Class Feats]]
|paladin=[[Category: Paladin Class Feats]]
|ranger=[[Category: Ranger Class Feats]]
|rogue=[[Category: Rogue Class Feats]]
|sorcerer=[[Category: Sorcerer Class Feats]]
|warlock=[[Category: Warlock Class Feats]]
|wizard=[[Category: Wizard Class Feats]]
}}

Latest revision as of 18:52, 24 September 2022

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

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.
versionsThis should contain a bulleted list of feats that can actually be chosen. For example, you can't actually choose Weapon Focus but you can Weapon Focus: Bludgeoning Weapons
orderThe sort order of the feats. It isn't shown, just used in the sorted output.
additionalAny additional feat granted as part of this one.
subtierThe subtier of feats, if it can't automatically be determined by the autogrant list.
Possible Values:
  • Artificer
  • Barbarian
  • Bard
  • Cleric
  • Druid
  • Favored Soul
  • Fighter
  • Monk
  • Paladin
  • Ranger
  • Rogue
  • Sorcerer
  • Warlock
  • Wizard
imageAny image you want displayed for this feat

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