﻿Macros available

Legend:
  BL - battle loading screen
  PP - players panel
  SF - statistic form (Tab)
  VM - vehicle markers
  HI - hitlog
  HL - hpLeft
  CB - capture bar
  MM - minimap

  'X' - available
  ' ' - not available (can return wrong value - '', 'NaN', 'undefined', ...)
  '.' - TODO
  '-' - Obsoleted (will be replaced with other macro)

  Personal macros (applied for player)
┌────────────────────┬───┬───┬───┬───┬───┬───┬───┬───┬─────────────────────────────────────────────────
│ macro              │ BL│ PP│ SF│ MM│ VM│ HI│ HL│ CB│ Description
├────────────────────┼───┼───┼───┼───┼───┼───┼───┼───┼─────────────────────────────────────────────────
│ {{nick}}           │ X │ X │ X │ X │ X │ X │ X │   │ player nickname with clan name
│ {{name}}           │ X │ X │ X │ X │ X │ X │ X │   │ player nickname without clan name
│ {{clan}}           │ X │ X │ X │ X │ X │ X │ X │   │ clan name with brackets (empty if no clan)
│ {{clannb}}         │ X │ X │ X │ X │ X │ X │ X │   │ clan name without brackets
│ {{vehicle}}        │ X │ X │ X │ X │ X │ X │ X │   │ vehicle name
│ {{vehiclename}}    │ X │ X │ X │ X │ X │ X │ X │   │ vehicle system name (usa-M24_Chaffee)
│ {{vehicle-short}}  │   │ X │ X │ X │ X │ X │ X │   │ shortened vehicle name
│ {{vtype}}          │ X │ X │ X │ X │ X │ X │ X │   │ vehicle type (text substitution from config)
│ {{c:vtype}}        │ X │ X │ X │ X │ X │ X │ X │   │ color depending on vehicle type
│ {{veh-id}}         │ X │ X │ X │ X │ X │ X │ X │   │ vehicle id
│ {{level}}          │ X │ X │ X │ X │ X │ X │ X │   │ vehicle level (Arabic numerals)
│ {{rlevel}}         │ X │ X │ X │ X │ X │ X │ X │   │ vehicle level (Roman numerals)
│ {{alive}}          │ X │ X │ X │ X │ X │ X │ X │   │ value 'alive' for alive, '' for dead
│ {{ready}}          │ X │ X │ X │ X │ X │   │   │   │ value 'ready' if player loaded to the game, '' if not
│ {{player}}         │ X │ X │ X │ X │   │   │   │   │ value 'pl' for current player, empty for others
│ {{tk}}             │ X │ X │ X │ X │ X │   │   │   │ value 'tk' for teamkiller, empty for others
│ {{squad}}          │ X │ X │ X │ X │ X │ X │ X │   │ value 'sq' for own squad, empty for others
│ {{squad-num}}      │ X │ X │ X │ X │ X │ X │ X │   │ number of squad (1,2,...), empty if not in squad
│ {{selected}}       │ X │ X │ X │ X │   │   │   │   │ value 'sel' for selected player, empty for others
│ {{hp-max}}         │ X │ X │ X │ X │ X │ X │ X │   │ maximum health points
│ {{hp}}             │   │ X │ X │ X │ X │ X │ X │   │ current health points
│ {{hp-ratio}}       │   │ X │ X │ X │ X │ X │ X │   │ current health ratio (without '%' sign)
│ {{c:hp}}           │   │ X │ X │ X │ X │ X │ X │   │ color depending on current health points (only in vehicle markers)
│ {{c:hp-ratio}}     │   │ X │ X │ X │ X │ X │ X │   │ color depending on current health ratio (only in vehicle markers)
│ {{a:hp}}           │   │ X │ X │ X │ X │ X │ X │   │ transparency depending on current health points (only in vehicle markers)
│ {{a:hp-ratio}}     │   │ X │ X │ X │ X │ X │ X │   │ transparency depending on current health ratio (only in vehicle markers)
│ {{frags}}          │   │ X │ X │ X │ X │   │   │   │ current frags
│ {{c:system}}       │   │ X │ X │ X │ X │   │   │   │ system color
│ {{turret}}         │   │   │   │   │ X │   │   │   │ stock turret marker
│ {{dmg}}            │   │   │   │   │ X │ X │   │   │ damage health points / last hit value
│ {{dmg-ratio}}      │   │   │   │   │ X │   │   │   │ damage health ratio (without '%' sign)
│ {{dmg-kind}}       │   │   │   │   │ X │ X │   │   │ damage kind (attack, fire, ramming, ...)
│ {{c:dmg}}          │   │   │   │   │ X │   │   │   │ color depending on damage source
│ {{c:dmg-kind}}     │   │   │   │   │ X │ X │   │   │ color depending on damage kind
│ {{n}}              │   │   │   │   │   │ X │   │   │ total number of hits
│ {{n-player}}       │   │   │   │   │   │ X │   │   │ number of hits for each player
│ {{dmg-total}}      │   │   │   │   │   │ X │   │   │ total sum of hits
│ {{dmg-avg}}        │   │   │   │   │   │ X │   │   │ average damage during the battle
│ {{dmg-player}}     │   │   │   │   │   │ X │   │   │ sum of hits for each player
│ {{dead}}           │   │   │   │   │   │ X │   │   │ tank's death marker
│ {{points}}         │   │   │   │   │   │   │   │ X │ points already captured
│ {{extra}}          │   │   │   │   │   │   │   │ X │ extra text section;
│ {{tanks}}          │   │   │   │   │   │   │   │ X │ number of capturers;
│ {{time}}           │   │   │   │   │   │   │   │ X │ time left to full capture; minutes and seconds;
│ {{time-sec}}       │   │   │   │   │   │   │   │ X │ time left to full capture; seconds only;
│ {{speed}}          │   │   │   │   │   │   │   │ X │ capture speed in points per second;
│ {{vehicle-class}}  │   │   │   │ X │   │   │   │   │ places special symbol depending on subject vehicle class
│ {{vtype-l}}        │ X │   │   │   │   │   │   │   │ vehicle class (text substitution from locale)
│ {{battletier-min}} │ X │   │   │   │   │   │   │   │ minimal vehicle battle tier
│ {{battletier-max}} │ X │   │   │   │   │   │   │   │ maximal vehicle battle tier
│ {{position}}       │ X │ X │ X │ X │   │   │   │   │ position of the player in the beginning of the battle (1-15)
│ {{spotted}}        │   │ X │ X │   │   │   │   │   │ Vehicle spotted status with values from texts/spotted section
│ {{c:spotted}}      │   │ X │ X │   │   │   │   │   │ Dynamic color by vehicle spotted status
│ {{a:spotted}}      │   │ X │ X │   │   │   │   │   │ Dynamic transparency by vehicle spotted status
│ {{language}}       │ X │ X │ X │ X │ X │   │   │   │ Player's client language
└────────────────────┴───┴───┴───┴───┴───┴───┴───┴───┴─────────────────────────────────────────────────

  Global macros (does not depend on the player)
