Template:AoE: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
---- | ---- | ||
</noinclude>{{ | </noinclude>{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | small | малый (радиус 1.67 метра) |{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | medium | средний (радиус 3.33 метра) |{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | large | большой (радиус 5 метров) |{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | huge | огромный (радиус 6.67 метров) |{{ | ||
#ifeq: {{{1}}} | гигантский | #ifeq: {{{1}}} | gargantuan | гигантский (радиус 8.33 метров) |{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | colossal | колоссальный (радиус 10 метров) |{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | spellcone | конус {{#if: {{{2|}}} | {{{2}}} |10}} метров |{{ | ||
#ifeq: {{{1}}} | | #ifeq: {{{1}}} | aura | {{#if: {{{2|}}} | {{{2}}} | 4}} метров |{{{1}}} }} }} }} }} }} }} }} }}<noinclude> | ||
---- | ---- | ||
This template requires a single (unnamed) parameter, which could be "small", "medium", "large", "huge", "gargantuan", "colossal", "spellcone", or "aura" indicating the size of the area of effect. Other values (e.g. "single" or "single creature") are permitted, but will not be formatted. | This template requires a single (unnamed) parameter, which could be "small", "medium", "large", "huge", "gargantuan", "colossal", "spellcone", or "aura" indicating the size of the area of effect. Other values (e.g. "single" or "single creature") are permitted, but will not be formatted. |
Latest revision as of 00:21, 4 April 2020
This template takes the various descriptions of sizes of areas of effect and adds explicit sizes.
{{
- ifeq: {{{1}}} | small | малый (радиус 1.67 метра) |{{
- ifeq: {{{1}}} | medium | средний (радиус 3.33 метра) |{{
- ifeq: {{{1}}} | large | большой (радиус 5 метров) |{{
- ifeq: {{{1}}} | huge | огромный (радиус 6.67 метров) |{{
- ifeq: {{{1}}} | gargantuan | гигантский (радиус 8.33 метров) |{{
- ifeq: {{{1}}} | colossal | колоссальный (радиус 10 метров) |{{
- ifeq: {{{1}}} | spellcone | конус {{#if: | {{{2}}} |10}} метров |{{
- ifeq: {{{1}}} | aura | {{#if: | {{{2}}} | 4}} метров |{{{1}}} }} }} }} }} }} }} }} }}
This template requires a single (unnamed) parameter, which could be "small", "medium", "large", "huge", "gargantuan", "colossal", "spellcone", or "aura" indicating the size of the area of effect. Other values (e.g. "single" or "single creature") are permitted, but will not be formatted.
In addition, spell cones and auras allow a second (unnamed) parameter to override the default length of 10 (cones) or 4 (auras) meters.