Template:Infobox Animal/doc: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
(Copy doc from sandbox page.)
 
m (Remove references to sandbox.)
Tag: 2017 source edit
 
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
This template can be used to grab details relevant to an [[Animals|animal]]. It formats the results into an [[:Category:Infobox Templates|infobox]]. [[Template:Infobox_Item]] will generate the following information, using the [[Module:Infobox Animal/sandbox]], and [[Module:AnimalData]].
This template can be used to grab details relevant to an [[Animals|animal]]. It formats the results into an [[:Category:Infobox Templates|infobox]]. [[Template:Infobox_Item]] will generate the following information, using the [[Module:Infobox Animal]], and [[Module:AnimalData]].


== Usage==
== Usage==
{{tlx|Infobox Animal/sandbox|''name''}}
{{tlx|Infobox Animal|''name''}}


=== Parameters ===
=== Parameters ===
Line 17: Line 17:


== Examples ==
== Examples ==
{{Infobox Animal/sandbox| name = Otter}}
{{Infobox Animal| name = Otter}}
{{Infobox Animal/sandbox| name = Wolf}}
{{Infobox Animal| name = Wolf}}
{{Infobox Animal/sandbox| name = Bison}}
{{Infobox Animal| name = Bison}}
{{doc/end}}
{{doc/end}}
<includeonly>[[Category:Infobox Templates]]</includeonly>
<includeonly>[[Category:Infobox Templates]]</includeonly>

Latest revision as of 19:23, 9 April 2022

Template:Doc/start This template can be used to grab details relevant to an animal. It formats the results into an infobox. Template:Infobox_Item will generate the following information, using the Module:Infobox Animal, and Module:AnimalData.

Usage[edit source]

{{Infobox Animal|name}}

Parameters[edit source]

name
The name of an animal. This pulls the data for that animal from Module:AnimalData

Infobox Properties[edit source]

If .name is found it will generate the following:

    |name = The name of an item.
More Information Coming Soon

Examples[edit source]

Otter
Water Animal
General
Health: 1.5
Idle Speed: 0.5 m/s
Eats: Clam, Salmon, Trout, Tuna, Urchin
Climb Height: 1.0 m
Carbon Released: 0.0 ppm
Hunting
Harvest Item: Otter Carcass
Flees: Yes
Fear Factor: 1.0
Flee Speed: 3.0 m/s
Attack Chance: 60 %
Attack Damage: 1.0
Detect Range: 5.0 m
Attack Range: 1.0 m


Wolf
Land Animal
General
Health: 4.0
Idle Speed: 0.5 m/s
Eats: Bison, Deer, Elk, Hare, Mountain Goat, Turkey
Climb Height: 1.0 m
Carbon Released: 0.0 ppm
Hunting
Harvest Item: Wolf Carcass
Flees: Yes
Fear Factor: 0.0
Flee Speed: 5.0 m/s
Attack Chance: 60 %
Attack Damage: 3.0
Detect Range: 12.5 m
Attack Range: 2.5 m


Bison
Land Animal
General
Health: 12.0
Idle Speed: 1.0 m/s
Eats: Big Bluestem, Bunchgrass, Common Grass, Switchgrass, Wheat
Climb Height: 1.0 m
Carbon Released: 0.2 ppm
Hunting
Harvest Item: Bison Carcass
Flees: Yes
Fear Factor: 0.6
Flee Speed: 4.0 m/s
Attack Chance: 60 %
Attack Damage: 1.0
Detect Range: 5.0 m
Attack Range: 1.0 m

Template:Doc/end