Template:Term List

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

Purpose

Applies {{Term}} or {{Plural}} to a list of page names.

Usage

SyntaxBoilerplate
{{Term List|<game>|<pages>|link= |plural= |listType= |storeAs= }}
{{Term List||}}
ParameterStatusDescriptionAccepted valuesDefault value
1gamerequiredA game code.See Data:Franchise
2pagesrequiredComma-separated list of wiki page names.
linkoptionalIf present, the link option of {{Term}} is applied.
pluraloptionalIf present, {{Plural}} is used instead of {{Term}}.
listTypeoptionalSets the list formatting.
  • bullet
  • comma
  • plain
comma
storeAsoptionalStores the list in the Sequences Cargo table for use by Template:Sort Value and Module:Sequences.

Applies {{Template|Term}} or {{Template|Plural}} to a list of page names.

Template parameters

ParameterDescriptionTypeStatus
game1

A game code.

Stringrequired
pages2

Comma-separated list of wiki page names.

Contentrequired
linklink

If present, the <code>link</code> option of {{Template|Term}} is applied.

Booleanoptional
pluralplural

If present, {{Template|Plural}} is used instead of {{Template|Term}}.

Booleanoptional
listTypelistType

Sets the list formatting.

Stringoptional
storeAsstoreAs

Stores the list in the [[Special:CargoTables/Sequences|Sequences]] Cargo table for use by [[Template:Sort Value]] and [[Module:Sequences]].

Stringoptional

Examples

#InputOutput
1{{Term List|LANS|Map, Compass, Key, Big Key}} Map, Compass, Small Key, Nightmare Key
2{{Term List|LANS|Map, Compass, Key, Big Key|link= }} Map, Compass, Small Key, Nightmare Key
3{{Term List|Series|Map, Compass, Key, Big Key|plural= }} Maps, Compasses, Small Keys, Nightmare Keys
4{{Term List|Series|Map, Compass, Key, Big Key|plural= |link= }} Maps, Compasses, Small Keys, Nightmare Keys
5{{Term List|Series|Map, Compass, Key, Big Key|link= |listType= plain}}
6{{Term List|Series|Map, Compass, Key, Big Key|link= |listType= bullet}}
Entries may include {{Exp}}, {{Exp Game}}, {{Note}}, {{Small}}, references, etc.
7{{Term List|Series|Map{{Exp|foo}}, Compass {{Exp Game|TWW}}, Key{{Note|bar}}, Treasure Chest {{Small|(baz)}}, Big Key<ref>quux</ref>|plural= |link= }} MapsTriforce piece.png, Compasses (TWW), Small Keys[note 1], Treasure Chests (baz), Nightmare Keys[1]
Use storeAs if the sequence is representative of some in-game order and can be used by Template:Sort Value.
8{{Term List|ST|Forest Realm, Snow Realm, Ocean Realm, Fire Realm, Sand Realm, Dark Realm|storeAs= Realms}} Forest Realm, Snow Realm, Ocean Realm, Fire Realm, Sand Realm, Dark Realm
  1. quux
  1. bar
The above documentation is transcluded from Template:Term List/Documentation. (edit | history)