Template:Data Table/Descriptions
Purpose
An extension of Template:Data Table which stores data into the Descriptions Cargo table for use by description templates.
Usage
Works the same as Template:Data Table but with some additional parameters primarily for mapping table data to the parameters of Template:Descriptions/Store.
| Parameter | Required? | Description |
|---|---|---|
descriptionSource | Required | A name identifying the source of the descriptions, e.g. Inventory. |
subjectColumn | Optional | The name of the column containing the subject(s) of the description. Defaults to the first column. |
subjectDisplayColumn | Optional | The name of the column containing the subject's "display name" associated to the description (e.g. Figurine name). Defaults to the first column. If set to |
imageColumn | Optional | The name of the column containing the image of the subject that accompanies the description. Defaults to the first column. If set to N/A, no image will be added for the description. |
descriptionColumn | Optional | The name of the column containing the description. Defaults to Description. |
contextColumn | Optional | If applicable, the name of the column containing information about the context in which the description appears. Defaults to Context. |
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| descriptionSource | descriptionSource | A name identifying the source of the descriptions, e.g. <code>Inventory</code>. | Content | optional |
| subjectColumn | subjectColumn | The name of the column containing the subject(s) of the description. Defaults to the first column. | Content | optional |
| subjectDisplayColumn | subjectDisplayColumn | <p>The name of the column containing the subject's "display name" associated to the description (e.g. [[Figurine]] name). Defaults to the first column. If set to <code>N/A</code>, no display name is added for the description. | Content | optional |
| imageColumn | imageColumn | The name of the column containing the image of the subject that accompanies the description. Defaults to the first column. If set to <code>N/A</code>, no image will be added for the description. | Content | optional |
| descriptionColumn | descriptionColumn | The name of the column containing the description. Defaults to <code>Description</code>. | Content | optional |
| contextColumn | contextColumn | If applicable, the name of the column containing information about the context in which the description appears. Defaults to <code>Context</code>. | Content | optional |
Subject Pipe Links
If a piped link is used in the subject column, the first part is taken as the subject value and the second part is taken as the subjectDisplayName for that entry. This allows both values to be expressed in one column when desired. See the following pages for examples of this in practice:
- Monita -
Switchentry - Template:Descriptions TMC/Data - instruction booklet item descriptions
- Data:Armor/BotW - Armor Set descriptions
Note that word-ending links such as [[Bomb]]s are not currently supported.