Template:Data Table/Descriptions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search


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.

ParameterRequired?Description
descriptionSource
RequiredA name identifying the source of the descriptions, e.g. Inventory.
subjectColumn
OptionalThe 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 N/A, no display name is added for the description.

imageColumn
OptionalThe 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
OptionalThe name of the column containing the description. Defaults to Description.
contextColumn
OptionalIf applicable, the name of the column containing information about the context in which the description appears. Defaults to Context.

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
descriptionSourcedescriptionSource

A name identifying the source of the descriptions, e.g. <code>Inventory</code>.

Contentoptional
subjectColumnsubjectColumn

The name of the column containing the subject(s) of the description. Defaults to the first column.

Contentoptional
subjectDisplayColumnsubjectDisplayColumn

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

Contentoptional
imageColumnimageColumn

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.

Contentoptional
descriptionColumndescriptionColumn

The name of the column containing the description. Defaults to <code>Description</code>.

Contentoptional
contextColumncontextColumn

If applicable, the name of the column containing information about the context in which the description appears. Defaults to <code>Context</code>.

Contentoptional

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:

Note that word-ending links such as [[Bomb]]s are not currently supported.

See Also

The above documentation is transcluded from Template:Data Table/Descriptions/Documentation. (edit | history)