Difference between revisions of "Template:Feat"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>
== How To Use This Template ==
<pre>
 
All weapons on this wiki should start with a blank page containing the following:
 
<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>
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!
{{TemplateDocumentation
----
|name = Feat
 
|description = This template is used to render information about a feat.  Example of the Template in Use:  [[Heroic Durability]].
== The Template ==
|usesnamedparameters = true
 
|parameter1name = name
</noinclude>{{:Feats_Header}}<br><table class="plainlinks" style="width: 50%; background-color: #000; border: 1px solid #B0B5B8; padding: 15px">
|parameter1description = The name of the feat.
<tr><th rowspan="1" style="width: 100%; vertical-align: top; border: 1px solid #B0B5B8; padding: 15px">
|parameter1values =
<table class="plainlinks" style="width: 100%; background-color: #000;">
|parameter2name = type
<th rowspan="2" style="text-align: left;">[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]</th>
|parameter2description = Is this an active or passive feat.
<tr style="font-size: 130%; text-align: left;"><td colspan="3">{{{name}}}</td></tr>
|parameter2values =
<tr style="text-align: left;"><td colspan="3">[[:Category:{{{tier}}} Feats|{{{tier}}} Feats]]</td></tr>
* Active
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Type: ''' {{{type}}}</td></tr>
* Passive
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Prerequisites: ''' {{{prerequisites|}}}</td></tr>
|parameter3name = tier
<tr style="text-align: left; font-weight: normal;"><td colspan="3">{{#if: {{{duration|}}} | '''Duration: ''' {{{duration}}} seconds}}</td></tr>
|parameter3description = What tier of feat is this.
<tr style="text-align: left; font-weight: normal;"><td colspan="3" style="padding-bottom:5px;">{{#if: {{{cooldown|}}} | '''Cooldown Timer: '''{{{cooldown}}} seconds}}</td></tr>
|parameter3values =
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Description: '''<br>
* Heroic
{{{description}}}</td></tr>
* Epic
<tr style="text-align: left; font-weight: normal;"><td colspan="3">'''Notes: ''' {{{notes}}}</td></tr>
* 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>
</th>
[[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
nameThe name of the feat.
typeIs this an active or passive feat.
Possible Values:
  • Active
  • Passive
tierWhat tier of feat is this.
Possible Values:
  • 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}}}
Notes: {{{notes}}}

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