Start Repeated block


This command starts a block of infobox lines which are to be repeated until the condition specified on a following $until command is true or until a $break command is encountered. Command blocks surrounded by repeat/until commands may not be nested. This command is only valid in infobox (.IIF) files and in conditional text.

The command has no parameters.

To avoid an infinite loop, CopiaFacts enforces a maximum of 256 for the number of times a repeat/until loop is executed. This limit can be overridden for a specific infobox by means of the $repeat_limit command.


$set_var x 1


  $add_image IMAGE@x

  $set_var x +1

$until @x = 4