Template:CoralTable: Difference between revisions

From Subnautica Wiki
(Created page with "{| cellpadding="1" cellspacing="1" class="article-table" |- !rowspan="3" style="text-align:center; border:outset; border-color:black"|{{#if:{{{image|}}} | [[File:{{{image}}}|{...")
 
m (3 revisions imported: importing from Below Zero wiki)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| cellpadding="1" cellspacing="1" class="article-table"
{| border="1" 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}}} | 200}}px]] | }}<br />{{{name}}}
!rowspan="2" 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"|Coral
!style="border-top:outset; border-top-color:black"|Spawn ID
!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"|Category
|style="height:20px; border-bottom:outset; border-bottom-color:black"|Coral
|style="border-bottom:outset; border-bottom-color:black"|{{#if: {{{debugspawn|}}} | ''{{{debugspawn}}}'' | N/A}}
|{{{category|N/A}}}
|rowspan="2" 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"|
|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}}}
|-
!style="height:20px; border-bottom:outset; border-bottom-color:black"|Spawn ID
|style="border-bottom:outset; border-bottom-color:black"|{{#if: {{{debugspawn|}}} | ''{{{debugspawn}}}'' | N/A}}
|}<noinclude>
|}<noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 13:43, 6 August 2021


{{{name}}}
Type Spawn ID Biomes
Coral N/A

N/A

This template serves as the base table for an individual Coral's tooltip. The resulting table appears over links to a coral using Template:CoralLink. All tables are to be made using this template on a template page in this template's domain. For example, Template:CoralTable/Table Coral.

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

{{CoralTable
|name=Table Coral
|image=Table Coral.png
|biomes=
*Lilypad Islands
*Twisty Bridges
|debugspawn=genericjeweleddisk
}}

Output

File:Table Coral.png
Table Coral
Type Spawn ID Biomes
Coral genericjeweleddisk
  • Lilypad Islands
  • Twisty Bridges

Linking

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

HTML

{{CoralLink|Table Coral}}

Output

Table Coral