Template:Interactions/aux/doc

Please do not use this template directly, use Interactions instead.

Auxiliary template for Interactions which creates a single interaction item with up to 3 sub-items.

Parameters
maininput (semi-optional)
 * User input for the main interaction item (default: none). Only required/effective if no sub-items are specified; otherwise the output for the main field is determined by the input for the sub-item(s).

maintext
 * The displayed text/label for the main interaction item (default: none).

sub1input, sub2input, sub3input (optional)
 * User input for the respective sub-item.

sub1text, sub2text, sub3text (optional)
 * The displayed text/label for the respective sub-item. How exactly this text is displayed depends on the corresponding  parameter; see below.

sub1type, sub2type, sub3type (optional)
 * Determines valid inputs and displayed layout for the respective sub-item (default: "binary").


 * Possible choices are:
 * binary: Creates "yes"/"no"-type field. The text (see  above) is displayed if "yes" is entered.
 * plain: Displays user input without any additional formatting. The corresponding  parameter has no effect and is not displayed.
 * prefix: Displays user input as a list item behind a preset text (i.e. the corresponding  parameter).


 * For all types entering "no", "none", "-" or nothing will result in the sub-item not being displayed.