Ad placeholder

Template:Action page: Difference between revisions

Jump to navigation Jump to search
Add tides of chaos
(Merge hasprop condition)
(Add tides of chaos)
Line 35: Line 35:
{{#rmatch: {{{cost|}}}|warpri|{{#lvardef:wp|{{#rmatch:{{{cost|}}}|warpri:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--War Priest-->
{{#rmatch: {{{cost|}}}|warpri|{{#lvardef:wp|{{#rmatch:{{{cost|}}}|warpri:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--War Priest-->
{{#rmatch: {{{cost|}}}|wldshp|{{#lvardef:ws|{{#rmatch:{{{cost|}}}|wldshp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Wild Shape-->
{{#rmatch: {{{cost|}}}|wldshp|{{#lvardef:ws|{{#rmatch:{{{cost|}}}|wldshp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}<!--add cargo in this place-->| <!--Wild Shape-->
{{#rmatch: {{{cost|}}}|fnginf|{{#lvardef:fi|{{#rmatch:{{{cost|}}}|fnginf:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}
{{#rmatch: {{{cost|}}}|fnginf|{{#lvardef:fi|{{#rmatch:{{{cost|}}}|fnginf:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}| <!--Tides of Chaos-->
{{#rmatch: {{{cost|}}}|toc|{{#lvardef:toc|{{#rmatch:{{{cost|}}}|toc:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}
|<!--sorcery points -->
|<!--sorcery points -->
{{#rmatch: {{{cost|}}}|sp|{{#lvardef:sp|{{#rmatch:{{{cost|}}}|sp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}
{{#rmatch: {{{cost|}}}|sp|{{#lvardef:sp|{{#rmatch:{{{cost|}}}|sp:\s?([^\s][^,]*)|$1|caseless=1}}}} {{#lvardef:hasothers|1}}
<!--add cargo in this place-->| <!--Fungal Infestation-->
<!--add cargo in this place-->| <!--Fungal Infestation-->
{{#if: {{{level|}}} | {{#ifeq: {{{level}}} | cantrip | | {{#if:{{{no spell slot|}}}||{{#lvardef:hasothers|1}} }} }} }} <!--Spell Level + Not Cantrip + Not "No Spell Slot" -->
{{#if: {{{level|}}} | {{#ifeq: {{{level}}} | cantrip | | {{#if:{{{no spell slot|}}}||{{#lvardef:hasothers|1}} }} }} }} <!--Spell Level + Not Cantrip + Not "No Spell Slot" -->
|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}{{#ifeq: {{#lvar: hasaction}} | 1 | {{#lvardef:hascost|1}} | {{#ifeq: {{#lvar: hasothers}} | 1 | {{#lvardef:hascost|1}} }}}} <!-- Find out if Cost: is needed -->
|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}{{#ifeq: {{#lvar: hasaction}} | 1 | {{#lvardef:hascost|1}} | {{#ifeq: {{#lvar: hasothers}} | 1 | {{#lvardef:hascost|1}} }}}} <!-- Find out if Cost: is needed -->
<!--if you think i know what im doing, ymmv--><dl class="bg3wiki-property-list">
<!--if you think i know what im doing, ymmv--><dl class="bg3wiki-property-list">
{{#ifeq: {{#lvar: hasaction}} | 1 |
{{#ifeq: {{#lvar: hasaction}} | 1 |

Navigation menu