1,750
editsAd placeholder
User:Crashaholic/ActionTemplate: Difference between revisions
Jump to navigation
Jump to search
update: variant support, category support, fix standalone action in cost
(rv) Tag: Manual revert |
(update: variant support, category support, fix standalone action in cost) |
||
Line 54: | Line 54: | ||
{{#lvardef:hasmovemt|0}} | {{#lvardef:hasmovemt|0}} | ||
{{#lvardef:hasothers|0}} | {{#lvardef:hasothers|0}} | ||
{{#rmatch: {{{cost|}}}| | {{#rmatch: {{{cost|}}}|action|{{#lvardef:action|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Action--> | ||
{{#rmatch: {{{cost|}}}|bonus|{{#lvardef:bonus|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Bonus--> | {{#rmatch: {{{cost|}}}|bonus|{{#lvardef:bonus|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Bonus--> | ||
{{#rmatch: {{{cost|}}}|reaction|{{#lvardef:reaction|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Reaction--> | {{#rmatch: {{{cost|}}}|reaction|{{#lvardef:reaction|1}} {{#lvardef:hasaction|1}}<!--add cargo in this place-->|caseless=1}} <!--Reaction--> | ||
Line 112: | Line 112: | ||
}} | }} | ||
}} | }} | ||
{{trim|{{#if: {{{additional|}}} | <br>{{{additional}}}| {{blank}}}}}} | {{trim|{{#if: {{{additional|}}} | <br> | ||
{{{additional}}}| {{blank}}}}}} | |||
}} | }} | ||
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}} | {{#if: {{{higherlevels|}}} | == At Higher Levels ==}} | ||
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter --> | {{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter --> | ||
{{clear}}</div> | |||
{{#if: {{{variants|}}} | | |||
== Variants == | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{#invoke: ParseList | main | {{{variants}}} | type = htmlList | makeLinks = yes }} | |||
</div> | </div> | ||
}} | |||
{{#if: {{{condition|}}} | | {{#if: {{{condition|}}} | | ||
Line 139: | Line 149: | ||
</div> | </div> | ||
}} | }} | ||
== How to Learn == | == How to Learn == | ||
{{#lvardef: how-to-learn-content | | {{#lvardef: how-to-learn-content | | ||
Line 175: | Line 185: | ||
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip"> | {{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip"> | ||
{{{notes}}} | {{{notes}}} | ||
</div>| {{blank}}}}}}</includeonly><noinclude>This is a page to transclude to generate action pages. It is generally for pages that do not fit the [[Template:SpellPage | <code><nowiki>{{SpellPage}} Template</nowiki></code>]] | </div>| {{blank}}}}}} | ||
{{#ifeq: {{lc:{{{type|}}}}} |passive | |||
|[[Category:Passive Features]] | |||
|{{#ifeq: {{lc:{{{type|}}}}} |classaction|[[Category:Class Actions]][[Category:Actions]] | |||
|{{#ifeq: {{lc:{{{type|}}}}} |classbonusaction|[[Category:Bonus Actions]] | |||
|{{#ifeq: {{lc:{{{type|}}}}} |action|[[Category:Actions]] | |||
|{{#ifeq: {{lc:{{{type|}}}}} |classreaction|[[Category:Class Actions]][[Category:Reactions]] | |||
|}} | |||
|}} | |||
|}} | |||
|}}}} | |||
</includeonly><noinclude>This is a page to transclude to generate action pages. It is generally for pages that do not fit the [[Template:SpellPage | <code><nowiki>{{SpellPage}} Template</nowiki></code>]] | |||
=Usage= | =Usage= | ||
Line 325: | Line 346: | ||
| higherlevels = | | higherlevels = | ||
| class learns at level 2 = Life Domain | | class learns at level 2 = Life Domain | ||
| notes = | |||
| type = classaction | |||
}} | |||
{{ up to date | 2023-09-04 }} <!-- Date format is YEAR-MONTH-DAY, like 2023-08-07. -->{{User:Crashaholic/ActionTemplate | |||
| type = classreaction | |||
| image = Divine Health Icon.png | |||
| summary = '''Divine Health''' is a Class Feature of [[Paladin]]s that makes them immune to [[disease]]. | |||
| description = The divine magic flowing within you prevents disease from affecting you. | |||
| cost = | |||
| concentration = | |||
| damage = | |||
| damage2 = | |||
| recharge = | |||
| duration = | |||
| range = | |||
| aoe = | |||
| aoe m = | |||
| aoe ft = | |||
| save = | |||
| condition = | |||
| additional = | |||
| higherlevels = | |||
| class learns at level 3 = Paladin | |||
| notes = | | notes = | ||
}} | }} | ||
</noinclude> | </noinclude> |