Difference between revisions of "Template:4e Power"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m (Alright, should be good now.)
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{| style="line-height: 1.25em; width:600px; border: 2px solid" cellspacing="0" cellpadding="0"
{| style="line-height: 1.25em; width:600px; border: 2px solid" cellspacing="0" cellpadding="0"
+
{{Full Row
  {{4e Power/Row
+
|rowstyle=color: #fdf9d3; {{#switch: {{{usage}}}
    |rowstyle={{#switch: {{{usage}}}
+
        |At-Will=background-color: #598d60;
                |At-Will=color: #fdf9d3; background-color: #598d60;
+
        |Encounter=background-color: #80152E;
                |Encounter=color: #fdf9d3; background-color: #80152E;
+
        |Daily=background-color: #3D4040;
                |Daily=color: #fdf9d3; background-color: #3D4040;
+
        |background-color: #FF00FF; [[Category:Improperly Formatted 4e Powers]]
                |color: #fdf9d3; background-color: #FF00FF;
 
              }}
 
    |padding=0.625em 0.625em 0.0625em
 
    |style-left=text-align: left; font-size: 1.25em;
 
    |left=[[{{{name}}} (4e Power)|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">'''{{{name}}}'''</span>]]
 
    |style-right=text-align: right;
 
    |right={{#switch: {{{owner}}}
 
            |Base Class=[[{{{class}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">Pact</span>]])}} [[Power Type::{{{type}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{type}}}</span>]] {{{level}}}
 
            |Class Feature=[[{{{class}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{class}}}</span>]] {{#if:{{{type2|}}}|{{{type2}}}|Class Feature}}
 
            |Paragon Class=[[{{{class}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">Pact</span>]])}} [[Power Type::{{{type}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{type}}}</span>]] {{{level}}}
 
            |Feat=Feat Power
 
            |Race=[[{{{class}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{class}}}</span>]] Racial Power
 
            |Epic Destiny=[[{{{class}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">Pact</span>]])}} [[Power Type::{{{type}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{type}}}</span>]] {{{level}}}
 
            |[[{{{class}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{class}}}</span>]] [[Power Type::{{{type}}}|<span style=color:#fdf9d3; -moz-border-radius-bottomleft:20px">{{{type}}}</span>]] {{{level}}}
 
          }}
 
  }}{{4e Power/Full Row
 
      |rowstyle=background: #eee3a4;
 
      |padding=0.0625em 0.625em 0.0625em 0.625em 
 
      |content=''{{{flavor}}}''
 
  }}{{4e Power/Full Row
 
    |style=text-indent: -0.625em;
 
    |padding=0.0625em 0.625em 0.0625em 1.25em
 
    |content='''[[Usage::{{{usage}}}]]'''{{#if:{{{keyword1|}}}| &nbsp;✦ [[{{{keyword1}}}]]}}{{#if:{{{keyword2|}}}|, [[{{{keyword2}}}]]}}{{#if:{{{keyword3|}}}|, [[{{{keyword3}}}]]}}{{#if:{{{keyword4|}}}|, [[{{{keyword4}}}]]}}{{#if:{{{keyword5|}}}|, [[{{{keyword5}}}]]}}
 
  }}{{#if: {{{special1|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Special:''' {{{special1}}}
 
    }}
 
      }}{{4e Power/Row
 
    |style-left=text-indent: -0.625em; width: 9.5em;
 
    |padding=0.0625em 0.625em 0.0625em 1.25em
 
    |left='''[[Action Type::{{{actiontype}}}]]'''
 
    |right='''[[{{{range}}}]]''' {{{rangemod|}}}
 
  }}{{#ifeq: {{{actiontype}}}|Immediate Reaction
 
      |{{4e Power/Full Row
 
        |style=text-indent: -0.625em;
 
        |padding=0.0625em 0.625em 0.0625em 1.25em
 
        |content='''Trigger:''' {{{trigger}}}
 
      }}
 
  }}{{#ifeq: {{{actiontype}}}|Immediate Interrupt
 
      |{{4e Power/Full Row
 
        |style=text-indent: -0.625em;
 
        |padding=0.0625em 0.625em 0.0625em 1.25em
 
        |content='''Trigger:''' {{{trigger}}}
 
      }}
 
}}{{#if: {{{prerequisite|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Prerequisite:''' {{{prerequisite}}}
 
    }}
 
}}{{#if: {{{requirement|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Requirement:''' {{{requirement}}}
 
    }}
 
}}{{#if: {{{special2|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Special:''' {{{special2}}}
 
    }}
 
}}{{#if: {{{target|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''{{#if: {{{secondarytarget|}}}|Primary}} Target:''' {{{target}}}
 
    }}
 
}}{{#if: {{{special3|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Special:''' {{{special3}}}
 
    }}
 
}}{{#if: {{{attack|}}}|{{#ifeq: {{{type}}}|Attack
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Attack:''' [[4e Index (4e Other)#Ability Scores|{{{attack}}}]]{{#if: {{{extra11|}}}| {{{extra11}}}}} Vs. {{#ifeq: {{{defense}}}|AC|[[4e Index (4e Other)#Armor Class|{{{defense}}}]]|[[4e Index (4e Other)#{{{defense}}} defense|{{{defense}}}]]}}{{#if: {{{extra12|}}}| {{{extra12}}}}}{{#if: {{{attackextra|}}}|, {{{attackextra}}}.}}
 
    }}{{#if: {{{special4|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Special:''' {{{special4}}}
 
    }}}}{{4e Power/Full Row
 
      |rowstyle=background: #eee3a4;
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Hit:''' {{{hit}}}
 
    }}{{#if: {{{miss|}}}
 
      |{{4e Power/Full Row
 
          |style=text-indent: -0.625em;
 
          |padding=0.0625em 0.625em 0.0625em 1.25em
 
          |content='''Miss:''' {{{miss}}}
 
 
         }}
 
         }}
    }}{{#if: {{{weapon1|}}}
+
|padding=0.625em 0.625em 0.0625em
      |{{4e Power/Full Row
+
|content=[[{{{name}}} (4e Power)|<span style=color:#fdf9d3; border-radius-bottom-left:20px; font-size:1.25em;">'''{{{name}}}'''</span>]] <div style="text-align:right; float:right;">{{#switch: {{{owner}}}
          |style=text-indent: -0.625em;
+
        |Base Class=[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; -border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]]
          |padding=0.0625em 0.625em 0.0625em 1.25em
+
        |Class Feature=[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{type2|}}}|{{{type2}}}|Class Feature}}[[Type::{{{class}}} {{{type2|Class Feature}}}| ]][[Level::NA| ]]
          |content='''Weapon:''' {{{weapon1}}}
+
        |Paragon Class=[[{{{class}}} (4e Paragon Path)|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]]
 +
        |Feat=[[Type::{{{type|}}} Feat Power]][[Level::NA| ]]
 +
        |Race=[[{{{class}}} (4e Race)|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">{{{class}}}</span>]] Racial Power[[Type::{{{class}}} {{{type}}} Racial Power| ]][[Level::NA| ]]
 +
        |Epic Destiny=[[{{{class}}} (4e Epic Destiny)|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{#if:{{{pact|}}}|({{{pact}}} [[Pact|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">Pact</span>]])}} {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]]
 +
        |[[{{{class}}} (4e Class)|<span style=color:#fdf9d3; border-radius-bottom-left:20px;">{{{class}}}</span>]] {{{type}}} {{{level}}}[[Type::{{{class}}} {{{type}}} Power| ]][[Level::{{{level}}}| ]]
 +
        }}</div>
 +
}} {{Full Row
 +
        |rowstyle=background: #eee3a4;
 +
        |padding=0.0625em 0.625em 0.0625em 0.625em
 +
        |content=''{{{flavor}}}''
 +
}} {{4e Power/Full Row|'''[[Usage::{{{usage}}}]]'''{{#if:{{{keywords|}}}|&nbsp;✦ {{#arraymap: {{{keywords}}}| ,|z|{{#if: {{#pos: z|<nowiki></nowiki> or |0}}|[[{{#sub: z|0|{{#pos: z|<nowiki></nowiki> or |0}}}} (4e Keyword)|{{#sub: z|0|{{#pos: z|<nowiki></nowiki> or |0}}}}]][[Keyword::{{#sub: z|0|{{#pos: z|<nowiki></nowiki> or |0}}}}| ]] or [[{{#sub: z|{{#expr:{{#pos: z|<nowiki></nowiki> or |0}}+4}}|0}} (4e Keyword)|{{#sub: z|{{#expr:{{#pos: z|<nowiki></nowiki> or |0}}+4}}|0}}]][[Keyword::{{#sub: z|{{#expr:{{#pos: z|<nowiki></nowiki> or |0}}+4}}|0}}| ]]|[[z (4e Keyword)|z]][[Keyword::z| ]]}}}} }}
 +
}} {{#if: {{{special1|}}} |
 +
        {{4e Power/Full Row|'''Special:''' {{{special1}}}}}
 +
}} {{Row
 +
        |style-left=text-indent: -0.625em; width: 9.5em;
 +
        |padding=0.0625em 0.625em 0.0625em 1.25em
 +
        |left='''[[Action Type::{{{actiontype}}}]]'''
 +
        |right='''{{{range}}}''' {{{rangemod|}}}{{#set:Range={{{range}}}{{#if:{{{rangemod|}}}| {{{rangemod}}}|}}}}
 +
}} {{#if: {{{trigger|}}} |
 +
        {{4e Power/Full Row|'''Trigger:''' {{{trigger}}}}}
 +
}}  {{#if: {{{prerequisite|}}} |
 +
        {{4e Power/Full Row|'''Prerequisite:''' {{{prerequisite}}}}}
 +
}} {{#if: {{{requirement|}}} |
 +
        {{4e Power/Full Row|'''Requirement:''' {{{requirement}}}}}
 +
}} {{#if: {{{special2|}}} |
 +
        {{4e Power/Full Row|'''Special:''' {{{special2}}}}}
 +
}} {{#if: {{{target|}}} |
 +
        {{4e Power/Full Row|'''{{#if: {{{secondarytarget|}}}|Primary}} Target:''' {{{target}}}}}
 +
}} {{#if: {{{special3|}}} |
 +
        {{4e Power/Full Row |'''Special:''' {{{special3}}}}}
 +
}} {{#if: {{{attack|}}} |
 +
        {{#ifeq: {{{type}}} | Attack |
 +
                {{4e Power/Full Row|'''Attack:''' {{{attack}}} {{#if: {{{extra11|}}}| {{{extra11}}}}} vs. {{#ifeq: {{{defense}}}|AC|Armor Class|{{{defense}}}}}{{#if: {{{extra12|}}}| {{{extra12}}}}}{{#if: {{{attackextra|}}}|, {{{attackextra}}}.}}
 +
                }} {{#if: {{{special4|}}} |
 +
                        {{4e Power/Full Row|'''Special:''' {{{special4}}}}}
 +
                }} {{Full Row
 +
                        |rowstyle=background: #eee3a4;
 +
                        |style=text-indent: -0.625em;
 +
                        |padding=0.0625em 0.625em 0.0625em 1.25em
 +
                        |content='''Hit:''' {{{hit}}}
 +
                }} {{#if: {{{miss|}}} |
 +
                        {{4e Power/Full Row|'''Miss:''' {{{miss}}}}}
 +
                }} {{#if: {{{weapon1|}}} |
 +
                        {{4e Power/Full Row|'''Weapon:''' {{{weapon1}}}}}
 +
                }}
 +
        }} {{#if: {{{special5|}}} |
 +
                {{4e Power/Full Row|'''Special:''' {{{sp}}}}}
 +
        }} {{#if: {{{secondarytarget|}}} |
 +
                {{4e Power/Full Row|'''Secondary Target:''' {{{secondarytarget}}}}}
 +
        }} {{#if: {{{secondaryattack|}}} |
 +
                {{4e Power/Full Row|'''Secondary Attack:''' {{{secondaryattack}}} {{#if: {{{extra21|}}}| {{{extra21}}}}} vs. {{{secondarydefense}}}{{#if: {{{extra22|}}}| {{{extra22}}}}}{{#if: {{{secondaryattackextra|}}} | ,{{{secondaryattackextra}}} }}
 +
                }} {{Full Row
 +
                        |rowstyle=background: #eee3a4;
 +
                        |style=text-indent: -0.625em;
 +
                        |padding=0.0625em 0.625em 0.0625em 1.25em
 +
                        |content='''Hit:''' {{{secondaryhit}}}
 +
                }} {{#if: {{{secondarymiss|}}} |
 +
                        {{4e Power/Full Row|'''Miss:''' {{{secondarymiss}}}}}
 +
                }} {{#if: {{{weapon2|}}} |
 +
                        {{4e Power/Full Row|'''Weapon:''' {{{weapon2}}}}}
 +
                }}
 +
        }} {{#if: {{{tertiarytarget|}}} |
 +
                {{4e Power/Full Row|'''Tertiary Target:''' {{{tertiarytarget}}}}}
 +
        }} {{#if: {{{tertiaryattack|}}} |
 +
                {{4e Power/Full Row|'''Tertiary Attack:''' {{{tertiaryattack}}} {{#if: {{{extra31|}}}| {{{extra31}}}}} vs. {{{tertiarydefense}}}{{#if: {{{extra32|}}}| {{{extra32}}}}}{{#if: {{{tertiaryattackextra|}}} |,  {{{tertiaryattackextra}}} }}
 +
                }} {{Full Row
 +
                        |rowstyle=background: #eee3a4;
 +
                        |style=text-indent: -0.625em;
 +
                        |padding=0.0625em 0.625em 0.0625em 1.25em
 +
                        |content='''Hit:''' {{{tertiaryhit}}}
 +
                }} {{#if: {{{tertiarymiss|}}} |
 +
                        {{4e Power/Full Row|'''Miss:''' {{{tertiarymiss}}}}}
 +
                }} {{#if: {{{weapon3|}}} |
 +
                        {{4e Power/Full Row|'''Weapon:''' {{{weapon3}}}}}
 +
                }}
 
         }}
 
         }}
      }}
+
}} {{#ifeq: {{{type}}} |Utility |
}}{{#if: {{{special5|}}}
+
        {{Full Row
    |{{4e Power/Full Row
+
                |rowstyle=background: #eee3a4;
      |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='''Special:''' {{{special5}}}
+
                |content='''Effect:''' {{{effect}}}
    }}
+
    }} |
}}{{#if: {{{secondarytarget|}}}
+
        {{#if: {{{effect|}}} |
    |{{4e Power/Full Row
+
                {{4e Power/Full Row|'''Effect:''' {{{effect}}}}}
      |style=text-indent: -0.625em;
+
    }} {{#if: {{{weapon4|}}}|
      |padding=0.0625em 0.625em 0.0625em 1.25em
+
                {{4e Power/Full Row|'''Weapon:''' {{{weapon4}}}}}
      |content='''Secondary Target:''' {{{secondarytarget}}}
 
    }}
 
}}{{#if: {{{secondaryattack|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Secondary Attack:''' [[4e Index (4e Other)#Ability Scores|{{{secondaryattack}}}]]{{#if: {{{extra21|}}}| {{{extra21}}}}} Vs. [[{{{secondarydefense}}}]]{{#if: {{{extra22|}}}| {{{extra22}}}}}{{#if: {{{secondaryattackextra|}}} | ,{{{secondaryattackextra}}} }}
 
    }}{{4e Power/Full Row
 
      |rowstyle=background: #eee3a4;
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Hit:''' {{{secondaryhit}}}
 
    }}{{#if: {{{secondarymiss|}}}
 
      |{{4e Power/Full Row
 
          |style=text-indent: -0.625em;
 
          |padding=0.0625em 0.625em 0.0625em 1.25em
 
          |content='''Miss:''' {{{secondarymiss}}}
 
 
         }}
 
         }}
    }}{{#if: {{{weapon2|}}}
+
}} {{#if: {{{extra|}}} |
      |{{4e Power/Full Row
+
         {{4e Power/Full Row|{{{extra}}}}}
          |style=text-indent: -0.625em;
+
}} {{#if: {{{sustain|}}} |
          |padding=0.0625em 0.625em 0.0625em 1.25em
+
         {{4e Power/Full Row |'''Sustain [[Sustain Action Type::{{{sustainaction}}} Action|{{{sustainaction}}}]]:''' {{{sustain}}}}}
          |content='''Weapon:''' {{{weapon2}}}
+
}} {{#if: {{{buildoption|}}} |
         }}
+
        {{4e Power/Full Row |'''{{{buildoption}}}:''' {{{buildinfo}}}}}
      }}
+
}} {{#if: {{{special|}}} |
}}{{#if: {{{tertiarytarget|}}}
+
        {{4e Power/Full Row |'''Special:''' {{{special}}}}}
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Tertiary Target:''' {{{tertiarytarget}}}
 
    }}
 
}}{{#if: {{{tertiaryattack|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Tertiary Attack:''' [[4e Index (4e Other)#Ability Scores|{{{tertiaryattack}}}]]{{#if: {{{extra31|}}}| {{{extra31}}}}} Vs. [[{{{tertiarydefense}}}]]{{#if: {{{extra32|}}}| {{{extra32}}}}}{{#if: {{{tertiaryattackextra|}}} |,  {{{tertiaryattackextra}}} }}
 
    }}{{4e Power/Full Row
 
      |rowstyle=background: #eee3a4;
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Hit:''' {{{tertiaryhit}}}
 
    }}{{#if: {{{tertiarymiss|}}}
 
      |{{4e Power/Full Row
 
          |style=text-indent: -0.625em;
 
          |padding=0.0625em 0.625em 0.0625em 1.25em
 
          |content='''Miss:''' {{{tertiarymiss}}}
 
        }}
 
    }}{{#if: {{{weapon3|}}}
 
      |{{4e Power/Full Row
 
          |style=text-indent: -0.625em;
 
          |padding=0.0625em 0.625em 0.0625em 1.25em
 
          |content='''Weapon:''' {{{weapon3}}}
 
        }}
 
      }}
 
}}}}{{#ifeq: {{{type}}}|Utility
 
    |{{4e Power/Full Row
 
      |rowstyle=background: #eee3a4;
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Effect:''' {{{effect}}}
 
    }}
 
    |{{#if: {{{effect|}}}
 
      |{{4e Power/Full Row
 
          |style=text-indent: -0.625em;
 
          |padding=0.0625em 0.625em 0.0625em 1.25em
 
          |content='''Effect:''' {{{effect}}}
 
        }}
 
    }}{{#if: {{{weapon4|}}}
 
      |{{4e Power/Full Row
 
          |style=text-indent: -0.625em;
 
          |padding=0.0625em 0.625em 0.0625em 1.25em
 
          |content='''Weapon:''' {{{weapon4}}}
 
         }}
 
      }}
 
}}{{#if: {{{extra|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content={{{extra}}}
 
    }}
 
}}{{#if: {{{sustain|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Sustain [[Sustain Action Type::{{{sustainaction}}} Action|{{{sustainaction}}}]]:''' {{{sustain}}}
 
    }}
 
}}{{#if: {{{buildoption|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''{{{buildoption}}}:''' {{{buildinfo}}}
 
    }}
 
}}{{#if: {{{special|}}}
 
    |{{4e Power/Full Row
 
      |style=text-indent: -0.625em;
 
      |padding=0.0625em 0.625em 0.0625em 1.25em
 
      |content='''Special:''' {{{special}}}
 
    }}}}
 
|}</includeonly>
 
<noinclude>
 
==Using this Template==
 
<pre>
 
{{4e Power
 
|name=The name of the power
 
|owner=Base Class, Class Feature, Paragon Class, Feat, Race, or Epic Destiny
 
|class=The name of the class this belongs to. Delete this if this is a racial power.
 
|pact=The pact this power is from. If this power is not part of a pact, delete this.
 
|type=The type of this power (Utility, Attack, etc.).
 
|level=The level of this power
 
|usage=At-Will, Encounter, or Daily
 
|flavor=The flavor text for this power
 
|keyword1=Keywords for this power. Delete the parameters that are not used.
 
|keyword2=
 
|keyword3=
 
|keyword4=
 
|keyword5=
 
|actiontype=Immediate Reaction, Immediate Interrupt, etc.
 
|trigger=The trigger for the power. Delete if it isn't used.
 
|range=Ranged, Close Burst, Melee, etc.
 
|rangemod=The range in squares this attack has. Delete if this attack does not have a range.
 
|prerequisite=Prerequisites to use this attack. Delete if it isn't used.
 
|requirement=Requirements to use this attack. Delete if it isn't used.
 
|target=Primary target for the power. Delete if it isn't used.
 
|attack=Attack stat against the primary target. Delete if it isn't used.
 
|attackextra=
 
|defense=Defense stat for the primary target. Delete if it isn't used.
 
|hit=What to do when the primary attack hits.
 
|miss=What to do when the primary attack misses. Delete if it isn't used.
 
|secondarytarget=Secondary target for the power. Delete if it isn't used.
 
|secondaryattack=Attack stat against the secondary target. Delete if it isn't used.
 
|secondaryattackextra=
 
|secondarydefense=Defense stat for the secondary target. Delete if it isn't used.
 
|secondaryhit=What to do when the secondary attack hits.
 
|secondarymiss=What to do when the secondary attack misses. Delete if it isn't used.
 
|tertiarytarget=Tertiary target for the power. Delete if it isn't used.
 
|tertiaryattack=Attack stat against the tertiary target. Delete if it isn't used.
 
|tertiaryattackextra=
 
|tertiarydefense=Defense stat for the tertiary target. Delete if it isn't used.
 
|tertiaryhit=What to do when the tertiary attack hits.
 
|tertiarymiss=What to do when the tertiary attack misses. Delete if it isn't used.
 
|effect=Effect for a Utility power. Delete if it isn't used.
 
|extra=Any extra text you want to add. Delete if it isn't used.
 
|sustain=How the power is sustained. Delete if it isn't used.
 
|buildoption=
 
|buildinfo=
 
|special=
 
}}
 
</pre>
 
==Example==
 
<pre>
 
{{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
 
}}
 
</pre>
 
{{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
 
 
}}
 
}}
</noinclude>
+
|}<br /></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 22:14, 6 May 2012

Template documentation (for the above template, sometimes hidden or invisible)

Contents

Parameters^
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[edit]

{{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?)