Dark and Light Wiki
m (→‎Example: Items shouldn't be lowercase)
CyrusTB (talk | contribs)
Line 18: Line 18:
 
| type = Category of item ex. Herbivore / Carnivore
 
| type = Category of item ex. Herbivore / Carnivore
 
| tameable = Yes or no
 
| tameable = Yes or no
  +
| transferable = Yes or no
 
| aggression= Passive, Neutrla or Aggressive
 
| aggression= Passive, Neutrla or Aggressive
 
| ar = Armor rating
 
| ar = Armor rating

Revision as of 13:19, 24 February 2021

Template-info.png Documentation

This is a custom tailored infobox with several fields. Some generic, some more elaborate. Specifically for beasts / Creatures

Usage

{{Infobox
| name      = Use {{BASEPAGENAME}} if it will be the page name
| image     = Uses [[File:]]
| imgcrop   = Uses {{Css Image crop}}

| health    = Health number -- Displays as an icon next to item image.
| damage    = Damage number -- Displays as an icon next to item image.
| stamina   = Stamina number -- Displays as an icon next to item image.

Deatils Header

| saddle    = What saddle is needed (If it can have a saddle)
| habitat   = Will eventually display a map.
| type      = Category of item ex. Herbivore / Carnivore
| tameable  = Yes or no
| transferable = Yes or no
| aggression= Passive, Neutrla or Aggressive
| ar        = Armor rating
| mr        = Magic resist rating

Information Header

| quest     = This creature is used in what quest
| desc      = Text Description (use {{quote}} in the ==Overview== for in game text)

Drops Infobox

| drops = List of items this creature drops when harvested after being killed. Use [[Template:Item icon]]

Harvests Infobox

| harvests = List of items this creature can harvests. Use [[Template:Item icon]]

Schematics Infobox

| recipes = List of items this creature can craft

Data Infobox

| id        = The creature id for console commands ex. 5
| spawn     = Console command to spawn this creature.
}}

Headers will display only when data under them are filled in.

Example

Infobox beast

Icon boar card.png

Health
300

Damage
55

Stamina
200

Details
Saddle
Habitat
Everywhere
Diet
Herbivore
Tameable
Yes
Aggression
Aggressive
Drops



Gathers







Schematics
(Hidden recipe)
Data
Creature ID
46


{{Infobox beast
| name     =  {{BASEPAGENAME}}
| image    = icon boar card.png
| health = 300
| dmg = 55
| stam = 200
| habitat = Everywhere
| type = Herbivore
| aggression = Aggressive
| tameable = Yes
| saddle = {{item icon|Boar Saddle|desc=y}}
| ar = 
| mr = 
| desc = 
| drops = {{item icon|Raw Meat|desc=y}}<br />{{item icon|Bones|desc=y}}<br />{{item icon|Hide|desc=y}}<br />{{item icon|Fur|desc=y}}
| harvests = {{item icon|Fungal Spores|desc=y}}<br />{{item icon|Blueberries|desc=y}}<br />{{item icon|Apples|desc=y}}<br />{{item icon|Grass|desc=y}}<br />{{item icon|Straw|desc=y}}<br />{{item icon|Wood|desc=y}}<br />{{item icon|Twine|desc=y}}<br />{{item icon|Whitecap Mushrooms|desc=y}}
| recipes = {{item icon|Fire Elemental Core|desc=y}} (Hidden recipe)
| id = 46
}}