Difference between revisions of "Template:Infobox main/doc"
Jump to navigation
Jump to search
m (→Example #2) |
(Updated for changes in template.) |
||
Line 12: | Line 12: | ||
|placeable = Yes/No | |placeable = Yes/No | ||
|size = two values, separated by | - (1|2) | |size = two values, separated by | - (1|2) | ||
− | |hp = use for | + | |hp = use for objects that have hit points |
|beauty = use for beauty | |beauty = use for beauty | ||
− | | | + | |bodysize = required in order to display meat and leather yields |
− | |mobdamage = use for base attack damage ( | + | |healthscale = use for health scale (determines hit points for each body part) |
− | |mobdamage2 = use for secondary attack damage ( | + | |movepeed = use for base movement speed |
− | |speed = use for tiles | + | |mobdamage = use for base attack damage |
+ | |mobdamagetype = damage type (blunt, scratch, bite, etc) | ||
+ | |mobdamage2 = use for secondary attack damage | ||
+ | |mobdamagetype2 = damage type of secondary attack (blunt, scratch, bite, etc) | ||
+ | |mobdamage3 = as above for third attack | ||
+ | |mobdamagetype3 = as above for third attack | ||
+ | |leathername = use only if leather, skin, or fur is dropped when animal is butchered | ||
+ | |speed = use for tiles | ||
|time = use for plants lifespan (measured in days) | |time = use for plants lifespan (measured in days) | ||
|yield = use for food-plants | |yield = use for food-plants | ||
Line 62: | Line 69: | ||
|info = A large herding herbivore descended from buffalo and adapted for some exotic environment. Peaceful unless disturbed. | |info = A large herding herbivore descended from buffalo and adapted for some exotic environment. Peaceful unless disturbed. | ||
|type = Animals | |type = Animals | ||
− | | | + | |bodysize = 1.8 |
− | | | + | |healthscale = 1.5 |
− | | | + | |movepeed = 2.17 |
− | |mobdamage = | + | |mobdamage = 10 |
− | | | + | |mobdamagetype = blunt |
− | | | + | |leathername = muffalo leather |
}} | }} | ||
<div class="pull-left"><pre> | <div class="pull-left"><pre> | ||
Line 74: | Line 81: | ||
|image = Animal Muffalo side.png|200px{{!}}Muffalo | |image = Animal Muffalo side.png|200px{{!}}Muffalo | ||
|info = A large herding herbivore descended from buffalo and adapted for some exotic environment. Peaceful unless disturbed. | |info = A large herding herbivore descended from buffalo and adapted for some exotic environment. Peaceful unless disturbed. | ||
− | | | + | |bodysize = 1.8 |
− | | | + | |healthscale = 1.5 |
− | | | + | |movepeed = 2.17 |
− | + | |mobdamage = 10 | |
− | |mobdamage = | + | |mobdamagetype = blunt |
− | | | + | |leathername = muffalo leather |
− | | | ||
}}</pre></div> | }}</pre></div> | ||
{{clear}} | {{clear}} |
Revision as of 02:43, 16 August 2015
Usage
- Everything is optional;
- You can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
{{infobox main| (animal/plant/weapon/area/structure/building/security/furniture) - used for color theme | additional styles (optional) |name = use for item header |image = picture name.(jpg/png)| variables such as size, alt text (optional) |info = use for short description |type = use for main category |type2 = use for subcategory (optional) |placeable = Yes/No |size = two values, separated by | - (1|2) |hp = use for objects that have hit points |beauty = use for beauty |bodysize = required in order to display meat and leather yields |healthscale = use for health scale (determines hit points for each body part) |movepeed = use for base movement speed |mobdamage = use for base attack damage |mobdamagetype = damage type (blunt, scratch, bite, etc) |mobdamage2 = use for secondary attack damage |mobdamagetype2 = damage type of secondary attack (blunt, scratch, bite, etc) |mobdamage3 = as above for third attack |mobdamagetype3 = as above for third attack |leathername = use only if leather, skin, or fur is dropped when animal is butchered |speed = use for tiles |time = use for plants lifespan (measured in days) |yield = use for food-plants |wood = use for how much wood plants give when cut |power = use for power input/output (+/-) ## Don't copy this line ###Weapons part### |class = Neolithic/Modern/Advanced |damage = use for weapon damage |range = used for weapon range |minrange = used for weapon minimum range |area = used for explosive area ## Don't copy this line ###Weapon Accuracy### |accuracy = use for weapon accuracy (OUTDATED, USE THE NEW STUFF) |accuracyTouch = use for touch accuracy |accuracyShort = use for short range accuracy |accuracyMedium = use for medium range accuracy |accuracyLong = user for long range accuracy ## Don't copy this line ###Other weapon stats### |mode = Single-Shot/Burst |burst = shots per burst |warmup = use for warm-up time of weapon (in ticks) |cooldown = use for cooldown time of weapon (in ticks) |velocity = use for projectile velocity |missRadius = use for miss radius of weapon |blastRadius = use for blast radius of explosive weapons |DPS = use for DPS of weapon ## Don't copy this line ################## |buy = use for price {{icon|type|amount}} more info at Template:Icon |sell = use for price {{icon|type|amount}} more info at Template:Icon }}
Example #1
Muffalo
Base Stats
- Type
- Animals
Pawn Stats
- Health Scale
- 150% HP
- Body Size
- 1.8
- Mass - Baby
- 21.6 kg
- Mass - Juvenile
- 54 kg
- Mass - Adult
- 108 kg
- Carrying Capacity
- 135 kg
- Filth Rate
- 1
Production
- Leather Yield
- 72 muffalo leather
{{infobox main|animal|pull-left |name = Muffalo |image = Animal Muffalo side.png|200px{{!}}Muffalo |info = A large herding herbivore descended from buffalo and adapted for some exotic environment. Peaceful unless disturbed. |bodysize = 1.8 |healthscale = 1.5 |movepeed = 2.17 |mobdamage = 10 |mobdamagetype = blunt |leathername = muffalo leather }}
Example #2
Pistol
{{infobox main|weapon|pull-left |name = Pistol |image = Equipment Pistol.png|Pistol |type = Equipment{{!}}Equipment |type2 = Weapons{{!}}Weapons |info = "Ancient pattern automatic pistol. Weak and short range, but quick." |class = Modern |damage = 10 |range = 24 |accuracyTouch = 91 |accuracyShort = 71 |accuracyMedium = 50 |accuracyLong = 32 |mode = Single-Shot |warmup = 68 |cooldown = 40 |DPS = DPS |velocity = 55 |burst = 1 |buy = {{icon|silver|60}} }}