┌────────────────────┬───┬───┬───┬───┬───┬───┬───┬───┬─────────────────────────────────────────────────
│ macro              │ BL│ PP│ SF│ MM│ VM│ HI│ HL│ CB│ Description
├────────────────────┼───┼───┼───┼───┼───┼───┼───┼───┼─────────────────────────────────────────────────
│ {{battletier}}     │ X │ X │ X │ X │ X │ X │ X │   │ current battle tier
│ {{cellsize}}       │   │   │   │ X │   │   │   │   │ minimap cell side size
│ {{l10n:ID}}        │   │ X │   │   │ X │ X │ X │ X │ localizated text, see en.xc for id
│ {{xvm-stat}}       │ X │ X │ X │ X │ X │   │   │   │ value 'stat' is statistic is active, empty if not
│ {{region}}         │ X │ X │ X │ X │ X │   │   │   │ current game region (RU, EU, NA, CN, ASIA, VTC, KR, CT)
└────────────────────┴───┴───┴───┴───┴───┴───┴───┴───┴─────────────────────────────────────────────────

  Statistic macros
┌─────────────────┬───┬───┬───┬───┬───┬────────────────────────────────────────────────────────────────
│ macro           │ BL│ PP│ SF│ MM│ VM│ Description
├─────────────────┼───┼───┼───┼───┼───┼────────────────────────────────────────────────────────────────
│ {{avglvl}}      │ X │ X │ X │ X │ X │ average level (tier) of tanks
│ {{eff}}         │ X │ X │ X │ X │ X │ player efficiency: http://wot-news.com/index.php/stat/calc/en/
│ {{teff}}, {{e}} │ X │ X │ X │ X │ X │ player per-vehicle efficiency: http://www.koreanrandom.com/forum/topic/1643-
│ {{wn6}}         │ X │ X │ X │ X │ X │ WN6 rating: http://www.koreanrandom.com/forum/topic/2575-
│ {{wn8}}         │ X │ X │ X │ X │ X │ WN8 rating: http://www.koreanrandom.com/forum/topic/2575-
│ {{wgr}}         │ X │ X │ X │ X │ X │ WG rating: http://www.koreanrandom.com/forum/topic/13433-
│ {{xeff}}        │ X │ X │ X │ X │ X │ XVM Scale for efficiency (values 00-99, XX for Tops)
│ {{xwn6}}        │ X │ X │ X │ X │ X │ XVM Scale for WN6 (values 00-99, XX for Tops)
│ {{xwn8}}        │ X │ X │ X │ X │ X │ XVM Scale for WN8 (values 00-99, XX for Tops)
│ {{xwgr}}        │ X │ X │ X │ X │ X │ XVM Scale for WG rating (values 00-99, XX for Tops)
│ {{rating}}      │ X │ X │ X │ X │ X │ GWR (Global Win Ratio)
│ {{battles}}     │ X │ X │ X │ X │ X │ total battles count
│ {{wins}}        │ X │ X │ X │ X │ X │ total wins count
│ {{kb}}          │ X │ X │ X │ X │ X │ number of kilo-battles (total battles count divided by 1000)
│ {{t-rating}}    │ X │ X │ X │ X │ X │ vehicle win ratio
│ {{t-battles}}   │ X │ X │ X │ X │ X │ total battles count for current vehicle
│ {{t-wins}}      │ X │ X │ X │ X │ X │ total wins count for current vehicle
│ {{t-kb}}        │ X │ X │ X │ X │ X │ number of kilo-battles for current vehicle
│ {{t-hb}}        │ X │ X │ X │ X │ X │ number of hecto-battles for current vehicle (hecto = 100)
│ {{tdb}}         │ X │ X │ X │ X │ X │ average damage for current tank - damage/battles
│ {{tdv}}         │ X │ X │ X │ X │ X │ average damage efficiency for tank - damage/(battles*maxHP)
│ {{tfb}}         │ X │ X │ X │ X │ X │ average frags per battle for current tank
│ {{tsb}}         │ X │ X │ X │ X │ X │ average number of spotted enemies per battle for current tank
│ {{c:tdb}}       │ X │ X │ X │ X │ X │ dynamic colors for this macros
│ {{c:tdv}}       │ X │ X │ X │ X │ X │ dynamic colors for this macros
│ {{c:tfb}}       │ X │ X │ X │ X │ X │ dynamic colors for this macros
│ {{c:tsb}}       │ X │ X │ X │ X │ X │ dynamic colors for this macros
│ {{c:eff}}       │ X │ X │ X │ X │ X │ color depending on player efficiency
│ {{c:e}}         │ X │ X │ X │ X │ X │ color depending on player per-vehicle efficiency
│ {{c:wn6}}       │ X │ X │ X │ X │ X │ color depending on WN6 rating
│ {{c:wn8}}       │ X │ X │ X │ X │ X │ color depending on WN8 rating
│ {{c:wgr}}       │ X │ X │ X │ X │ X │ color depending on WG rating
│ {{c:xeff}}      │ X │ X │ X │ X │ X │ color depending on XVM Scale for efficiency
│ {{c:xwn6}}      │ X │ X │ X │ X │ X │ color depending on XVM Scale for WN6
│ {{c:xwn8}}      │ X │ X │ X │ X │ X │ color depending on XVM Scale for WN8
│ {{c:xwgr}}      │ X │ X │ X │ X │ X │ color depending on XVM Scale for WG rating
│ {{c:rating}}    │ X │ X │ X │ X │ X │ color depending on GWR
│ {{c:kb}}        │ X │ X │ X │ X │ X │ color depending on kilo-battles
│ {{c:avglvl}}    │ X │ X │ X │ X │ X │ color depending on average level of tanks
│ {{c:t-rating}}  │ X │ X │ X │ X │ X │ color depending on current vehicle win ratio
│ {{c:t-battles}} │ X │ X │ X │ X │ X │ color depending on current vehicle battles
│ {{marksOnGun}}  │   │ X │ X │ X │ X │ marks on gun (only for spotted vehicles)
└─────────────────┴───┴───┴───┴───┴───┴────────────────────────────────────────────────────────────────
  * Any color macro you can change to transparency macro (e.g. {{a:tdb}}).
