Template:Fauna: Difference between revisions

From Subnautica Wiki
No edit summary
Tag: sourceedit
No edit summary
Tag: 2017 source edit
 
(26 intermediate revisions by 11 users not shown)
Line 14: Line 14:
<data source="description">
<data source="description">
<label>Description</label>
<label>Description</label>
</data>
<data source="affiliation">
<label>Affiliation</label>
<format>{{#ifeq: {{TestInput|{{{affiliation|}}}}}
| passed
| {{{affiliation}}}
}}</format>
</data>
<data source="age">
<label>Age</label>
</data>
<data source="descriptioncooked">
<label>Description when cooked</label>
</data>
<data source="descriptioncured">
<label>Description when cured</label>
</data>
</data>
<data source="inhabit">
<data source="inhabit">
Line 22: Line 38:
</data>
</data>
<data source="health">
<data source="health">
<label>Health</label>
<label>Health</label>
</data>
</data>
<data source="damage">
<data source="damage">
Line 57: Line 73:
<label>DNA</label>
<label>DNA</label>
</data>
</data>
<data source="voiceactress">
<label>Voice Actress</label>
</data>
<data source="voiceactor">
<data source="voiceactor">
<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>
<group collapse="open" class="tab-eggs">
<group collapse="open" class="tab-eggs">
Line 110: 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 117: 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
|caption1 = Example caption
|caption1 = Example caption
|category = Example category
|category = Example category
|tab = Example tab
|tab = Example tab
|description = Example description
|description = Example description
|inhabit = Example inhabit
|descriptioncooked = Example descriptioncooked
|attitude = Example attitude
|descriptioncured = Example descriptioncured
|health = Example health
|inhabit = Example inhabit
|damage = Example damage
|attitude = Example attitude
|juvenile_damage = Example jDamage
|health = Example health
|adult_damage = Example aDamage
|damage = Example damage
|drops = Example drops
|juvenile_damage = Example jDamage
|perks = Example perks
|adult_damage = Example aDamage
|biome = Example biome
|drops = Example drops
|active_during = Example activeTime
|perks = Example perks
|size = Example size
|biome = Example biome
|length = Example len
|active_during = Example activeTime
|bioreactor2 = Example energyValue
|size = Example size
|dna = Example DNA
|length = Example len
|voiceactor = Example vActor
|bioreactor2 = Example energyValue
|voiceactress = Example vActress
|dna = Example DNA
|debug_spawn = Example spawn
|voiceactor = Example vActor
|raw1 = Example foodValue (raw)
|debug_spawn = Example spawn
|cooked1 = Example foodValue (cooked)
|raw1 = Example foodValue (raw)
|cured1 = Example foodValue (cured)
|cooked1 = Example foodValue (cooked)
|raw2 = Example waterValue (raw)
|cured1 = Example foodValue (cured)
|cooked2 = Example waterValue (cooked)
|raw2 = Example waterValue (raw)
|cured2 = Example waterValue (cured)
|cooked2 = Example waterValue (cooked)
|image2 = Unknowegg.png
|cured2 = Example waterValue (cured)
|caption2 = Example caption for egg
|raw3 = Example O₂Value (raw)
|tab2 = Example egg tab
|cooked3 = Example O₂Value (cooked)
|description2 = Example egg description
|cured3 = Example O₂Value (cured)
|biome2 = Example egg biome
|image3 = Unknowegg.png
|incubation = Example incubation
|caption2 = Example caption for egg
|bioreactor = Example egg energyValue
|tab2 = Example egg tab
|item_id = Example eggID
|description2 = Example egg description
|biome2 = Example egg biome
|incubation = Example incubation
|bioreactor = Example egg energyValue
|item_id = Example eggID
}}
}}
</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
|caption1 = Example caption
|caption1 = Example caption
|category = Example category
|category = Example category
|tab = Example tab
|tab = Example tab
|description = Example description
|description = Example description
|inhabit = Example inhabit
|descriptioncooked = Example descriptioncooked
|attitude = Example attitude
|descriptioncured = Example descriptioncured
|damage = Example damage
|inhabit = Example inhabit
|juvenile_damage = Example jDamage
|attitude = Example attitude
|adult_damage = Example aDamage
|damage = Example damage
|drops = Example drops
|juvenile_damage = Example jDamage
|perks = Example perks
|adult_damage = Example aDamage
|biome = Example biome
|drops = Example drops
|active_during = Example activeTime
|perks = Example perks
|size = Example size
|biome = Example biome
|length = Example len
|active_during = Example activeTime
|bioreactor2 = Example energyValue
|size = Example size
|dna = Example DNA
|length = Example len
|voiceactor = Example vActor
|bioreactor2 = Example energyValue
|voiceactress = Example vActress
|dna = Example DNA
|debug_spawn = Example spawn
|voiceactor = Example vActor
|raw1 = Example foodValue (raw)
|voiceactress = Example vActress
|cooked1 = Example foodValue (cooked)
|debug_spawn = Example spawn
|cured1 = Example foodValue (cured)
|raw1 = Example foodValue (raw)
|raw2 = Example waterValue (raw)
|cooked1 = Example foodValue (cooked)
|cooked2 = Example waterValue (cooked)
|cured1 = Example foodValue (cured)
|cured2 = Example waterValue (cured)
|raw2 = Example waterValue (raw)
|image2 = Unknowegg.png
|cooked2 = Example waterValue (cooked)
|caption2 = Example caption for egg
|cured2 = Example waterValue (cured)
|tab2 = Example egg tab
|raw3 = Example O₂Value (raw)
|description2 = Example egg description
|cooked3 = Example O₂Value (cooked)
|biome2 = Example egg biome
|cured3 = Example O₂Value (cured)
|image2 = Unknowegg.png
|incubation = Example incubation
|bioreactor = Example egg energyValue
|caption2 = Example caption for egg
|item_id = Example eggID
|tab2 = Example egg tab
|description2 = Example egg description
|biome2 = Example egg biome
|incubation = Example incubation
|bioreactor = Example egg energyValue
|item_id = Example eggID
}}
}}
</noinclude>
</noinclude>

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>