Description macros

Navigation:  System editors > Movement type descriptions >

Description macros

Previous pageReturn to chapter overviewNext page

All the macros available to the description editor are as follows. These macros must remain in English as is, and apply to all other languages.

 

<boardsperset>

Is replaced with the number of boards per set defined in the movement.

<halfrounds>

Is replaced with half the number of rounds in the movement.

<halftables>

Is replaced with half the number of tables in the movement.

<halftables+1>

Is replaced with half the number of tables in the movement, plus 1.

<movement>

Is replaced with the movement type.

<name>

Is replaced with the name of the movement.

<players>

Is replaced with the number of players in the movement.

<players-1>

Is replaced with the number of players in the movement less 1

<rounds>

Is replaced with the number of rounds in the movement.

<tables>

Is replaced with the number of tables in the movement.

<tables-3>

Is replaced with the number of tables in the movement less 3.

<tables-2>

Is replaced with the number of tables in the movement less 2.

<tables-1>

Is replaced with the number of tables in the movement less 1.

<tables+1>

Is replaced with the number of tables in the movement plus 1.

<tables+2>

Is replaced with the number of tables in the movement plus 2.

<winners>  

Is replaced with the number of winners in the movement.

 

In addition to these macros there are a number of conditional options.

The text following these conditions will be included in the description only if the condition is true.

If the condition is negative then the text will not be included.

<if barometer>

The movement must be a barometer. All tables in round 1 are sharing the same board set.

<if notbarometer>

The movement must not be a barometer. All tables in round 1 are not sharing the same board set.

<if eventables>

The number of tables must be an even number.

<if oddtables>

The number of tables must be an odd number.

<if mod4tables>

The number of tables must be a modulus 4 number (evenly divisible by 4).

<if notmod4tables>

The number of tables must be other than a modulus 4 number (not evenly divisible by 4).

<if 1winner>

The movement must have 1 winner.

<if 2winner>

The movement must have 2 winners.

 

The end of the condition is marked by an ENDIF command. All text following the endif will be included unless it is contained in another negative condition.

<endif>