Template:FaunaTable/doc: Difference between revisions

From Subnautica Wiki
(Created page with "This template serves as the base table for an individual Fauna's tooltip. The resulting table appears over links to a fauna using Template:TextLink. All tables are to be m...")
 
No edit summary
Line 2: Line 2:


==Example==
==Example==
This template is only used on other template pages to more easily create tables.
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===
===HTML===

Revision as of 00:46, 23 March 2019

This template serves as the base table for an individual Fauna's tooltip. The resulting table appears over links to a fauna using Template:TextLink. 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
|diet=Carnivorous
|attitude=Passive
|debugspawn=glowwhale
|biomes=
*Arctic
*Deep Arctic
*Tree Spires
}}

Output

Glow Whale Fauna.png
Glow Whale
Type Fauna Biomes
Category N/A
  • Arctic
  • Deep Arctic
  • Tree Spires
Attitude Passive
Spawn ID glowwhale

Linking

Linking the desired table by tooltip is done using Template:TextLink.

HTML

{{TextLink|Glow Whale}}

Output

Template:TextLink