Template:Range: Difference between revisions

From Cormyrean Prophecies
No edit summary
No edit summary
Line 4: Line 4:
#ifeq: {{{1}}} | p | на себя                |{{
#ifeq: {{{1}}} | p | на себя                |{{
#ifeq: {{{1}}} | t | прикосновение          |{{
#ifeq: {{{1}}} | t | прикосновение          |{{
#ifeq: {{{1}}} | s | малая(8 метров)       |{{
#ifeq: {{{1}}} | s | малая (8 метров)       |{{
#ifeq: {{{1}}} | m | средняя (20 метров)    |{{
#ifeq: {{{1}}} | m | средняя (20 метров)    |{{
#ifeq: {{{1}}} | l | высокая (40 метров)    |{{
#ifeq: {{{1}}} | l | высокая (40 метров)    |{{

Revision as of 21:12, 5 October 2015

This template takes the various spell (and spell-like ability) ranges and adds explicit distances.


{{

  1. ifeq: {{{1}}} | p | на себя |{{
  2. ifeq: {{{1}}} | t | прикосновение |{{
  3. ifeq: {{{1}}} | s | малая (8 метров) |{{
  4. ifeq: {{{1}}} | m | средняя (20 метров) |{{
  5. ifeq: {{{1}}} | l | высокая (40 метров) |{{
  6. ifeq: {{{1}}} |l*m| long (40 meters) medium (20 meters) |{{{1}}} }} }} }} }} }} }}

This template requires a single (unnamed) parameter, which should be "p", "t", "s", "m", or "l", indicating the range desired. Support for capitalized versions might be added later.

The parameter can also be "l*m", indicating that the in-game text says "long" but the actual range is medium.