Template:FloraTable: Difference between revisions
(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}}}|2...") |
No edit summary |
||
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}}}| |
!rowspan="3" style="text-align:center; border:outset; border-color:black"|{{#if:{{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | }}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"|Fauna |
|style="border-top:outset; border-top-color:black"|Fauna |
Revision as of 06:14, 23 March 2019
{{{name}}} |
Type | Fauna | Biomes |
---|---|---|---|
Attitude | 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 | Fauna | Biomes |
---|---|---|---|
Attitude | N/A |
Arctic Kelp Forest | |
Spawn ID | creepvine |
Linking
Linking the desired table by tooltip is done using Template:FloraLink.
HTML
{{FloraLink|Creepvine|Creepvines}}