Template:Fauna: Difference between revisions
(Undo revision 162862 by InternetsLIVE (talk)) Tag: sourceedit |
No edit summary Tag: 2017 source edit |
||
(46 intermediate revisions by 14 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 20: | Line 36: | ||
<data source="attitude"> |
<data source="attitude"> |
||
<label>Attitude</label> |
<label>Attitude</label> |
||
</data> |
|||
<data source="health"> |
|||
<label>Health</label> |
|||
</data> |
</data> |
||
<data source="damage"> |
<data source="damage"> |
||
<label>Damage</label> |
<label>Damage</label> |
||
</data> |
|||
<data source="adult_damage"> |
|||
<label>Adult Damage</label> |
|||
</data> |
|||
<data source="juvenile_damage"> |
|||
<label>Juvenile Damage</label> |
|||
</data> |
</data> |
||
<data source="drops"> |
<data source="drops"> |
||
Line 38: | Line 63: | ||
<data source="size"> |
<data source="size"> |
||
<label>Size</label> |
<label>Size</label> |
||
</data> |
|||
<data source="length"> |
|||
<label>Length</label> |
|||
</data> |
</data> |
||
<data source="bioreactor2"> |
<data source="bioreactor2"> |
||
Line 45: | Line 73: | ||
<label>DNA</label> |
<label>DNA</label> |
||
</data> |
</data> |
||
<data source=" |
<data source="voiceactor"> |
||
<label>Voice Actor</label> |
|||
</data> |
|||
<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> |
<header>Food & Water</header> |
||
<data source=" |
<data source="food"> |
||
<label> |
<label>Food</label> |
||
</data> |
</data> |
||
<data source=" |
<data source="water"> |
||
<label> |
<label>H<sub>2</sub>O</label> |
||
</data> |
</data> |
||
<data source=" |
<data source="oxygen"> |
||
<label> |
<label>O<sub>2</sub></label> |
||
</data> |
</data> |
||
</group> |
</group> |
||
<group collapse="open" class="tab-eggs"> |
<group collapse="open" class="tab-eggs"> |
||
Line 92: | Line 136: | ||
<label>Bioreactor</label> |
<label>Bioreactor</label> |
||
</data> |
</data> |
||
<data source=" |
<data source="debugspawn2"> |
||
<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 99: | Line 154: | ||
<noinclude> |
<noinclude> |
||
Example usage:<pre> |
Example usage:<pre> |
||
{{ |
{{Fauna |
||
|title1=Example |
|title1 = Example Title |
||
|image1= |
|image1 = Unknown.png |
||
|caption1=Example |
|caption1 = Example caption |
||
|category=Example |
|category = Example category |
||
|tab=Example |
|tab = Example tab |
||
|description=Example |
|description = Example description |
||
|descriptioncooked = Example descriptioncooked |
|||
|attitude=Example |
|||
|descriptioncured = Example descriptioncured |
|||
|biome=Example |
|||
| |
|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 |
|||
}} |
}} |
||
</pre> |
</pre> |
||
The above code results in: |
|||
{{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 |
|||
|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 |
|||
|voiceactress = Example vActress |
|||
|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) |
|||
|image2 = 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 |
|||
}} |
|||
</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>- {{#explode:{{{debugspawn}}}||0}}
- {{#explode:{{{debugspawn}}}||1}}
- {{#explode:{{{debugspawn}}}||2}}
- {{#explode:{{{debugspawn}}}||3}}
- {{#explode:{{{item_id}}}||0}}
- {{#explode:{{{item_id}}}||1}}
- {{#explode:{{{item_id}}}||2}}
- {{#explode:{{{item_id}}}||3}}
<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>- {{#explode:{{{debugspawn2}}}||0}}
- {{#explode:{{{debugspawn2}}}||1}}
- {{#explode:{{{debugspawn2}}}||2}}
- {{#explode:{{{debugspawn2}}}||3}}
</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>- {{#explode:{{{debugspawn}}}||0}}
- {{#explode:{{{debugspawn}}}||1}}
- {{#explode:{{{debugspawn}}}||2}}
- {{#explode:{{{debugspawn}}}||3}}
- {{#explode:Example eggID||0}}
- {{#explode:Example eggID||1}}
- {{#explode:Example eggID||2}}
- {{#explode:Example eggID||3}}
<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>- {{#explode:{{{debugspawn2}}}||0}}
- {{#explode:{{{debugspawn2}}}||1}}
- {{#explode:{{{debugspawn2}}}||2}}
- {{#explode:{{{debugspawn2}}}||3}}
</group> </infobox>