This page contains usage information for Template:Interactions/aux. |
Auxiliary template for {{Interactions}}
. It should not be used directly in articles; use {{Interactions}} instead.
This template creates a single interaction item with up to 3 sub-items.
Usage[]
{{Interactions/aux |maininput =User input for the main item |maintext =Example label |sub1input =User input for the sub-item |sub1text =Example sub-label |sub1type =plain }}
Parameters[]
(default: none)
maininputUser input for the main interaction item. 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).
(default: none)
maintextThe displayed text/label for the main interaction item.
sub1input, sub2input, sub3input
User input for the respective sub-item.
sub1text, sub2text, sub3text
The displayed text/label for the respective sub-item. How exactly this text is displayed depends on the corresponding
subtype
parameter; see below.(default: "binary")
sub1type, sub2type, sub3typeDetermines valid inputs and displayed layout for the respective sub-item.
Possible choices are:
- binary: Creates "yes"/"no"-type field. The text (see
subtext
above) is displayed if "yes" is entered. - phrase: Displays user input in the middle of a preset phrase. If this option is used,
subtext
contains the phrase in question and must contain the respectiveinput
parameter in the place where the user input should appear. - plain: Displays user input without any additional formatting. The corresponding
subtext
parameter has no effect and is not displayed.