Difference between revisions of "Template:4E power"

From Action
Jump to navigation Jump to search
(New template.)
m (Unit fix.)
 
(50 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
 
 
<!-- Documentation -->
 
<!-- Documentation -->
 
This template is used to display a power for 4th Edition Dungeon & Dragon.
 
This template is used to display a power for 4th Edition Dungeon & Dragon.
Line 7: Line 6:
 
* name
 
* name
 
* class
 
* class
* use  - How often the power can be used
+
* fluff - Power fluff.
* type - TYpe of power, such as "Attack" or "Utility
+
* use  - How often the power can be used. Use one of At-Will, Encounter or Daily.
 +
* type - Type of power, such as "Attack" or "Utility
 
* level - level of the power (optional)
 
* level - level of the power (optional)
* fluff - Power fluff.
 
 
* action -  
 
* action -  
* attack - Type of attack, such as "Close", or "Melee or Range"
+
* target - Type of attack, such as "Close", or "Melee or Range". Not to be confused with the '''Target:''' feature, that is part of the text, below.
 
* 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.
  
== Example ==
+
== Preview ==
<pre>
+
<onlyinclude>{|style="border:0px; margin-bottom: 12px;" cellpadding="0" cellspacing="0"
{{4E power
+
|style="width: 40em;"|
|power=Nimble Climb
+
{|width="100%" style="color:white;{{#switch: {{{use}}}
|class=Rogue
+
|At-Will = background: green;
|type=Utility
+
|Encounter = background: red;
|level=6
+
|Daily = background: black;
|fluff=You climb surfaces with astounding ease.
+
|background: #999;
|use=At-Will
+
}}; padding: 3px;" cellspacing="0" border="0"
|keywords=Martial
+
|'''{{{name|Awesome Power}}}''' ||align="right"|{{{class|}}} {{{type|}}} {{{level|}}}
|target=Personal
+
|}
|prerequisite=Must be trained in Athletics.
+
|-
|text=Make an Athletics check to climb a surface. You can move at your full speed during this climb.
+
| style="background:#f0f0f0; padding: 3px;" | ''{{{fluff|You open a can of whoop-ass.}}}''
</pre>
 
</noinclude>
 
<div>
 
{|width="20em;"
 
|-style="background:green; color: white;"
 
||'''{{{name|Awesome Power Name}}}'''||align="right" |{{{class}}}
 
|-style="background:#eee;"
 
|colspan="2"|''{{{fluff|This power awesome.}}}''
 
 
|-
 
|-
|'''{{{use}}}''' '''{{{keywords}}}'''
+
| style="background:#f0f0f0; padding: 3px; padding-top: 0px;" |<span style="font-weight: bold;">{{{use}}}</span> {{#if:{{{keywords|}}}|<span style="font-weight: bold;">{{{keywords|}}}</span>}}
 
|-
 
|-
|'''{{{action}}}''' ... '''{{{target}}}''' {{{range}}}
+
| style="background:#f0f0f0; padding: 3px;" |'''{{{action}}}''' &nbsp;&nbsp;&nbsp;&nbsp; '''{{{target}}}''' {{{range|}}}
 
|-
 
|-
|{{{text}}}
+
| style="background:#f0f0f0; padding: 3px; padding-bottom: 0px" |{{{text}}}
|}</div>
+
|}</onlyinclude>
<includeonly>
+
<small>''This text is not part of the template. It is included only as an indicator vertical space usage.''</small>
 
<!-- Category -->
 
<!-- Category -->
[[Category:Game templates]]
+
[[Category:4E templates]]
</includeonly>
 

Latest revision as of 21:17, 7 December 2008

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

Argument

  • name
  • class
  • fluff - Power fluff.
  • use - How often the power can be used. Use one of At-Will, Encounter or Daily.
  • type - Type of power, such as "Attack" or "Utility
  • level - level of the power (optional)
  • action -
  • target - Type of attack, such as "Close", or "Melee or Range". Not to be confused with the Target: feature, that is part of the text, below.
  • range - Range of the attack, such as none, or "weapon"
  • text - Description of the power. Wiki markup is required for this.

Preview

Awesome Power
You open a can of whoop-ass.
{{{use}}}
{{{action}}}      {{{target}}}
{{{text}}}

This text is not part of the template. It is included only as an indicator vertical space usage.