Template:FloraTable: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
!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}}} | }}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"| |
|style="border-top:outset; border-top-color:black"|Flora |
||
!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 |
||
|- |
|- |
Revision as of 23:36, 23 March 2019
{{{name}}} |
Type | Flora | 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 | Flora | 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}}