Template:FloraTable: Difference between revisions

From Subnautica Wiki
No edit summary
m (5 revisions imported: importing from Below Zero wiki)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| cellpadding="1" cellspacing="1" class="article-table"
{| cellpadding="1" cellspacing="1" class="article-table"
|-
|-
!rowspan="3" style="text-align:center; border:outset; border-color:black"|{{#if:{{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | }}px]] | }}<br />{{{name}}}
!rowspan="3" style="text-align:center; border:outset; border-color:black"|{{#if:{{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | 200}}px]] | }}<br />{{{name}}}
!style="border-top:outset; border-top-color:black"|Type
!style="border-top:outset; border-top-color:black"|Type
|style="border-top:outset; border-top-color:black"|Flora
|style="border-top:outset; border-top-color:black"|Flora

Latest revision as of 13:46, 6 August 2021


{{{name}}}
Type Flora Biomes
Category N/A

N/A

Spawn ID N/A

This template serves as the base table for an individual Flora's tooltip. The resulting table appears over links to a flora using Template:FloraLink. All tables are to be made using this template on a template page in this template's domain. For example, Template:FloraTable/Creepvine.

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. The imagesize parameter should only be used to decrease the image size when it enlarges the table too much.

HTML

{{FloraTable
|name=Creepvine
|image=Arctic Kelp Flora.png
|imagesize=75
|category=Exploitable
|biomes=
Arctic Kelp Forest
|debugspawn=creepvine
}}

Output

File:Arctic Kelp Flora.png
Creepvine
Type Flora Biomes
Category Exploitable

Arctic Kelp Forest

Spawn ID creepvine

Linking

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

HTML

{{FloraLink|Creepvine|Creepvines}}

Output

Creepvines