Template:Infobox Ability: Difference between revisions
Template page
More actions
No edit summary |
mNo edit summary |
||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly | <includeonly><!-- | ||
-->{{Infobox image row | Template | ||
--><table class="tg-infobox floatright"><!-- | |||
-->{{Infobox image row | |||
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
|imageWidth = {{{imageWidth|}}} | |imageWidth = {{{imageWidth|128}}} | ||
|imageHeight = {{{imageHeight|}}} | |imageHeight = {{{imageHeight|128}}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
| Line 12: | Line 13: | ||
|header = {{{name|{{#explode:{{PAGENAME}}| (|0}}}}} | |header = {{{name|{{#explode:{{PAGENAME}}| (|0}}}}} | ||
|headerClass = tg-infobox-title | |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 | -->{{Infobox row | ||
|label = Range | |label = Range | ||
|data = {{{range|}}} | |data = {{#if: {{{range|}}}|{{{range|}}} tiles|}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
|label = Target | |label = Target | ||
|data = {{{target|}}} | |data = {{#ifeq: {{{target|}}}|AoE|Area of Effect<br>({{{radius|}}} tiles radius)|{{{target|}}} | ||
}} | |||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
| Line 25: | Line 45: | ||
|data = {{{cost|}}} | |data = {{{cost|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{concentration|}}}|{{Infobox row | |||
|label = Concentration | |||
|data = {{#ifeq: {{{concentration|}}}|0|until broken|up to {{{concentration|}}} turns}} | |||
}}|}}<!-- | |||
-->{{Infobox row | -->{{Infobox row | ||
|label = Damage | |label = Damage | ||
|data = {{{damage|}}} | |data = {{{damage|}}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{#if: {{{description|}}}|{{Infobox row | ||
|colspan = 2 | |colspan = 2 | ||
|header = Description | |header = Description | ||
| Line 36: | Line 60: | ||
|colspan = 2 | |colspan = 2 | ||
|data = {{{description|}}} | |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 | -->{{Infobox ribbon row | ||
|color = {{{ribboncolor|}}} | |color = {{{ribboncolor|}}} | ||
| Line 47: | Line 79: | ||
--><templatestyles src="Template:Infobox/styles.css"/><!-- | --><templatestyles src="Template:Infobox/styles.css"/><!-- | ||
--></includeonly><!-- | -->[[Category:Abilities|{{PAGENAME}}]]</includeonly><!-- | ||
Documentation | Documentation | ||
| Line 55: | Line 87: | ||
{{Infobox Ability | {{Infobox Ability | ||
| name | | name={{{name}}} | ||
| caption | | caption={{{caption}}} | ||
| image | | image={{{image}}} | ||
| range | | range={{{range}}} | ||
| target | | target=AoE | ||
| cost | | radius=2 | ||
| damage | | concentration=10 | ||
| description = | | cost={{{cost}}} | ||
| type={{{type}}} | |||
| school={{{school}}} | |||
| damage={{{damage}}} | |||
| description={{{description}}} | |||
| 5ewiki={{{5ewiki}}} | |||
}} | }} | ||
==Usage== | |||
<pre> | <pre> | ||
{{Infobox Ability | {{Infobox Ability | ||
| name | | name = | ||
| image | | image = | ||
| caption | | caption = | ||
| range | | range = | ||
| target | | target = | ||
| cost | | cost = | ||
| damage | | damage = | ||
| level = | |||
| school = | |||
| type = | |||
| description = | | description = | ||
}} | }} | ||
</pre> | </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 |
| Target | Area of Effect (2 tiles radius) |
| Cost | {{{cost}}} |
| Concentration | up 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 =
}}