Template:Fauna: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Tag: 2017 source edit
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<infobox layout="stacked">
<infobox>
<title source="title1" style="font-weight:bold; text-align:center;">
<title source="title1" style="font-weight:bold; text-align:center;">
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
Line 15: Line 15:
<label>Description</label>
<label>Description</label>
</data>
</data>
<data source="affiliation">
<label>Affiliation</label>
<format>{{#ifeq: {{TestInput|{{{affiliation|}}}}}
| passed
| {{{affiliation}}}
}}</format>
</data>
<data source="age">
<data source="age">
<label>Age</label>
<label>Age</label>
Line 69: Line 76:
<label>Voice Actor</label>
<label>Voice Actor</label>
</data>
</data>
<data source="debug_spawn">
<data source="debugspawn">
<label>Debug Spawn</label>
<label>Debug Spawn</label>
<format>{{#if:{{#explode:{{{debugspawn}}}||1}}|
*[[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||0}}]]
*[[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||1}}]]
{{#if:{{#explode:{{{debugspawn}}}||2}}|
*[[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||2}}]]
{{#if:{{#explode:{{{debugspawn}}}||3}}|
*[[Console Commands#Spawn|{{#explode:{{{debugspawn}}}||3}}]]
}}
}}
|[[Console Commands#Spawn|{{{debugspawn}}}]]}}
</format>
</data>
<data source="item_id">
<label>Debug Spawn</label>
<format>{{#if:{{#explode:{{{item_id}}}||1}}|
*[[Console Commands#Spawn|{{#explode:{{{item_id}}}||0}}]]
*[[Console Commands#Spawn|{{#explode:{{{item_id}}}||1}}]]
{{#if:{{#explode:{{{item_id}}}||2}}|
*[[Console Commands#Spawn|{{#explode:{{{item_id}}}||2}}]]
{{#if:{{#explode:{{{item_id}}}||3}}|
*[[Console Commands#Spawn|{{#explode:{{{item_id}}}||3}}]]
}}
}}
|[[Console Commands#Spawn|{{{item_id}}}]]}}
</format>
</data>
</data>
<group layout="horizontal">
<header>Food</header>
<data source="raw1">
<label>Raw</label>
</data>
<data source="cooked1">
<label>Cooked</label>
</data>
<data source="cured1">
<label>Cured</label>
</data>
</group>
<group layout="horizontal">
<group layout="horizontal">
<header>H<sub>2</sub>O</header>
<header>Food & Water</header>
<data source="raw2">
<data source="food">
<label>Raw</label>
<label>Food</label>
</data>
</data>
<data source="cooked2">
<data source="water">
<label>Cooked</label>
<label>H<sub>2</sub>O</label>
</data>
</data>
<data source="cured2">
<data source="oxygen">
<label>Cured</label>
<label>O<sub>2</sub></label>
</data>
</data>
</group>
<group layout="horizontal">
<header>O₂</header>
<data source="raw3">
<label>Raw</label>
</data>
<data source="cooked3">
<label>Cooked</label>
</data>
<data source="cured3">
<label>Cured</label>
</data>
</group>
</group>
<group collapse="open" class="tab-eggs">
<group collapse="open" class="tab-eggs">
Line 128: Line 136:
<label>Bioreactor</label>
<label>Bioreactor</label>
</data>
</data>
<data source="item_id">
<data source="debugspawn2">
<label>Item ID</label>
<label>Debug Spawn</label>
<format>{{#if:{{#explode:{{{debugspawn2}}}||1}}|
*[[Console Commands#Spawn|{{#explode:{{{debugspawn2}}}||0}}]]
*[[Console Commands#Spawn|{{#explode:{{{debugspawn2}}}||1}}]]
{{#if:{{#explode:{{{debugspawn2}}}||2}}|
*[[Console Commands#Spawn|{{#explode:{{{debugspawn2}}}||2}}]]
{{#if:{{#explode:{{{debugspawn2}}}||3}}|
*[[Console Commands#Spawn|{{#explode:{{{debugspawn2}}}||3}}]]
}}
}}
|[[Console Commands#Spawn|{{{debugspawn2}}}]]}}
</format>
</data>
</data>
</group>
</group>
Line 135: Line 154:
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>
{{Class 2 Fauna
{{Fauna
|title1 = Example Title
|title1 = Example Title
|image1 = Unknown.png
|image1 = Unknown.png
Line 180: Line 199:
</pre>
</pre>
The above code results in:
The above code results in:
{{Class 2 Fauna
{{Fauna
|title1 = Example Title
|title1 = Example Title
|image1 = Unknown.png
|image1 = Unknown.png

Latest revision as of 20:41, 29 November 2020

<infobox>

 <title source="title1" style="font-weight:bold; text-align:center;">
   <default>Fauna</default>
 </title>
 <image source="image1">

</image> <label>Category</label> <label>Tab</label> <label>Description</label> <label>Affiliation</label> <format></format> <label>Age</label> <label>Description when cooked</label> <label>Description when cured</label> <label>Inhabit</label> <label>Attitude</label> <label>Health</label> <label>Damage</label> <label>Adult Damage</label> <label>Juvenile Damage</label> <label>Drops</label> <label>Perks</label> <label>Biome</label> <label>Active During</label> <label>Size</label> <label>Length</label> <label>Bioreactor</label> <label>DNA</label> <label>Voice Actor</label>

<label>Debug Spawn</label> <format> </format> <label>Debug Spawn</label> <format> </format>

<group layout="horizontal"> <header>Food & Water</header> <label>Food</label> <label>H2O</label> <label>O2</label> </group> <group collapse="open" class="tab-eggs"> <header>Egg</header> <image source="image2"> </image> <label>Tab</label> <label>Description</label> <label>Biome</label> <label>Incubation</label> <label>Bioreactor</label>

<label>Debug Spawn</label> <format> </format>

</group> </infobox> Example usage:

{{Fauna
|title1            = Example Title
|image1            = Unknown.png
|caption1          = Example caption
|category          = Example category
|tab               = Example tab
|description       = Example description
|descriptioncooked = Example descriptioncooked
|descriptioncured  = Example descriptioncured
|inhabit           = Example inhabit
|attitude          = Example attitude
|health            = Example health
|damage            = Example damage
|juvenile_damage   = Example jDamage
|adult_damage      = Example aDamage
|drops             = Example drops
|perks             = Example perks
|biome             = Example biome
|active_during     = Example activeTime
|size              = Example size
|length            = Example len
|bioreactor2       = Example energyValue
|dna               = Example DNA
|voiceactor        = Example vActor
|debug_spawn       = Example spawn
|raw1              = Example foodValue (raw)
|cooked1           = Example foodValue (cooked)
|cured1            = Example foodValue (cured)
|raw2              = Example waterValue (raw)
|cooked2           = Example waterValue (cooked)
|cured2            = Example waterValue (cured)
|raw3              = Example O₂Value (raw)
|cooked3           = Example O₂Value (cooked)
|cured3            = Example O₂Value (cured)
|image3            = Unknowegg.png
|caption2          = Example caption for egg
|tab2              = Example egg tab
|description2      = Example egg description
|biome2            = Example egg biome
|incubation        = Example incubation
|bioreactor        = Example egg energyValue
|item_id           = Example eggID
}}

The above code results in: <infobox>

 <title source="title1" style="font-weight:bold; text-align:center;">
   <default>Fauna</default>
 </title>
 <image source="image1">

</image> <label>Category</label> <label>Tab</label> <label>Description</label> <label>Affiliation</label> <format></format> <label>Age</label> <label>Description when cooked</label> <label>Description when cured</label> <label>Inhabit</label> <label>Attitude</label> <label>Health</label> <label>Damage</label> <label>Adult Damage</label> <label>Juvenile Damage</label> <label>Drops</label> <label>Perks</label> <label>Biome</label> <label>Active During</label> <label>Size</label> <label>Length</label> <label>Bioreactor</label> <label>DNA</label> <label>Voice Actor</label>

<label>Debug Spawn</label> <format> </format> <label>Debug Spawn</label> <format> </format>

<group layout="horizontal"> <header>Food & Water</header> <label>Food</label> <label>H2O</label> <label>O2</label> </group> <group collapse="open" class="tab-eggs"> <header>Egg</header> <image source="image2"> </image> <label>Tab</label> <label>Description</label> <label>Biome</label> <label>Incubation</label> <label>Bioreactor</label>

<label>Debug Spawn</label> <format> </format>

</group> </infobox>