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
No edit summary
 
Line 1: Line 1:
<includeonly><templatestyles src="Template:Data Table/Figurines/Styles.css"/><div class="data-table-figurines">{{#invoke:Figurines|DataTable}}</div></includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly><templatestyles src="Template:Figurines/Styles.css"/><div class="data-table-figurines">{{#invoke:Figurines|DataTable}}</div></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 22:16, 21 November 2022

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
Figurine
Darknut
Subject(s)
Description

Habitat: Tower of the Gods
Spoils: Knight's Crest

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.

Figurine
Darknut
Subject(s)
Description

Habitat: Earth Temple
Spoil: Knight's Crest

These knights are well protected by their round bucklers and mighty armor. If you use a parry attack to jump up and knock off their helmets, it'll spell their doom.

FigurineSubject(s)Description
Darknut

Habitat: Tower of the Gods
Spoils: Knight's Crest

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

Habitat: Earth Temple
Spoil: Knight's Crest

These knights are well protected by their round bucklers and mighty armor. If you use a parry attack to jump up and knock off their helmets, it'll spell their doom.

Categories Added

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
Figurine
Capless Link
Number
001
Subject(s)
Description

A young boy who lives in Hyrule. He is
close friends with Princess Zelda.

Figurine
Princess Zelda
Number
003
Subject(s)
Description

A bright and cheery princess from
Hyrule's royal family.
She loves to sneak out of the castle
to visit her good friend, Link.

FigurineNumberSubject(s)Description
Princess Zelda
003

A bright and cheery princess from
Hyrule's royal family.
She loves to sneak out of the castle
to visit her good friend, Link.

Categories Added

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
foobar
foo
bar
Categories Added

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
FigurineNumberSubject(s)Description
Categories Added
The above documentation is transcluded from Template:Data Table/Figurines/Documentation. (edit | history)