Template:FaunaTable/doc: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 35: Line 35:


===HTML===
===HTML===
<pre>{{FaunaLink|Glow Whale}}</pre>
<pre>{{FaunaLink|Glow Whale|Glow Whales}}</pre>


===Output===
===Output===
{{FaunaLink|Glow Whale}}
{{FaunaLink|Glow Whale|Glow Whales}}

Revision as of 23:41, 26 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: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 Fauna.png
Glow Whale
Type Fauna Biomes
Category Leviathan
  • Arctic
  • Deep Arctic
  • Tree Spires
Attitude Passive
Spawn ID glowwhale

Linking

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

HTML

{{FaunaLink|Glow Whale|Glow Whales}}

Output

Glow Whales