Difference between revisions of "Template:4e Power"
From Dungeons and Dragons Wiki
Tarkisflux (talk | contribs) m (category added if old keyword style used) |
Tarkisflux (talk | contribs) m (alternate #set attempt) |
||
Line 12: | Line 12: | ||
|style-right=text-align: right; | |style-right=text-align: right; | ||
|right={{#switch: {{{owner}}} | |right={{#switch: {{{owner}}} | ||
− | |Base Class=[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}} | + | |Base Class=[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]] |
− | |Class Feature=[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{type2|}}}|{{{type2}}}|Class Feature}} | + | |Class Feature=[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{type2|}}}|{{{type2}}}|Class Feature}}[[Type::{{{class}}} {{{type2|Class Feature}}}| ]] |
− | |Paragon Class=[[{{{class}}} (4e Paragon Path)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}} | + | |Paragon Class=[[{{{class}}} (4e Paragon Path)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]] |
− | |Feat={{{type}}} Feat Power | + | |Feat={{{type}}} Feat Power[[Type::{{{type}}} Feat Power| ]] |
− | |Race=[[{{{class}}} (4e Race)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] Racial Power | + | |Race=[[{{{class}}} (4e Race)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] Racial Power[[Type::{{{class}}} {{{type}}} Racial Power| ]] |
− | |Epic Destiny=[[{{{class}}} (4e Epic Destiny)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}} | + | |Epic Destiny=[[{{{class}}} (4e Epic Destiny)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]] |
− | |[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{{type}}} {{{level}}} | + | |[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]] |
}} | }} | ||
}} {{4e Power/Full Row | }} {{4e Power/Full Row | ||
Line 27: | Line 27: | ||
|style=text-indent: -0.625em; | |style=text-indent: -0.625em; | ||
|padding=0.0625em 0.625em 0.0625em 1.25em | |padding=0.0625em 0.625em 0.0625em 1.25em | ||
− | |content='''[[Usage::{{{usage}}}]]'''{{#if:{{{keyword1|}}}| ✦ [[Category:Keywords Parameter Refactor Needed]][[{{{keyword1}}}]]}}{{#if:{{{keyword2|}}}|, [[{{{keyword2}}}]]}}{{#if:{{{keyword3|}}}|, [[{{{keyword3}}}]]}}{{#if:{{{keyword4|}}}|, [[{{{keyword4}}}]]}}{{#if:{{{keyword5|}}}|, [[{{{keyword5}}}]]}}{{#if:{{{keywords|}}}| ✦ {{#arraymap: {{{keywords}}}|,|z|[[z (4e Keyword)|z]] | + | |content='''[[Usage::{{{usage}}}]]'''{{#if:{{{keyword1|}}}| ✦ [[Category:Keywords Parameter Refactor Needed]][[{{{keyword1}}}]]}}{{#if:{{{keyword2|}}}|, [[{{{keyword2}}}]]}}{{#if:{{{keyword3|}}}|, [[{{{keyword3}}}]]}}{{#if:{{{keyword4|}}}|, [[{{{keyword4}}}]]}}{{#if:{{{keyword5|}}}|, [[{{{keyword5}}}]]}}{{#if:{{{keywords|}}}| ✦ {{#arraymap: {{{keywords}}}|,|z|[[z (4e Keyword)|z]][[Keyword::z| ]] }} }} |
}} {{#if: {{{special1|}}} | | }} {{#if: {{{special1|}}} | | ||
{{4e Power/Full Row | {{4e Power/Full Row |
Revision as of 21:47, 26 January 2011
Template documentation (for the above template, sometimes hidden or invisible)
Contents
Name | Required | Description | Example |
---|---|---|---|
name | Yes | The name of the power | Holy Wrath |
owner | Yes | Base Class, Class Feature, Paragon Class, Feat, Race, or Epic Destiny | Base Class |
class | Yes | The name of the class or race this belongs to. | Paladin |
pact | No | The pact this power is from, if applicable. | Star |
type | Yes | The type of this power (Utility, Attack, etc.). | Utility |
level | No | The level of this power | 1 |
usage | Yes | At-Will, Encounter, or Daily. | At-Will |
flavor | No | The flavor text for this power | |
keywords | No | Keywords for this power. Separate with a comma and space. | |
actiontype | Yes | Immediate Interrupt, Immediate Reaction, Standard, Minor, Move | Standard |
trigger | No | The trigger for the power. | |
range | Yes | Ranged, Close Burst, Melee, etc. | Close Burst |
rangemod | No | The range in squares this attack has. | 3 |
prerequisite | No | Prerequisites to use this attack. | |
requirement | No | Requirements to use this attack. | |
target | No | Primary target for the power. | |
attack | No | Attack stat against the primary target. | |
attackextra | No | ||
defense | No | Defense stat for the primary target. | |
hit | No | What to do when the primary attack hits. | |
miss | No | What to do when the primary attack misses. | |
secondarytarget | No | Secondary target for the power. | |
secondaryattack | No | Attack stat against the secondary target. | |
secondaryattackextra | No | ||
secondarydefense | No | Defense stat for the secondary target. | |
secondaryhit | No | What to do when the secondary attack hits. | |
secondarymiss | No | What to do when the secondary attack misses. | |
tertiarytarget | No | Tertiary target for the power. | |
tertiaryattack | No | Attack stat against the tertiary target. | |
tertiaryattackextra | No | ||
tertiarydefense | No | Defense stat for the tertiary target. | |
tertiaryhit | No | What to do when the tertiary attack hits. | |
tertiarymiss | No | What to do when the tertiary attack misses. | |
effect | No | Effect for a Utility power. | |
extra | No | Any extra text you want to add. | |
sustain | No | How the power is sustained. | |
buildoption | No | ||
buildinfo | No | ||
special | No |
Example
{{4e Power |name=Test Power |owner=Base Class |class=Warlock |level=1 |usage=At-Will |owner=Race |actiontype=Immediate Reaction |range=Ranged |rangemod=10 |type=Attack |prerequisite=prereq |requirement=requirement |effect=Test effect }}
Test Power Warlock Racial Power
| |
{{{flavor}}} | |
At-Will | |
Immediate Reaction | Ranged 10 |
Prerequisite: prereq | |
Requirement: requirement | |
Effect: Test effect |
Visit Template:4e Power/doc to edit this text! (How does this work?)