Difference between revisions of "Template:Feat"
From DDO Compendium
MNDeveloper (talk | contribs) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | |||
<table class="plainlinks" style="width: 100%; background-color: #000000; border: 1px solid #B0B5B8; padding: 15px;"> | <table class="plainlinks" style="width: 100%; background-color: #000000; border: 1px solid #B0B5B8; padding: 15px;"> | ||
<tr><td><nowiki>{{Template:Feat</nowiki></td></tr> | <tr><td><nowiki>{{Template:Feat</nowiki></td></tr> | ||
Line 16: | Line 13: | ||
<tr><td>}}</td></tr> | <tr><td>}}</td></tr> | ||
</table> | </table> | ||
</pre> | |||
{{TemplateDocumentation | |||
|name = Feat | |||
|description = This template is used to render information about a feat. Example of the Template in Use: [[Heroic Durability]]. | |||
== | |usesnamedparameters = true | ||
|parameter1name = name | |||
</noinclude>{{:Feats_Header}}<br><table class=" | |parameter1description = The name of the feat. | ||
<tr>< | |parameter1values = | ||
<table class=" | |parameter2name = type | ||
< | |parameter2description = Is this an active or passive feat. | ||
|parameter2values = | |||
< | * Active | ||
* Passive | |||
|parameter3name = tier | |||
|parameter3description = What tier of feat is this. | |||
|parameter3values = | |||
* Heroic | |||
{{{description}}}< | * Epic | ||
* Destiny | |||
* Legendary | |||
|parameter4name = prerequisites | |||
|parameter4description = 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]]. | |||
|parameter4values = | |||
|parameter5name = duration | |||
|parameter5description = Enter the duration of the feat in seconds, if it has one. Make sure you only enter the numeric portion. | |||
|parameter5values = | |||
|parameter6name = cooldown | |||
|parameter6description = Enter the cooldown timer of the feat in seconds, if it has one. Make sure you only enter the numeric portion. | |||
|parameter6values = | |||
|parameter7name = description | |||
|parameter7description = Describe the feat. | |||
|parameter7values = | |||
|parameter8name = notes | |||
|parameter8description = Any special notes related to the feat. | |||
|parameter8values = | |||
}}</noinclude>{{:Feats_Header}}<br> | |||
<table class="item-table background-color"> | |||
<tr> | |||
<td class="item-info-full"> | |||
<table class="background-color"> | |||
<tr> | |||
<td class="icon"> | |||
<!-- Icon Image --> | |||
[[File:{{{name}}}_Icon.png|link=|40px|x40px|]] | |||
</td> | |||
<td class="title"> | |||
'''{{{name}}}''' | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td class="item-info-full"> | |||
[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]]<br>'''Type: ''' {{{type}}}<br>'''Prerequisites: ''' | |||
{{{prerequisites|}}}<br>{{#if: {{{duration|}}} | '''Duration: ''' {{{duration}}} seconds<br>}}{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds<br>}}'''Description: ''' | |||
{{{description}}}<br> | |||
'''Notes: ''' {{{notes}}} | |||
</td> | |||
</tr> | |||
</table> | </table> | ||
[[Category: {{{tier}}} Feats]] | [[Category: {{{tier}}} Feats]] |
Revision as of 16:03, 18 May 2018
<table class="plainlinks" style="width: 100%; background-color: #000000; border: 1px solid #B0B5B8; padding: 15px;"> <tr><td>{{Template:Feat</td></tr> <tr><td>|name = (name of the feat)</td></tr> <tr><td>|type = (active or passive)</td></tr> <tr><td>|tier = (heroic, epic, destiny or legendary)</td></tr> <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> <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> <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> <tr><td>|description = (a brief description of the feat)</td></tr> <tr><td>|notes = (any special notes related to the feat)</td></tr> <tr><td>}}</td></tr> </table>
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]]