> For the complete documentation index, see [llms.txt](https://docs.wiclax.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wiclax.com/es/otras-caracteristicas/variables-de-exportacion.md).

# Variables de exportación

Las variables de exportación pueden estar involucradas en muchos contextos, como formatos de exportación personalizados, correo electrónico, certificados, plantillas de impresión,...

Aquí hay una referencia completa para los casos en los que necesitarás ingresarlos desde cero.

Variables para un participante

<table><thead><tr><th width="119">ID</th><th>Datos</th></tr></thead><tbody><tr><td>21</td><td>Número de dorsal</td></tr><tr><td>3</td><td>Nombre</td></tr><tr><td>2</td><td>Apellido</td></tr><tr><td>4</td><td>Nombre y apellido</td></tr><tr><td>68</td><td>Nombre y apellido, iniciales del nombre</td></tr><tr><td>8</td><td>Género</td></tr><tr><td>5</td><td>Categoría - abreviación</td></tr><tr><td>52</td><td>Categoría - nombre completo</td></tr><tr><td>7</td><td>Equipo o Club</td></tr><tr><td>24</td><td>Código de equipo</td></tr><tr><td>10</td><td>Año de nacimiento</td></tr><tr><td>37</td><td>Fecha de nacimiento</td></tr><tr><td>49</td><td>Edad</td></tr><tr><td>12</td><td>Dirección Línea 1</td></tr><tr><td>13</td><td>Dirección Línea 2</td></tr><tr><td>17</td><td>Código postal</td></tr><tr><td>18</td><td>Ciudad</td></tr><tr><td>72</td><td>Estado o provincia</td></tr><tr><td>14</td><td>Región</td></tr><tr><td>9</td><td>Nacionalidad</td></tr><tr><td>61</td><td>Nombre del país</td></tr><tr><td>16</td><td>Email</td></tr><tr><td>43</td><td>Número de teléfono</td></tr><tr><td>15</td><td>Número de licencia</td></tr><tr><td>19</td><td>Carrera</td></tr><tr><td>39</td><td>ID de chip</td></tr><tr><td>60</td><td>Número de dorsal real o Número de coche</td></tr><tr><td>1</td><td>UCI ID</td></tr><tr><td>82</td><td>Heat number</td></tr><tr><td>76</td><td>Lista de nombres de compañeros de equipo (cuando se exportan equipos)</td></tr></tbody></table>

Variables de resultado

<table><thead><tr><th width="119">ID</th><th>Datos</th></tr></thead><tbody><tr><td>22</td><td>Tiempo de carrera</td></tr><tr><td>23</td><td>Hora de salida, individual</td></tr><tr><td>98</td><td>Hora de salida prevista, individual</td></tr><tr><td>80</td><td>Hora de salida de la carrera</td></tr><tr><td>40</td><td>Chip time (vs Gun time)</td></tr><tr><td>74</td><td>Gun time (vs Chip time)</td></tr><tr><td>30</td><td>Rango</td></tr><tr><td>31</td><td>Rango en la categoría</td></tr><tr><td>75</td><td>Rango en género</td></tr><tr><td>88</td><td>Rango en la clasificación general</td></tr><tr><td>47</td><td>Número de vueltas</td></tr><tr><td>83</td><td>Número de vueltas restantes</td></tr><tr><td>58</td><td>Mejor vuelta</td></tr><tr><td>34</td><td>Diferencia de tiempo con el líder de la carrera</td></tr><tr><td>108</td><td>Diferencia de tiempo con el predecesor</td></tr><tr><td>66</td><td>Diferencia de tiempo en la clasificación general</td></tr><tr><td>29</td><td>Velocidad media</td></tr><tr><td>85</td><td>Puntos</td></tr><tr><td>28</td><td>Distancia de carrera</td></tr><tr><td>45</td><td>Time of day - for finish</td></tr><tr><td>48</td><td>Distancia total recorrida</td></tr><tr><td>91</td><td>Race time at last split timed</td></tr><tr><td>92</td><td>Rank at last split timed</td></tr><tr><td>93</td><td>Name of last split point timed</td></tr><tr><td>55</td><td>Lista de tiempos de intermedios (format "<code>time_split1 (rank)|time_split2 (rank)|...</code>")</td></tr><tr><td>56</td><td>Lista de tiempos de segmentos (format "<code>time_segment1 (rank)|time_segment2 (rank)|...</code>")</td></tr><tr><td>89</td><td>Lista de tiempos de vuelta (format "<code>time_lap1|time_lap2|...</code>")</td></tr><tr><td>96</td><td>Velocidad media de vuelta</td></tr><tr><td>81</td><td>Número de participantes en la carrera (excluidos los que no salen)</td></tr><tr><td>77</td><td>Número de participantes en el género (excluidos los que no salen)</td></tr><tr><td>78</td><td>Número de participantes en la categoría (excluidos los que no salen)</td></tr><tr><td>94</td><td>Número de finalistas en la categoría</td></tr><tr><td>38</td><td>Número de finalistas en la carrera</td></tr><tr><td>200,201,202, ...</td><td>Net split time for first, second, ... split point. Numbering valid for all the event splits</td></tr><tr><td>300, 301, 302, ...</td><td>Segment time for first, second, ... segment. Numbering valid for all the event segments</td></tr><tr><td>400, 401, 402, ...</td><td>Time of day for first, second, ... split point. Numbering valid for all the event splits</td></tr><tr><td>500, 501, 502, ...</td><td>Rango para el primer, segundo,... intermedio. Numeración válida para todos los puntos intermedios del evento.</td></tr><tr><td>600, 601, 602, ...</td><td>Rango para el primer, segundo,... segmento. Numeración válida para todos los segmentos del evento.</td></tr></tbody></table>

## Campos de datos personalizados

<table><thead><tr><th width="119">ID</th><th>Datos</th></tr></thead><tbody><tr><td>xxx</td><td>Donde xxx es simplemente el nombre de los datos personalizados en el evento de Wiclax. Por ejemplo<code>[%Dog name%]</code>. Sin distinción entre mayúsculas y minúsculas.</td></tr></tbody></table>

## Variables de carrera

<table><thead><tr><th width="119">ID</th><th>Datos</th></tr></thead><tbody><tr><td>9013</td><td>Nombre del evento</td></tr><tr><td>9017</td><td>Organizador del evento</td></tr><tr><td>9000</td><td>Nombre de la carrera</td></tr><tr><td>9014</td><td>Título del informe</td></tr><tr><td>9001</td><td>Número de participantes que salen</td></tr><tr><td>9002</td><td>Número de clasificados</td></tr><tr><td>9025</td><td>Número de finalistas</td></tr><tr><td>9022</td><td>Tiempo de carrera del ganador</td></tr><tr><td>9003</td><td>Velocidad media del ganador</td></tr><tr><td>9004</td><td>Fecha del evento</td></tr><tr><td>9005</td><td>Comisarios de carrera</td></tr><tr><td>9006</td><td>Distancia de carrera</td></tr><tr><td>9007</td><td>Nombre de la etapa</td></tr><tr><td>9057</td><td>Número de la etapa</td></tr><tr><td>9024</td><td>Hora de salida de la carrera</td></tr><tr><td>9008</td><td>Mejor vuelta</td></tr><tr><td>9018</td><td>Best lap holder, full name</td></tr><tr><td>9019</td><td>Best lap holder, last name</td></tr><tr><td>9020</td><td>Best lap holder, full name with initials</td></tr><tr><td>9023</td><td>Número de vueltas a completar</td></tr><tr><td>9011</td><td>Número de vueltas completadas</td></tr><tr><td>9012</td><td>Número de vueltas restantes</td></tr><tr><td>9021</td><td>Número total de vueltas completadas (todos los participantes)</td></tr><tr><td>9015</td><td>Número de participantes DNF</td></tr><tr><td>9016</td><td>Número de participantes OTF (fuera del límite de tiempo)</td></tr><tr><td>9059</td><td>Lista de todos los puntos intermedios, separados por comas</td></tr><tr><td>9060</td><td>Lista de todos los segmentos, separados por comas</td></tr><tr><td>xxx</td><td>Donde xxx es simplemente el nombre de la <a href="/es/otras-caracteristicas/variables-de-evento.md">variable personalizada</a> en el evento de Wiclax. Por ejemplo <code>[%Temperatura del agua%]</code>. Sin distinción entre mayúsculas y minúsculas.</td></tr></tbody></table>

## Especificadores de etapa o de vuelta

Para eventos de varias etapas, el índice de etapa utilizado para una variable es, de manera predeterminada, la etapa de la exportación.

Un identificador o etiqueta de variable puede completarse con un especificador para hacer que la variable se calcule para un número de etapa o de vuelta específico. Ambos índices comienzan en 1.

Ejemplos:

<table><thead><tr><th width="202">ID</th><th>Datos</th></tr></thead><tbody><tr><td>[%23,stage=2%]</td><td>Da la hora de salida del participante (23) para la etapa 2.</td></tr><tr><td>[%600,lap=1%]</td><td>Da el tiempo del primer segmento del participante para la vuelta 1.</td></tr></tbody></table>

## Variables de compañeros de equipo

Variable tags can be formed around variable #2000, which indicates you want a participant data for a specific teammate, when the export is itself a team ranking or a team list.

El formato de la etiqueta es el siguiente:

`2000,<teammate-index>,<invididual-data-ID>,<team-sorting>`

Where team-sorting value can be `reg` for the order of registration or `res` for the ranking order.

Índice de compañeros de equipo comenzando en 0.

Ejemplo:

<table><thead><tr><th width="202">ID</th><th>Datos</th></tr></thead><tbody><tr><td> [%2000,0,3,res%]</td><td>Da el nombre (var 3) del primer compañero de equipo clasificado.</td></tr></tbody></table>

## Variable formatting

For specific contexts like exporters or scoreboards, some format flags can be specified in this way:

```
[%var=30;fixedW=3;maxW=3;align=right;trailing=.%] 
```

In this case the whole block has to start with `var=`, followed by the variable ID and then a list of format specifiers separated by a semicolon. Here is the list of specifiers allowed:

<table data-header-hidden><thead><tr><th valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">fixedW</td><td>a fixed number of chars for the field, value is completed with padding chars if necessary</td></tr><tr><td valign="top">maxW</td><td>a maximum number of chars for the field, value is truncated if necessary</td></tr><tr><td valign="top">paddingChar</td><td>a character to use for padding when necessary, space by default</td></tr><tr><td valign="top">align</td><td>alignment for the value when fixedW is set, value left, right or center (left by default)</td></tr><tr><td valign="top">trailing</td><td>a suffix string to append when the value is not empty</td></tr><tr><td valign="top">leading</td><td>a prefix string to insert before the value when the value is not empty</td></tr><tr><td valign="top">timeFormat</td><td>a mask for time values, following reference <a href="https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings">https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings</a></td></tr></tbody></table>

## Special characters

Also specific to exporters/scoreboards. To output any (non printable) special character based on its ASCII code, insert it like this:

```
{char:xx}
```

Where *xx* is the code.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wiclax.com/es/otras-caracteristicas/variables-de-exportacion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
