43,888
edits
m
no edit summary
No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(134 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{this is an example}}} | <includeonly>{{#lvardef: filename | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}}}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Icon.webp }} }}{{#switch: {{{this is an example}}} | ||
| yes = | | yes = | ||
| #default = {{PageSeo | | #default = {{PageSeo|image = {{#lvar: controllericon}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}} | ||
| cantrip | |||
| Cantrip ({{{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}}} }}} | |||
}} | }} | ||
}} | }} | ||
<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 | | '''{{{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.}} | ||
<h2> Description </h2> | <h2> Description </h2> | ||
{{{description}}} | {{{description}}} {{#if: {{{extra description|}}} | {{blank}} | ||
{{{extra description}}} | |||
}}{{#if: {{{warning|}}} | {{blank}} | |||
<p>{{Colour|white|{{{warning}}}}}</p> | |||
}} | |||
<h2> Properties </h2> | <h2> Properties </h2> | ||
< | |||
{{#if: {{{damage|}}} | | <div class="bg3wiki-property-list"> | ||
Damage: | {{#if: {{{cost|}}} | | ||
{{DamageInfo | ; Cost | ||
| {{{damage}}} | : {{InfoBlob|{{ResourceList|{{{cost}}}}}}} | ||
| {{{damage type}}} | }} {{#if: {{{hit cost|}}} | | ||
| modifier = {{{damage modifier|}}} | ; Cost on hit | ||
| save = {{{damage save|}}} | : {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}} | ||
| save effect = {{{damage save effect|}}} | }} {{#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 | |||
{{DamageInfo | | {{{extra damage}}} | ||
| {{{extra damage}}} | | {{{extra damage type}}} | ||
| {{{extra damage type}}} | | modifier = {{{extra damage modifier|}}} | ||
| modifier = {{{extra damage modifier|}}} | | save = {{{extra damage save|}}} | ||
| save = {{{extra damage save|}}} | | save effect = {{{extra damage save effect|}}} | ||
| save effect = {{{extra damage save effect|}}} | | save dc = {{{extra damage save dc|}}} | ||
}} | | con = {{{extra damage con|}}} | ||
| per = {{{extra damage per|}}} | |||
}} | |||
}} {{#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|}}} | | |||
: + {{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|}}} | | ||
{{HealingInfo | ; Healing | ||
| {{{healing}}} | : {{HealingInfo | ||
| modifier = {{{healing modifier|}}} | | {{{healing}}} | ||
| per = {{{healing per|}}} | | 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|}}} | | |||
: {{Attack Roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }} | |||
| | }} {{#if: {{{save|}}} | | ||
}} {{# | : {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }} | ||
}} {{#if: {{{range m|}}} {{{range ft|}}} | |||
| : {{Range | {{{range|}}} | m = {{{range m}}} | ft = {{{range ft}}} }} | |||
| {{#if: {{{range|}}} | |||
| : {{Range | {{{range}}} }} | |||
}} | |||
}} {{#if: {{{aoe|}}} | | |||
: {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }} | |||
}} {{#if: {{{area|}}} | | |||
: {{SmallIcon | Aoe Icon.png }} Creates Area: {{{area}}} | |||
}} {{#if: {{{ritual|}}} | | }} {{#if: {{{ritual|}}} | | ||
: {{Ritual Spell}} | |||
}} {{#if: {{{ | }} {{#if: {{{recharge|}}} | | ||
: {{Recharge | {{{recharge}}} }} | |||
}} {{#if: {{{concentration|}}} | | }} {{#if: {{{concentration|}}} | | ||
: {{Concentration}} | |||
}} {{#if: {{{ | }} <!-- If you add any further detail fields above, make sure to extend the #if above it to display the "Details" header as well. --> | ||
</div> | |||
}} {{#if: {{{ | <h2> At higher levels </h2> | ||
{{#if: {{{higher levels|}}} | {{main namespace only|[[Category:Spells that gain benefits at higher levels]]}} | |||
{{{higher levels}}} | |||
| <p>Casting this spell at a higher level grants no additional benefit. </p> | |||
}} {{clear}}</div> {{#if: {{{variants|}}} | | |||
<h2> | <h2> Variants </h2> | ||
{{{ | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{#invoke: ParseList | main | {{{variants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }} | |||
</div> | |||
}} | }} {{#if: {{{condition|}}} | | ||
<h2> Condition: {{{condition}}} </h2> | <h2> Condition: {{{condition}}} </h2> | ||
Line 75: | Line 127: | ||
{{Condition | {{{condition}}} | {{Condition | {{{condition}}} | ||
| save = {{{condition save|}}} | | save = {{{condition save|}}} | ||
| dc = {{{condition dc|}}} | |||
| duration = {{{condition duration|}}} | | duration = {{{condition duration|}}} | ||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition|}}}|sai }} }} | |||
</div> | </div> | ||
}} {{#if: {{{ | }} {{#if: {{{condition 2|}}} | | ||
<h2> | <h2> Condition: {{{condition 2}}} </h2> | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Condition | {{{condition 2}}} | |||
| | | save = {{{condition 2 save|}}} | ||
| | | dc = {{{condition 2 dc|}}} | ||
| | | duration = {{{condition 2 duration|}}} | ||
}} with | }} | ||
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai }} }} | |||
</div> | |||
[[Category:Spells with renamed condition 2 property]] | |||
}} {{#if: {{{condition2|}}} | | |||
<h2> Condition: {{{condition2}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{ | {{Condition | {{{condition2}}} | ||
| {{{ | | save = {{{condition2 save|}}} | ||
| {{{ | | dc = {{{condition2 dc|}}} | ||
| | | duration = {{{condition2 duration|}}} | ||
| | |||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai }} }} | |||
</div> | |||
}} {{#if: {{{area|}}} | | |||
<h2> Area: {{{area}}} </h2> | |||
{{ | <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 --> | ||
<h2> How to | <h2> How to learn </h2> | ||
{{#lvardef: how-to-learn-content | | |||
{{# | {{#lvardef: classes-learn-list | | ||
{{# | {{#loop: level | 1 | 12 | | ||
{{#loop: level | 1 | | {{#if: {{{ class learns at level {{#var:level}}|}}} | {{blank}} | ||
{{#if: {{{ class learns at level {{#var:level}} |}}} | {{blank}} | {{#lvardef:classes|{{#explode: {{{class learns at level {{#var:level}} |}}}|:|0}},{{#lvar:classes}} }} | ||
* Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }} | * Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class/Format }} | ||
}} | }} | ||
}} | }} | ||
}}{{# | }}{{#lvardef: races-learn-list | | ||
{{#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}} }}} | useTemplate = Race }} | ||
}} | }} | ||
}} | }} | ||
}}{{#if: {{# | }}{{#if: {{#lvar:classes-learn-list}} | | ||
Classes: | Classes: | ||
{{# | {{#lvar:classes-learn-list}} | ||
}}{{#if: {{# | }}{{#if: {{#lvar:races-learn-list}} | {{blank}} | ||
Races: | Races: | ||
{{# | {{#lvar:races-learn-list}} | ||
(''Character level'' is the sum of all class levels for a multi-classed character.) | |||
}}{{#if: {{{granted by feats|}}} | {{blank}} | |||
Feats: {{#invoke: ParseList | main | {{{granted by feats}}} | type = htmlList| useTemplate = SAI/fixedSmall }} | |||
}}{{#if: {{{granted by items|}}} | {{blank}} | |||
Granted by the following items: | |||
{{#invoke: ParseList | main | {{{granted by items}}} | type = htmlList | useTemplate = GrantedByItems/Format }} | |||
}}{{#if: {{{used by creatures|}}} | {{blank}} | |||
Used by creatures: | |||
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }} | |||
}}{{#if: {{{variant of|}}} | {{blank}} | |||
This spell is a variation of:<br> | |||
{{SAI|{{{variant of}}}|w=40}} | |||
}}{{#if: {{{other ways to learn|}}} | {{blank}} | |||
Other ways to learn: | |||
{{{other ways to learn}}} | |||
}} | }} | ||
}}<div class="bg3wiki-tooltip-box"> | }}<div class="bg3wiki-tooltip-box"> | ||
{{# | {{#lvar: how-to-learn-content | ''(Information not yet added.)'' }} | ||
</div>{{#if: {{{notes|}}} | | </div>{{#if: {{{notes|}}} | | ||
<h2> Notes </h2> | <h2> Notes </h2> | ||
Line 155: | Line 223: | ||
{{{notes}}} | {{{notes}}} | ||
</div> | </div> | ||
}}{{#if: {{{ | }} {{#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 162: | Line 238: | ||
}} | }} | ||
{{#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]]}} }} | |||
{{#switch: {{{this is an example | {{#switch: {{{this is an example}}} | ||
| yes = | | yes = | ||
| #default = [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} [[Category:{{{school}}} | | #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 | ||
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}} | |||
| image = {{{image|}}} | |||
| controller_icon = {{#lvar:controllericon}} | |||
| icon = {{#lvar:icon}} | |||
| spell_level = {{#ifeq:{{{level|}}}|cantrip|0|{{{level|}}} }} | |||
| spell_school = {{{school|}}} | |||
{{ | | is_concentration = {{#if:{{{concentration|}}}|yes}} | ||
| | | is_ritual = {{#if:{{{ritual|}}}|yes}} | ||
| | | is_spell = yes | ||
| is_weapon_action = no | |||
| | | aoe = {{{aoe|}}} | ||
| | | aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }} | ||
| | | is_npc = {{#if:{{{npc only|}}}|yes}} | ||
| | | can_upcast = {{#if:{{{higher levels|}}}|yes}} | ||
| | | has_attack_roll = {{#if:{{{attack roll|}}}|yes}} | ||
| | | 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|}}}}}}}} | |||
| | | spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }} | ||
| | <!-- A little logic to try to make sure the list of classes only contains unique values. --> | ||
| | | classes = {{{classes|}}} | ||
| | | save = {{{save|}}} | ||
| | | damage = {{{damage|}}} | ||
| | | damage_type = {{{damage type|}}} | ||
| | | extra_damage = {{{extra damage|}}} | ||
| | | extra_damage_type = {{{extra damage type|}}} | ||
| | | damage_save = {{{damage save|{{{condition save|}}} }}} | ||
| | | is_healing = {{#if:{{{healing|}}}|yes}} | ||
| | | condition_duration = {{{condition duration|}}} | ||
| | | recharge = {{{recharge|}}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| aoe m | |||
| aoe ft | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
{{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
{{ | |||
} | |||
{{ | |||
{{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
{{ | |||
| | |||
{{ | |||
= | |||
{{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | |||
_table = spells | |||
| name = String | |||
| image = File | |||
| controller_icon = File | |||
| icon = File | |||
| spell_level = String | |||
| spell_school = String | |||
| is_spell = Boolean | |||
| is_weapon_action = Boolean | |||
| is_concentration = Boolean | |||
| is_ritual = Boolean | |||
| aoe = String | |||
| aoe_size = String | |||
| is_npc = Boolean | |||
| can_upcast = Boolean | |||
| has_attack_roll = Boolean | |||
| description = Wikitext | |||
| | | extra_description = Wikitext | ||
| | | action_type = String | ||
| | | spell_range = String | ||
| | | classes = List (,) of String | ||
| | | save = String | ||
| | | damage = String | ||
| | | damage_type = String | ||
| | | extra_damage = String | ||
| | | extra_damage_type = String | ||
| | | damage_save = String | ||
| | | is_healing = String | ||
| | | condition_duration = String | ||
| | | recharge = String | ||
| | }}</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||