Template:Interactions/doc

Meta-template for creating standardized tables with possible NPC interactions.

Usage

 * To add: General explanation how the template works.

Parameters
labelA, labelB, labelC
 * Column headings (default: none).

textA1 - textA5, textB1 - textB5, textC1 - textC5
 * Displayed text/labels for main interaction items (default: none).

textA1-1 - textA1-3, textA2-1 - textA2-3, textA3-1 - textA3-3 (etc)
 * Displayed text/labels for sub-items of the respective main interaction items. In which manner the text is displayed depends on the corresponding  parameter; see below.

typeA1-1 - typeA1-3, typeA2-1 - typeA2-3, typeA3-1 - typeA3-3 (etc)
 * Determines valid inputs and displayed layout for the respective sub-item (default: "binary").  parameters are only available for sub-items; main interaction items with no sub-items are always of the "binary" type.


 * 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.

inputA1 - inputA5, inputA1-1 - inputA5-3 (etc)
 * The parameters users should fill out in articles (default: none). For each interaction item there needs to be a corresponding  parameter; the only exception are main items with sub-items as their output depends on what the users enter for the sub-items. Expected input depends on corresponding   parameter; see above.

Example
results in:

With the specified parameters filled in:

Technical

 * Auxiliary template: /aux