Template:FaunaTable/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This template serves as the base table for an individual Fauna's tooltip. The resulting table appears over links to a fauna using [[Template: |
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== |
==Example== |
||
Line 32: | Line 32: | ||
==Linking== |
==Linking== |
||
Linking the desired table by tooltip is done using [[Template: |
Linking the desired table by tooltip is done using [[Template:FaunaLink]]. |
||
===HTML=== |
===HTML=== |
||
<pre>{{ |
<pre>{{FaunaLink|Glow Whale}}</pre> |
||
===Output=== |
===Output=== |
||
{{ |
{{FaunaLink|Glow Whale}} |
Revision as of 06:19, 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: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 |diet=Carnivorous |attitude=Passive |debugspawn=glowwhale |biomes= *Arctic *Deep Arctic *Tree Spires }}
Output
![]() Glow Whale |
Type | Fauna | Biomes |
---|---|---|---|
Category | N/A |
| |
Attitude | Passive | ||
Spawn ID | glowwhale |
Linking
Linking the desired table by tooltip is done using Template:FaunaLink.
HTML
{{FaunaLink|Glow Whale}}