Difference between revisions of "Template:Feat"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Template:Feat</nowiki> | |||
|name = | |||
|type = | |||
|tier = | |||
|prerequisites = | |||
|duration = | |||
|cooldown = | |||
|description = | |||
|notes = | |||
}}</pre> | |||
</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 | |
name | The name of the feat. |
type | Is this an active or passive feat. Possible Values:
|
tier | What tier of feat is this. Possible Values:
|
prerequisites | If 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. |
duration | Enter the duration of the feat in seconds, if it has one. Make sure you only enter the numeric portion. |
cooldown | Enter the cooldown timer of the feat in seconds, if it has one. Make sure you only enter the numeric portion. |
description | Describe the feat. |
notes | Any 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.
|
||
[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]] |
[[Category: {{{tier}}} Feats]]