Template:Infobox Ability: Difference between revisions
Template page
More actions
No edit summary |
mNo edit summary |
||
| (18 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><table class="tg-infobox floatright"><!-- | <includeonly><!-- | ||
Template | |||
--><table class="tg-infobox floatright"><!-- | |||
-->{{Infobox image row | -->{{Infobox image row | ||
|caption = {{{caption|}}} | |||
| | |image = {{{image|}}} | ||
|imageWidth = {{{imageWidth|}}} | |imageWidth = {{{imageWidth|128}}} | ||
|imageHeight = {{{imageHeight|}}} | |imageHeight = {{{imageHeight|128}}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
|colspan = 2 | |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 | -->{{Infobox row | ||
| | |label = School | ||
| | |data = {{{school|}}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
| | |label = Range | ||
| | |data = {{#if: {{{range|}}}|{{{range|}}} tiles|}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
|label = | |label = Target | ||
|data = {{{ | |data = {{#ifeq: {{{target|}}}|AoE|Area of Effect<br>({{{radius|}}} tiles radius)|{{{target|}}} | ||
}} | |||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
|label = | |label = Cost | ||
|data = {{{ | |data = {{{cost|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{concentration|}}}|{{Infobox row | |||
|label = Concentration | |||
|data = {{#ifeq: {{{concentration|}}}|0|until broken|up to {{{concentration|}}} turns}} | |||
}}|}}<!-- | |||
-->{{Infobox row | -->{{Infobox row | ||
|label = | |label = Damage | ||
|data = {{{ | |data = {{{damage|}}} | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{#if: {{{description|}}}|{{Infobox row | ||
| | |colspan = 2 | ||
| | |header = Description | ||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
| | |colspan = 2 | ||
|data = {{{ | |data = {{{description|}}} | ||
}}|}}<!-- | |||
-->{{#if: {{{5ewiki|}}}|{{Infobox row | |||
|colspan = 2 | |||
|header = External Links | |||
}}<!-- | }}<!-- | ||
-->{{Infobox row | -->{{Infobox row | ||
| | |colspan = 2 | ||
|data = {{{ | |data = [https://dnd5e.wikidot.com/{{{5ewiki|}}} {{{name|{{#explode:{{PAGENAME}}| (|0}}}}} on D&D 5e Wiki] | ||
}}|}}<!-- | |||
-->{{Infobox ribbon row | |||
|color = {{{ribboncolor|}}} | |||
|id = {{{ribbonid|}}} | |||
}}<!-- | }}<!-- | ||
--></table><!-- | |||
--></table><!-- | |||
TemplateStyles | TemplateStyles | ||
| Line 165: | Line 79: | ||
--><templatestyles src="Template:Infobox/styles.css"/><!-- | --><templatestyles src="Template:Infobox/styles.css"/><!-- | ||
--></includeonly><!-- | -->[[Category:Abilities|{{PAGENAME}}]]</includeonly><!-- | ||
Documentation | Documentation | ||
------------- | ------------- | ||
--><noinclude> | --><noinclude> | ||
{{ | This template is for abilities (spells, skills, powers, etc.). | ||
{{Infobox Ability | |||
| name={{{name}}} | | name={{{name}}} | ||
| | | caption={{{caption}}} | ||
| image={{{image}}} | | 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 |
| 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 =
}}