Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Ability: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:right; margin:0 0 1em 1em; width:300px; border:1px solid #aaa; background:#f9f9f9; font-size:90%; padding:5px; border-radius:6px; white-space:normal; word-wrap:break-word; overflow-wrap:break-word;">
<includeonly><!--
  <!-- Title -->
  <div style="background:#ccc; text-align:center; font-weight:bold; font-size:110%; padding:4px; border-radius:4px;">
    {{{Name|Unnamed Ability}}}
  </div>


   <!-- Icon -->
Template
  <div style="text-align:center; margin:8px 0;">
--><table class="tg-infobox floatright"><!--
    [[File:{{{Icon|Placeholder.png}}}|100px|center]]
-->{{Infobox image row
  </div>
    |caption      = {{{caption|}}} 
|image        = {{{image|}}}
|imageWidth   = {{{imageWidth|128}}}
|imageHeight  = {{{imageHeight|128}}}
}}<!--
-->{{Infobox row
|colspan      = 2
|header      = {{{name|{{#explode:{{PAGENAME}}| (|0}}}}}
|headerClass  = tg-infobox-title
}}<!--
-->{{#if: {{{level|}}}|{{Infobox row
|label        = Type
|data        = [[{{#switch: {{{level}}}
| 1 = 1st
| 2 = 2nd
| 3 = 3rd
| 4 = 4th
| 5 = 5th
}} Level Spell]]
}}|{{Infobox row
|label = Type
|data = [[{{{type|}}}]]
}}
}}<!--
-->{{Infobox row
|label        = School
|data        = {{{school|}}}
}}<!--
-->{{Infobox row
|label        = Range
|data        = {{#if: {{{range|}}}|{{{range|}}} tiles|}}
}}<!--
-->{{Infobox row
|label        = Target
|data        = {{#ifeq: {{{target|}}}|AoE|Area of Effect<br>({{{radius|}}} tiles radius)|{{{target|}}}
}}
}}<!--
-->{{Infobox row
|label        = Cost
|data        = {{{cost|}}}
}}<!--
-->{{#if: {{{concentration|}}}|{{Infobox row
|label        = Concentration
|data        = {{#ifeq: {{{concentration|}}}|0|until broken|up to {{{concentration|}}} turns}}
}}|}}<!--
-->{{Infobox row
|label        = Damage
|data        = {{{damage|}}}
}}<!--
-->{{#if: {{{description|}}}|{{Infobox row
|colspan      = 2
|header      = Description
}}<!--
-->{{Infobox row
|colspan      = 2
|data        = {{{description|}}}
}}|}}<!--
-->{{#if: {{{5ewiki|}}}|{{Infobox row
|colspan      = 2
|header      = External Links
}}<!--
-->{{Infobox row
|colspan      = 2
|data        = [https://dnd5e.wikidot.com/{{{5ewiki|}}} {{{name|{{#explode:{{PAGENAME}}| (|0}}}}} on D&D 5e Wiki]
}}|}}<!--
-->{{Infobox ribbon row
|color        = {{{ribboncolor|}}}
|id          = {{{ribbonid|}}}
}}<!--
--></table><!--


  <!-- Details -->
TemplateStyles
  <div style="font-size:85%; margin-bottom:6px;">
--------------
    <table style="width:100%; border-collapse:collapse;">
--><templatestyles src="Template:Infobox/styles.css"/><!--
      <tr>
        <td style="font-weight:bold; width:35%;">Range</td>
        <td>{{{Range|—}}}</td>
      </tr>
      <tr>
        <td style="font-weight:bold;">Target/AoE</td>
        <td>{{{Target/AoE|—}}}</td>
      </tr>
      <tr>
        <td style="font-weight:bold;">Cost</td>
        <td>{{{Cost|—}}}</td>
      </tr>
      <tr>
        <td style="font-weight:bold;">Damage</td>
        <td>{{{Damage|—}}}</td>
      </tr>
    </table>
  </div>


  <!-- Description -->
-->[[Category:Abilities|{{PAGENAME}}]]</includeonly><!--
  <div style="margin-top:4px; padding:4px; border-top:1px solid #ddd; white-space:normal; word-break:break-word; width:150px">
    {{{Description|''No description provided.''}}}
  </div>


  <!-- Formula -->
Documentation
  <div style="margin-top:6px; font-size:85%; color:#555;">
-------------
    <b>Formula:</b> {{{Formula|—}}}
--><noinclude>
  </div>
This template is for abilities (spells, skills, powers, etc.).
</div>
 
{{Infobox Ability
| name={{{name}}}
| caption={{{caption}}}
| image={{{image}}}
| range={{{range}}}
| target=AoE
| radius=2
| concentration=10
| cost={{{cost}}}
| type={{{type}}}
| school={{{school}}}
| damage={{{damage}}}
| description={{{description}}}
| 5ewiki={{{5ewiki}}}
}}
==Usage==
<pre>
{{Infobox Ability
| name =
| image =
| caption =
| range =
| target =
| cost =
| damage =
| level =
| school =
| type =
| description =
}}
</pre>
</noinclude>

Latest revision as of 18:15, 6 December 2025

This template is for abilities (spells, skills, powers, etc.).

[[File:{{{image}}}|128x128px|thumb|center|{{{caption}}}]]
{{{name}}}
Type[[{{{type}}}]]
School{{{school}}}
Range{{{range}}} tiles
TargetArea of Effect
(2 tiles radius)
Cost{{{cost}}}
Concentrationup to 10 turns
Damage{{{damage}}}
Description
{{{description}}}
External Links
{{{name}}} on D&D 5e Wiki

Usage

{{Infobox Ability
| name = 
| image = 
| caption = 
| range = 
| target = 
| cost = 
| damage = 
| level = 
| school = 
| type = 
| description = 
}}
Contents