Template:Data Table/Figurines: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
Tag: Disambiguation links
m (PhantomCaleb moved page Template:Figurines/Store to Template:Data Table/Figurines without leaving a redirect)
(No difference)

Revision as of 18:37, 21 November 2022

This template defines the table "Figurines2". This table has not been created yet.


Purpose

An extension of Template:Data Table for Figurine listings. Data is stored in the Figurines Cargo table for retrieval by Template:Figurines.

Usage

See Template:Data Table for more information

SyntaxBoilerplate
{{Data Table/Figurines
|name= 
|game= 
|columns= 
|<cell1>
|<cell2>
|<cell3>
|...
|<cellN>
}}
Required ParametersAll Parameters
{{Data Table/Figurines
|name= 
|game= 
}}
{{Data Table/Figurines
|name= 
|game= 
|columns= 
|
|
|
}}
ParameterStatusDescription
namerequiredSee the name parameter of Template:Data Table.
gamerequiredSee the game parameter of Template:Data Table.
columnsoptionalSee the columns parameter of Template:Data Table.

For Template:Figurines to function correctly, there must be columns named Figurine, Subject(s), and Description.

  • 1
  • .
  • .
  • N
cellsoptionalSee the cells parameter of Template:Data Table.

An extension of [[Template:Data Table]] for [[Figurine]] listings. Data is stored in the [[Special:CargoTables/Figurines|Figurines]] Cargo table for retrieval by [[Template:Figurines]].

Template parameters

ParameterDescriptionTypeStatus
namename

See the <code>name</code> parameter of [[Template:Data Table]].

Stringrequired
gamegame

See the <code>game</code> parameter of [[Template:Data Table]].

Stringrequired
columnscolumns

See the <code>columns</code> parameter of [[Template:Data Table]].<p>For [[Template:Figurines]] to function correctly, there must be columns named <code>Figurine</code>, <code>Subject(s)</code>, and <code>Description</code>.</p>

Stringoptional
cells...

See the <code>cells</code> parameter of [[Template:Data Table]].

Unknownoptional

Examples

Input
{{Data Table/Figurines
|game= TWW
|storeAs= Hall D: Bosses and Mini-Bosses
|columns= Figurine [ID][Image:Figurine Model:x150px][Name], Subject(s) [Terms], Description [Description]
|-
| Darknut
| Darknut
| Habitat: [[Tower of the Gods]]<br/>Spoils: [[Knight's Crest]]<br/><br/>These mighty knights are protected by heavy-duty armor. Rather than attacking from the front, it might be best to slip around behind them and cut their armor off.
|-
| Darknut [2]
| Darknut
| Habitat: [[Earth Temple (The Wind Waker)|Earth Temple]]<br/>Spoil: [[Knight's Crest]]<br/><br/>These knights are well protected by their round bucklers and mighty armor. If you use a [[Parry|parry attack]] to jump up and knock off their helmets, it'll spell their doom.
}}
Output
Script error: The function "Store" does not exist.

Input
{{Data Table/Figurines
|game= TMC
|columns= Figurine [ID][Image:Figurine Sprite][Name], Number, Subject(s) [Terms], Description [Description]
|-
| Capless [Player Name]
| 001
| Link
| A young boy who lives in Hyrule. He is<br/>close friends with Princess Zelda.
|-
| Princess Zelda
| 003
| Princess Zelda
| A bright and cheery princess from<br/>Hyrule's royal family.<br/>She loves to sneak out of the castle<br/>to visit her good friend, [Player Name].
}}
Output
Script error: The function "Store" does not exist.

There must be columns named Figurine, Subject(s) and Description in order for Template:Figurines to work correctly.
Input
{{Data Table/Figurines
|game= TWW
|columns= foo, bar
|-
| foo
| bar
}}
Output
Script error: The function "Store" does not exist.

The values in columns Figurine, Subject(s) and Description cannot be empty.
Input
{{Data Table/Figurines
|game= TWW
|columns= Figurine, Number, Subject(s), Description [Description]
|-
|
|
| 
|
}}
Output
Script error: The function "Store" does not exist.
The above documentation is transcluded from Template:Data Table/Figurines/Documentation. (edit | history)