65,679
editsMore actions
m
Fixed pageseo school issue if no school of magic is specified
HiddenDragon (talk | contribs) (Added new fields to cargo table to support weapon actions and class actions, as well as a controller icon field and more damage fields) |
HiddenDragon (talk | contribs) m (Fixed pageseo school issue if no school of magic is specified) |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
| #default = {{PageSeo|image = {{#lvar: controllericon}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}} | | #default = {{PageSeo|image = {{#lvar: controllericon}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}} | ||
| cantrip | | cantrip | ||
| | | cantrip {{#if: {{{school|}}} | ({{{school}}}) }} | ||
| Level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}. {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}} }}} {{{plain summary|{{{summary}}} }}} | | Level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}. {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}} }}} {{{plain summary|{{{summary}}} }}} | ||
}} | }} | ||
}} | }} | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> __NOTOC__ | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> __NOTOC__ | ||
[[File:{{{image}}}|frameless|right]] | {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }} | ||
'''{{{name|{{PAGENAME}} }}}''' is a [[Spells|{{#ifeq: {{{level}}} | cantrip | cantrip {{#if: {{{school|}}} | ({{{school}}}) }} | level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}]]. {{{summary}}} {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}} | '''{{{name|{{PAGENAME}} }}}''' is a [[Spells|{{#ifeq: {{{level}}} | cantrip | cantrip {{#if: {{{school|}}} | ({{{school}}}) }} | level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}]]. {{{summary}}} {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}} | ||
Line 14: | Line 14: | ||
<h2> Description </h2> | <h2> Description </h2> | ||
{{{description}}} {{#if: {{{warning|}}} | | {{{description}}} {{#if: {{{extra description|}}} | {{blank}} | ||
<p>{{Colour|white|{{{warning}}}}}</p> }} | |||
{{{extra description}}} | |||
}}{{#if: {{{warning|}}} | {{blank}} | |||
<p>{{Colour|white|{{{warning}}}}}</p> | |||
}} | |||
<h2> Properties </h2> | <h2> Properties </h2> | ||
< | <div class="bg3wiki-property-list"> | ||
{{#if: {{{cost|}}} | | {{#if: {{{cost|}}} | | ||
; Cost | |||
: {{InfoBlob|{{ResourceList|{{{cost}}}}}}} | |||
}} {{#if: {{{hit cost|}}} | | }} {{#if: {{{hit cost|}}} | | ||
; Cost on hit | |||
: {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} | |||
}} {{#if: {{{damage|}}} | | }} {{#if: {{{damage|}}} | | ||
; {{#ifeq: {{{damage type|}}} | Healing | Healing | Damage }} | |||
: {{DamageInfo | |||
| {{{damage}}} | |||
| {{{damage type}}} | |||
| modifier = {{{damage modifier|}}} | |||
| save = {{{damage save|}}} | |||
| save effect = {{{damage save effect|}}} | |||
| save dc = {{{damage save dc|}}} | |||
| con = {{{damage con|}}} | |||
| per = {{{damage per|}}} | |||
}} | |||
}} {{#if: {{{extra damage|}}} | | }} {{#if: {{{extra damage|}}} | | ||
: + {{DamageInfo | |||
| {{{extra damage}}} | |||
| {{{extra damage type}}} | |||
| modifier = {{{extra damage modifier|}}} | |||
| save = {{{extra damage save|}}} | |||
| save effect = {{{extra damage save effect|}}} | |||
| save dc = {{{extra damage save dc|}}} | |||
| con = {{{extra damage con|}}} | |||
| per = {{{extra damage per|}}} | |||
}} | |||
}} {{#if: {{{extra damage 2|}}} | | }} {{#if: {{{extra damage 2|}}} | | ||
: + {{DamageInfo | |||
| {{{extra damage 2}}} | |||
| {{{extra damage type 2}}} | |||
| modifier = {{{extra damage modifier 2|}}} | |||
| save = {{{extra damage save 2|}}} | |||
| save effect = {{{extra damage save effect 2|}}} | |||
| save dc = {{{extra damage save dc 2|}}} | |||
| con = {{{extra damage con 2|}}} | |||
| per = {{{extra damage per 2|}}} | |||
}} | |||
}} {{#if: {{{extra damage 3|}}} | | }} {{#if: {{{extra damage 3|}}} | | ||
: + {{DamageInfo | |||
| {{{extra damage 3}}} | |||
| {{{extra damage type 3}}} | |||
| modifier = {{{extra damage modifier 3|}}} | |||
| save = {{{extra damage save 3|}}} | |||
| save effect = {{{extra damage save effect 3|}}} | |||
| save dc = {{{extra damage save dc 3|}}} | |||
| con = {{{extra damage con 3|}}} | |||
| per = {{{extra damage per 3|}}} | |||
}} | |||
}} {{#if: {{{healing|}}} | | }} {{#if: {{{healing|}}} | | ||
; Healing | |||
: {{HealingInfo | |||
| {{{healing}}} | |||
| modifier = {{{healing modifier|}}} | |||
| per = {{{healing per|}}} | |||
}} | |||
}} | }} {{#if: {{{attack roll|}}} {{{save|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{area|}}} {{{ritual|}}} {{{recharge|}}} {{{concentration|}}} | | ||
; Details <!-- If you add any further detail fields below, make sure to extend the list above as well. --> | |||
{{#if: {{{attack roll|}}} | | }} {{#if: {{{attack roll|}}} | | ||
: {{Attack Roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }} | |||
}} {{#if: {{{save|}}} | | }} {{#if: {{{save|}}} | | ||
: {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }} | |||
}}{{#if: {{{range m|}}} {{{range ft|}}} | }} {{#if: {{{range m|}}} {{{range ft|}}} | ||
| | | : {{Range | {{{range|}}} | m = {{{range m}}} | ft = {{{range ft}}} }} | ||
| {{#if: {{{range|}}} | | {{#if: {{{range|}}} | ||
| | | : {{Range | {{{range}}} }} | ||
}} | }} | ||
}} {{#if: {{{aoe|}}} | | }} {{#if: {{{aoe|}}} | | ||
: {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }} | |||
}} {{#if: {{{area|}}} | | }} {{#if: {{{area|}}} | | ||
: {{SmallIcon | Aoe Icon.png }} Creates Area: {{{area}}} | |||
}} {{#if: {{{ritual|}}} | | }} {{#if: {{{ritual|}}} | | ||
: {{Ritual Spell}} | |||
}} {{#if: {{{recharge|}}} | | }} {{#if: {{{recharge|}}} | | ||
: {{Recharge | {{{recharge}}} }} | |||
}} {{#if: {{{concentration|}}} | | }} {{#if: {{{concentration|}}} | | ||
: {{Concentration}} | |||
}} | }} <!-- If you add any further detail fields above, make sure to extend the #if above it to display the "Details" header as well. --> | ||
}} <!-- | </div> | ||
</ | |||
<h2> At higher levels </h2> | <h2> At higher levels </h2> | ||
{{#if: {{{higher levels|}}} | {{main namespace only|[[Category:Spells that gain benefits at higher levels]]}} | {{#if: {{{higher levels|}}} | {{main namespace only|[[Category:Spells that gain benefits at higher levels]]}} | ||
Line 124: | Line 130: | ||
| duration = {{{condition duration|}}} | | duration = {{{condition duration|}}} | ||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition|}}}|sai }} }} | {{Main namespace only|{{Inflicts|{{{condition|}}}|sai|type=spell|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}} }} | ||
</div> | </div> | ||
}} {{#if: {{{condition2|}}} | | }} {{#if: {{{condition2|}}} | | ||
Line 150: | Line 143: | ||
| duration = {{{condition2 duration|}}} | | duration = {{{condition2 duration|}}} | ||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai }} }} | {{Main namespace only|{{Inflicts|{{{condition2|}}}|sai|type=spell|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}} }} | ||
</div> | </div> | ||
Line 158: | Line 151: | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}} | |||
| | |||
</div> | </div> | ||
}} <!-- / area --> | }} <!-- / area --> | ||
Line 211: | Line 167: | ||
{{#loop: level | 1 | 20 | | {{#loop: level | 1 | 20 | | ||
{{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}} | {{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}} | ||
* Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | | * Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | makeLinks = yes }} | ||
}} | }} | ||
}} | }} | ||
Line 254: | Line 210: | ||
{{{notes}}} | {{{notes}}} | ||
</div> | </div> | ||
}}{{#if: {{{video|}}} | | }} {{#if: {{{bugs|}}} | | ||
<h2> Bugs </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{bugs}}} | |||
{{Main namespace only|[[Category:Bugs]]}} | |||
</div> | |||
}} {{#if: {{{video|}}} | | |||
<h2> Visuals </h2> | <h2> Visuals </h2> | ||
Line 261: | Line 225: | ||
}} | }} | ||
{{#if: {{{area category|}}}{{{area turn start damage|}}}{{{area turn end damage|}}}{{{area condition|}}}{{{area condition 2|}}}{{{area condition 3|}}}{{{area condition 4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}} }} | |||
{{Main namespace only|[[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} {{#if: {{{school|}}} | [[Category:{{{school|}}} spells]]}}{{#if: {{{ritual|}}} | [[Category:Ritual spells]]}} {{#cargo_store: | {{#switch: {{{this is an example}}} | ||
| yes = | |||
| #default = {{Main namespace only|[[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} {{#if: {{{school|}}} | [[Category:{{{school|}}} spells]]}}{{#if: {{{ritual|}}} | [[Category:Ritual spells]]}} {{#cargo_store: | |||
_table = spells | _table = spells | ||
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}} | | name = {{{name|{{#titleparts: {{PAGENAME}} }} }}} | ||
Line 280: | Line 246: | ||
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}} | | has_attack_roll = {{#if:{{{attack roll|}}}|yes}} | ||
| description = {{{description|}}} | | description = {{{description|}}} | ||
| extra_description = {{{extra description|}}} | |||
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}} | | action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}} | ||
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }} | | spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }} | ||
Line 287: | Line 254: | ||
| damage = {{{damage|}}} | | damage = {{{damage|}}} | ||
| damage_type = {{{damage type|}}} | | damage_type = {{{damage type|}}} | ||
| damage_modifier = {{{damage modifier|}}} | |||
| extra_damage = {{{extra damage|}}} | | extra_damage = {{{extra damage|}}} | ||
| extra_damage_type = {{{extra damage type|}}} | | extra_damage_type = {{{extra damage type|}}} | ||
| extra_damage_modifier = {{{extra damage modifier|}}} | |||
| extra_damage_2 = {{{extra damage 2|}}} | |||
| extra_damage_type_2 = {{{extra damage type 2|}}} | |||
| extra_damage_modifier_2 = {{{extra damage modifier 2|}}} | |||
| extra_damage_3 = {{{extra damage 3|}}} | |||
| extra_damage_type_3 = {{{extra damage type 3|}}} | |||
| extra_damage_modifier_3 = {{{extra damage modifier 3|}}} | |||
| damage_save = {{{damage save|{{{condition save|}}} }}} | | damage_save = {{{damage save|{{{condition save|}}} }}} | ||
| is_healing = {{#if:{{{healing|}}}|yes}} | | is_healing = {{#if:{{{healing|}}}|yes}} | ||
Line 294: | Line 269: | ||
| recharge = {{{recharge|}}} | | recharge = {{{recharge|}}} | ||
}} | }} | ||
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | }} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | ||
_table = spells | _table = spells | ||
| name = String | | name = String | ||
Line 312: | Line 287: | ||
| has_attack_roll = Boolean | | has_attack_roll = Boolean | ||
| description = Wikitext | | description = Wikitext | ||
| extra_description = Wikitext | |||
| brief = Wikitext | |||
| action_type = String | | action_type = String | ||
| spell_range = String | | spell_range = String | ||
Line 318: | Line 295: | ||
| damage = String | | damage = String | ||
| damage_type = String | | damage_type = String | ||
| damage_modifier = String | |||
| extra_damage = String | | extra_damage = String | ||
| extra_damage_type = String | | extra_damage_type = String | ||
| extra_damage_modifier = String | |||
| extra_damage_2 = String | |||
| extra_damage_type_2 = String | |||
| extra_damage_modifier_2 = String | |||
| extra_damage_3 = String | |||
| extra_damage_type_3 = String | |||
| extra_damage_modifier_3 = String | |||
| damage_save = String | | damage_save = String | ||
| is_healing = String | | is_healing = String |