Template:Flora: Difference between revisions
No edit summary Tag: sourceedit |
Techhead7890 (talk | contribs) (fix water data source from h20 (h-twenty) to h2o (lowercase o) as most data is already entered under that parameter) |
||
(32 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<infobox> |
<includeonly><infobox> |
||
<title source="title1"><default>{{PAGENAME}}</default></title> |
|||
<image source="image1"><caption source="caption1"/></image> |
|||
<default>{{PAGENAME}}</default> |
|||
<data source="category"><label>Category</label></data> |
|||
</title> |
|||
<data source="tab"><label>Category</label></data> |
|||
<data source="description"><label>Description</label></data> |
|||
<caption source="caption1"/> |
|||
<data source="inhabit"><label>Inhabit</label></data> |
|||
</image> |
|||
<data source="loot"><label>Loot</label></data> |
|||
<data source="attitude"><label>Attitude</label></data> |
|||
<data source="damage"><label>Damage</label></data> |
|||
</data> |
|||
<data source="obtain_from"><label>Obtain From</label></data> |
|||
<data source="biome"><label>Biome</label></data> |
|||
<data source="active_during"><label>Active During</label></data> |
|||
</data> |
|||
<data source="reap"><label>Reap</label></data> |
|||
<data source="music"><label>Music</label></data> |
|||
<group> |
|||
<image source="image2"><caption source="caption2"/></image> |
|||
<data source="tab2"><label>Tab</label></data> |
|||
<data source="description2"><label>Description</label></data> |
|||
</data> |
|||
<data source="size"><label>Size</label></data> |
|||
<data source="bioreactor"><label>Bioreactor</label></data> |
|||
<data source="drops"><label>Drops</label></data> |
|||
</data> |
|||
<data source="debugspawn"><label>Debug Spawn</label> |
|||
<format> |
|||
<label>Obtain From</label> |
|||
{{#if:{{#explode:{{{debugspawn}}}||1}}| |
|||
</data> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||0}}]] |
|||
<data source="biome"> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||1}}]] |
|||
<label>Biome</label> |
|||
{{#if:{{#explode:{{{debugspawn}}}||2}}| |
|||
</data> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||2}}]] |
|||
<data source="active_during"> |
|||
{{#if:{{#explode:{{{debugspawn}}}||3}}| |
|||
<label>Active During</label> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||3}}]] |
|||
</data> |
|||
}} |
|||
<data source="item_id"> |
|||
}} |
|||
<label>Item ID</label> |
|||
| [[Console Commands#Spawn|{{{debugspawn}}}]] |
|||
</data> |
|||
}} |
|||
<group layout="horizontal"> |
|||
</format> |
|||
<header>Item</header> |
|||
</data> |
|||
<image source="image2"> |
|||
<data source="item_id"><label>Debug Spawn</label> |
|||
<format> |
|||
</image> |
|||
{{#if:{{#explode:{{{debugspawn}}}||1}}| |
|||
<data source="food"> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||0}}]] |
|||
<label>Food</label> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||1}}]] |
|||
</data> |
|||
{{#if:{{#explode:{{{debugspawn}}}||2}}| |
|||
<data source="h2o"> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||2}}]] |
|||
<label>H2O</label> |
|||
{{#if:{{#explode:{{{debugspawn}}}||3}}| |
|||
</data> |
|||
* [[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||3}}]] |
|||
</group> |
|||
}} |
|||
<data source="bioreactor"> |
|||
}} |
|||
<label>Bioreactor</label> |
|||
| [[Console Commands#Spawn|{{{debugspawn}}}]] |
|||
</data> |
|||
}} |
|||
<data source="size"> |
|||
</format> |
|||
<label>Size</label> |
|||
</data> |
|||
</group> |
|||
<data source="drops"> |
|||
<group layout="horizontal"> |
|||
<label>Drops</label> |
|||
<header>Sustenance</header> |
|||
</data> |
|||
<data source="food"><label>Food</label></data> |
|||
<data source="h2o"><label>H<sub>2</sub>O</label></data> |
|||
</group> |
|||
<group collapse="open" class="tab-seeds"> |
|||
</infobox> |
|||
<header>Seeds</header> |
|||
<noinclude> |
|||
<image source="image3"><caption source="caption3"/></image> |
|||
Example usage:<pre> |
|||
<data source="tab3"><label>Tab</label></data> |
|||
{{Flora |
|||
<data source="description3"><label>Description</label></data> |
|||
|title1=Example |
|||
<data source="size2"><label>Size</label></data> |
|||
|image1=Example |
|||
<data source="bioreactor2"><label>Bioreactor</label></data> |
|||
|caption1=Example |
|||
<data source="itemid2"><label>Item ID</label></data> |
|||
|category=Example |
|||
</group> |
|||
|attitude=Example |
|||
</infobox>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#ifeq:{{{exclude_category|no}}}|no|[[Category:Flora|{{PAGENAME}}]]|}}|}}</includeonly><noinclude>{{Documentation}}</noinclude> |
|||
|biome=Example |
|||
|active_during=Example |
|||
|size=Example |
|||
|reap=Example |
|||
|item_id=Example |
|||
}} |
|||
</pre> |
|||
</noinclude> |
Latest revision as of 21:23, 1 May 2024
Example
<infobox>
<title source="title1"> <default>Flora</default> </title> <group layout="horizontal"> </group> <image source="image1"></image> <label>Category</label> <label>Sub-Category</label> <label>Description</label> <label>Inhabitant</label> <label>Loot</label> <label>Classification</label> <label>Size</label> <label>Damage</label> <label>Obtained From</label> <label>Biome</label> <label>Location</label> <label>Bioreactor Value Per Slot</label> <label>Active During</label> <label>Reaps</label> <label>Debug ID</label> <format>
- {{#explode:creepvineseedcluster||0}}
- {{#explode:creepvineseedcluster||1}}
- {{#explode:creepvineseedcluster||2}}
- {{#explode:creepvineseedcluster||3}}
- {{#explode:{{{itemspawn}}}||0}}
- {{#explode:{{{itemspawn}}}||1}}
- {{#explode:{{{itemspawn}}}||2}}
- {{#explode:{{{itemspawn}}}||3}}
{{Flora (BZ) |title1 = Creepvine Seed Cluster (Below Zero) |image1 = Creepvine Seed Cluster (BZ).png |category = [[Raw Materials (Below Zero)|Raw Material]] |description = Indigenous seeds with high silicone and oil content. |obtain_from = * [[Creepvine (Below Zero)|Creepvine]] * [[Sea Monkey]] |biome = [[Arctic Kelp Forest]] |debugspawn = ''creepvineseedcluster'' |type = [[Flora (Below Zero)#Exploitable|Exploitable]] |food = +0 |h2o = +10 |size = 4 (2×2) |bioreactor = [[File:Creepvine Seed Cluster.png|30px]] +70 Energy }}
Empty Template
{{Flora |title1 = |image1 = |caption1 = |category = |tab = |description = |inhabit = |loot = |attitude = |damage = |obtain_from = |biome = |active_during = |reap = |music = |image2 = |tab2 = |description = |size = |bioreactor = |drops = |debugspawn = |item_id = |food = |h20 = |image3 = |tab3 = |description3 = |size2 = |bioreactor2 = |itemid2 = }}