Template:Descriptions/Store

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

This template defines the table "Descriptions". View table.

Purpose

Stores official descriptions of a subject, for use by description templates.

This template is invoked automatically via {{Data Table/Descriptions}} and {{Descriptions Table}}.

Usage

{{Descriptions/Store
|game= 
|descriptionSource= 
|subject= 
|section= 
|context= 
|image= 
|subjectDisplayName= 
|description= 
}}
ParameterRequired?Description
game
RequiredA game code.
descriptionSource
RequiredThe source of the description, e.g. Inventory.
subject
RequiredA wiki article name referring to the subject being described.
section
Optional

When a subject has multiple sets of descriptions that are to be displayed in different sections of a page (e.g. Ghirahim), this value determines which section the description belongs to.

Corresponds to the section parameter of Template:Descriptions.

context
OptionalIf the given subject has multiple descriptions of the same type in game, use this field to describe when the given description appears.
image
OptionalA wiki file name referring to the image that accompanies the description, if any.
subjectDisplayName
Optional

The name of the subject as displayed alongside the description.

Defaults to subject.

description
RequiredThe description of the subject.

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
gamegame

A [[:Category:Game codes|game code]].

Contentoptional
descriptionSourcedescriptionSource

The source of the description, e.g. <code>Inventory</code>.

Contentoptional
subjectsubject

A wiki article name referring to the subject being described.

Contentoptional
sectionsection

<p>When a subject has multiple sets of descriptions that are to be displayed in different sections of a page (e.g. [[Ghirahim]]), this value determines which section the description belongs to.</p> <p>Corresponds to the <code>section</code> parameter of [[Template:Descriptions]].</p>

Contentoptional
contextcontext

If the given subject has multiple descriptions of the same <code>type</code> in <code>game</code>, use this field to describe when the given description appears.

Contentoptional
imageimage

A wiki file name referring to the image that accompanies the description, if any.

Contentoptional
subjectDisplayNamesubjectDisplayName

<p>The name of the subject as displayed alongside the description.</p><p>Defaults to <code>subject.</code></p>

Contentoptional
descriptiondescription

The description of the subject.

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