Difference between revisions of "Template:4E power"

From Action
Jump to navigation Jump to search
m (Fixed some arguments.)
m (Made some parameters conditional.)
Line 15: Line 15:
 
* range - Range of the attack, such as none, or "weapon"
 
* range - Range of the attack, such as none, or "weapon"
 
* text - Description of the power. Wiki markup is required for this.
 
* text - Description of the power. Wiki markup is required for this.
 
</pre>
 
 
</noinclude>
 
</noinclude>
 
<div>
 
<div>
 
{|width="20em;"
 
{|width="20em;"
 
|-style="background:green; color: white;"
 
|-style="background:green; color: white;"
||'''{{{name|Awesome Power Name}}}'''||align="right" |{{{class}}} {{{type}}} {{{level}}}
+
||'''{{{name|Awesome Power Name}}}'''||align="right" |{{#if:{{{class}}}|{{{class}}}}} {{#if:{{{type}}}|{{{type}}}}} {{#if:{{{level}}}|{{{level}}}}}
 
|-style="background:#eee;"
 
|-style="background:#eee;"
 
|colspan="2"|''{{{fluff|This power awesome.}}}''
 
|colspan="2"|''{{{fluff|This power awesome.}}}''
 
|-
 
|-
|'''{{{use}}}''' ✦ '''{{{keywords}}}'''
+
|colspan="2"|'''{{{use}}}''' ✦ '''{{{keywords}}}'''
 
|-
 
|-
|'''{{{action}}}''' ... '''{{{target}}}''' {{{range}}}
+
|colspan="2"|'''{{{action}}}''' ... '''{{{target}}}''' {{#if:{{{range}}}|{{{range}}}}}
 
|-
 
|-
|{{{text}}}
+
|colspan="2"|{{{text}}}
 
|}</div>
 
|}</div>
 
<includeonly>
 
<includeonly>

Revision as of 19:55, 16 September 2008

This template is used to display a power for 4th Edition Dungeon & Dragon.

Argument

  • name
  • class
  • use - How often the power can be used
  • type - TYpe of power, such as "Attack" or "Utility
  • level - level of the power (optional)
  • fluff - Power fluff.
  • action -
  • attack - Type of attack, such as "Close", or "Melee or Range"
  • range - Range of the attack, such as none, or "weapon"
  • text - Description of the power. Wiki markup is required for this.
Awesome Power Name {{{class}}} {{{type}}} {{{level}}}
This power awesome.
{{{use}}}{{{keywords}}}
{{{action}}} ... {{{target}}} {{{range}}}
{{{text}}}