Template:Spell: Difference between revisions
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
'''Area of effect:''' {{AoE|{{{area}}}|{{{conesize|10}}} }}{{{areanote|}}}<br /> | '''Area of effect:''' {{AoE|{{{area}}}|{{{conesize|10}}} }}{{{areanote|}}}<br /> | ||
'''Длительность:''' {{{duration}}}<br /> | '''Длительность:''' {{{duration}}}<br /> | ||
'''Спасбросок:''' {{{save|none}}} <br /> | '''Спасбросок:''' {{{save|none}}} <br /> | ||
'''Сопротивляемость заклинаниями:''' {{#ifeq: {{{spellresistance|}}} | yes | [[spell resistance|yes]] | {{#ifeq: {{{spellresistance|}}} | yes* | <del>[[spell resistance|yes]]</del> ''no'' | {{{spellresistance|no}}} }} }}{{ | '''Сопротивляемость заклинаниями:''' {{#ifeq: {{{spellresistance|}}} | yes | [[spell resistance|yes]] | {{#ifeq: {{{spellresistance|}}} | yes* | <del>[[spell resistance|yes]]</del> ''no'' | {{{spellresistance|no}}} }} }}{{ |
Revision as of 20:51, 5 October 2015
This template is intended to provide uniform formatting of spells. It should be used at the top of a spell article.
{{#if: | [[image:{{{icon}}}|right|Spell]] }}{{
- if: |
{{{line}}} |
---|
{{
|
}}{{#if: |
Breaches |
---|
4: lesser spell breach |
}}Круг: {{
- if: |bard {{{bardlevel}}}{{#if: |; }} }}{{
- if: |cleric {{{clericlevel}}}{{#if: |; }} }}{{
- if: |druid {{{druidlevel}}}{{#if: |; }} }}{{
- if: |paladin {{{paladinlevel}}}{{#if: |; }} }}{{
- if: |ranger {{{rangerlevel}}}{{#if: |; }} }}{{
- if: |sorcerer {{{magelevel}}}{{#if: |; }} }}{{
- if: |cleric with [[{{{domain}}} domain]] {{{domainlevel}}}{{#if: |, [[{{{domain2}}} domain]] {{{domain2level}}}{{#if: |, [[{{{domain3}}} domain]] {{{domain3level}}}{{#if: |, [[{{{domain4}}} domain]] {{{domain4level}}} }} }} }} }}
Уровень заклинания: {{{innatelevel}}}{{#ifeq: {{{magelevel}}} | epic | |
Школа: {{{school}}} }}{{#if: |
Descriptor: {{{immunity}}} }}
Компоненты: {{#switch: | VS = verbal, somatic | V-S- = verbal, somatic | V = verbal | S = somatic | none }}
Дальность: {{
- ifeq: {{{range}}} | p | на себя |{{
- ifeq: {{{range}}} | t | прикосновение |{{
- ifeq: {{{range}}} | s | малая (8 метров) |{{
- ifeq: {{{range}}} | m | средняя (20 метров) |{{
- ifeq: {{{range}}} | l | высокая (40 метров) |{{
- ifeq: {{{range}}} |l*m|
long (40 meters)medium (20 meters) |{{{range}}} }} }} }} }} }} }}
Area of effect: {{
- ifeq: {{{area}}} | small | малый (радиус 1.67 метра) |{{
- ifeq: {{{area}}} | medium | средний (радиус 3.33 метра) |{{
- ifeq: {{{area}}} | large | большой (радиус 5 метров) |{{
- ifeq: {{{area}}} | huge | огромный (радиус 6.67 метров) |{{
- ifeq: {{{area}}} | gargantuan | гигантский (радиус 8.33 метров) |{{
- ifeq: {{{area}}} | colossal | колоссальный (радиус 10 метров) |{{
- ifeq: {{{area}}} | spellcone | конус {{#if: 10 | 10 |10}} метров |{{
- ifeq: {{{area}}} | aura | {{#if: 10 | 10 | 4}} метров |{{{area}}} }} }} }} }} }} }} }} }}
Длительность: {{{duration}}}
Спасбросок: none
Сопротивляемость заклинаниями: {{#ifeq: | yes | yes | {{#ifeq: | yes* | yes no | no }} }}{{
- if: |
Дополнительные контрзаклинания: {{{counters}}} }}
Описание: {{{desc}}}{{
- ifeq: {{{magelevel}}} | epic |
Special: Epic spells are not affected by arcane spell failure from armor, nor can they be interrupted, countered, or dispelled.{{ - if: |
Spellcraft prerequisite: {{{spellcraft}}} }} }}
Parameters for this template are
- Spell levels:
- bardlevel — The level of this spell when cast by a bard. Optional
- clericlevel — The level of this spell when cast by a cleric. Optional
- druidlevel — The level of this spell when cast by a druid. Optional
- paladinlevel — The level of this spell when cast by a paladin. Optional
- rangerlevel — The level of this spell when cast by a ranger. Optional
- magelevel — The level of this spell when cast by a sorcerer or wizard. Optional
- domain — The clerical domain that grants access to this spell. Optional
- domainlevel — The level of this spell when granted by this domain. Required if domain is specified
- domain2 — A second clerical domain that grants access to this spell. Optional
- domain2level — The level of this spell when granted by the second domain. Required if domain2 is specified
- domain3 — A third clerical domain that grants access to this spell. Optional
- domain3level — The level of this spell when granted by the third domain. Required if domain3 is specified
- domain4 — A fourth clerical domain that grants access to this spell. Optional
- domain4level — The level of this spell when granted by the fourth domain. Required if domain4 is specified
- innatelevel — The innate level of this spell.
- area — The area affected by this spell. The values "small", "medium", "large", "huge", "gargantuan", "colossal", and "spellcone" should be used when appropriate.
- areanote — Additional information about the area of effect (e.g. a limit on the number of targets in a colossal area). Optional
- conesize — This can override the default length of "10" for spell cones.
- components — "V", "S", or "VS" indicating the components this spell utilizes. Optional
- counters — Additional counterspells, preferably linked. Optional
- duration — The duration of the spell.
- immunity — The descriptor (immunity type) of this spell. Optional
- range — "p", "t", "s", "m", or "l" indicating the range of the spell.
- save — The save allowed for this spell, preferably linked. Optional
- school — The spell school of this spell, preferably linked.
- spellcraft — The spellcraft requirement (for epic spells). Optional, epic only
- spellresistance — Should be "yes" if spell resistance can bock this spell. Should be "yes*" if the BioWare description says spell resistance can block this spell, but it does not actually do so. Optional
- Lines of spells:
- line — a name for the spell line this spell belongs to. Optional, but if not set then line0 through line9 are ignored
- line0 through line9 — names of spells (not linked) that are considered in the same "line" of spells as the current spell. Use the parameter corresponding to the spell's innate level. Include the current spell. Optional, but some should be used if "line" is set
- linebreach — set this (to "yes") to get a table for the breach line of spells. (This is a hack to accommodate disjunction having two spell lines.) Optional
- desc — The spell's in-game description.
- icon — The name of the image (icon) for this spell. Optional