Difference between revisions of "Template:Feat"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>
<pre>
<pre>
<table class="plainlinks" style="width: 100%; background-color: #000000; border: 1px solid #B0B5B8; padding: 15px;">
{{Template:Feat</nowiki>
<tr><td><nowiki>{{Template:Feat</nowiki></td></tr>
|name =
<tr><td>|name = (name of the feat)</td></tr>
|type =
<tr><td>|type = (active or passive)</td></tr>
|tier =
<tr><td>|tier = (heroic, epic, destiny or legendary)</td></tr>
|prerequisites =
<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>
|duration =
<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>
|cooldown =
<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>
|description =
<tr><td>|description = (a brief description of the feat)</td></tr>
|notes =
<tr><td>|notes = (any special notes related to the feat)</td></tr>
}}</pre>
<tr><td>}}</td></tr>
</table>
</pre>
{{TemplateDocumentation
{{TemplateDocumentation
|name = Feat
|name = Feat
Line 29: Line 26:
|parameter3description = What tier of feat is this.
|parameter3description = What tier of feat is this.
|parameter3values =  
|parameter3values =  
* Free - use this if it is auto-granted too all characters upon creation.
* Heroic
* Heroic
* Epic
* Epic
Line 67: Line 65:
<tr>
<tr>
<td class="item-info-full">
<td class="item-info-full">
[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]]<br>'''Type: ''' {{{type}}}<br>'''Prerequisites: '''  
[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]]<br>{{#ifeq: {{lc:{{{type}}}}}|free|'''This feat is granted free to all characters upon creation'''|'''Type: ''' {{{type}}}<br>'''Prerequisites: '''  
{{{prerequisites|}}}<br>{{#if: {{{duration|}}} | '''Duration: ''' {{{duration}}} seconds<br>}}{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds<br>}}'''Description: '''
{{{prerequisites|}}}<br>}}{{#if: {{{duration|}}} | '''Duration: ''' {{{duration}}} seconds<br>}}{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds<br>}}'''Description: '''
{{{description}}}<br>{{#if: {{{notes|}}}|'''Notes: ''' {{{notes}}}<br>}}
{{{description}}}<br>{{#if: {{{notes|}}}|'''Notes: ''' {{{notes}}}<br>}}
</td>
</td>

Revision as of 16:26, 18 May 2018

{{Template:Feat</nowiki>
|name =
|type =
|tier =
|prerequisites =
|duration =
|cooldown =
|description =
|notes =
}}

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:
  • Free - use this if it is auto-granted too all characters upon creation.
  • Heroic
  • Epic
  • Destiny
  • Legendary
prerequisitesIf there is a single prerequisite, include it here, otherwise use a bulleted list of them. If it is to another feat, make sure you include the link notation feat.
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.
notesAny special notes related to the feat.

Template

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


Feats Header

[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]

{{{name}}}

[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]]
Type: {{{type}}}
Prerequisites:
Description: {{{description}}}

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