Template:FaunaTable: Difference between revisions
(setting up support for missing fields) |
No edit summary |
||
Line 6: | Line 6: | ||
!style="height:20px; border-left:outset; border-right:outset; border-top:outset; border-top-color:black; border-right-color:black; border-left-color:black"|Biomes |
!style="height:20px; border-left:outset; border-right:outset; border-top:outset; border-top-color:black; border-right-color:black; border-left-color:black"|Biomes |
||
|- |
|- |
||
!style="height:20px"| |
!style="height:20px"|Category |
||
|{{{ |
|{{{category|N/A}}} |
||
|rowspan="3" style="vertical-align:top; border-left:outset; border-bottom:outset; border-right:outset; border-bottom-color:black; border-left-color:black; border-right-color:black"| |
|rowspan="3" style="vertical-align:top; border-left:outset; border-bottom:outset; border-right:outset; border-bottom-color:black; border-left-color:black; border-right-color:black"| |
||
{{{biomes|N/A}}} |
{{{biomes|N/A}}} |
Revision as of 02:44, 24 March 2019
{{{name}}} |
Type | Fauna | Biomes |
---|---|---|---|
Category | N/A |
N/A | |
Attitude | N/A | ||
Spawn ID | N/A |
This template serves as the base table for an individual Fauna's tooltip. The resulting table appears over links to a fauna using Template:FaunaLink. All tables are to be made using this template on a template page in this template's domain. For example, Template:FaunaTable/Glow Whale.
Example
This template is only used on other template pages to more easily create tables. Only the name parameter must be filled - any other parameter can be safely left out.
HTML
{{FaunaTable |name=Glow Whale |image=Glow Whale Fauna.png |category=Leviathan |attitude=Passive |debugspawn=glowwhale |biomes= *Arctic *Deep Arctic *Tree Spires }}
Output
![]() Glow Whale |
Type | Fauna | Biomes |
---|---|---|---|
Category | Leviathan |
| |
Attitude | Passive | ||
Spawn ID | glowwhale |
Linking
Linking the desired table by tooltip is done using Template:FaunaLink.
HTML
{{FaunaLink|Glow Whale|Glow Whales}}