User:Gerrie333

From Better Than Wolves Wiki
Jump to: navigation, search

new wiki editing guide and useable templates :) also used to track my current progress

Main Templates

The wiki uses 3 different templates: Blocks, Items and Entities. Each template uses the Infobox Common template as a base and adds attributes specifically meant for their specific subject, like flammability for blocks, armor or food points for items and health for entities. The templates have the following usable parameters

Block Template

Example
Grass Block.png
Grass

Type

Example

Stackable

Example

Tool

Example

First Appearance

Example

Gravity

Example

Luminance

Example

Flammable

Example

Data Value

Example

{{Block
|title=Example
|image=Grass Block.png
|invimage1=Grass
|type=Example
|stackable=Example
|tool=Example
|firstver=Example
|gravity=Example
|light=Example
|flammable=Example
|data=Example
}}
Parameter Function Default Example value
title Name of the block which gets shown at the top of the infobox {{BASEPAGENAME}} End Stone
image Picture that gets shown. It's always displayed at 150px. {{{title}}}.png Item Glowstone.png
invimage1 Shows you what the block looks like in the player's inventory. Uses the Grid2 template. None Diamond Pickaxe
type The sub-group of blocks this block belongs to like aesthetic, ore, building...  ? Ore
stackable The maximum amount of the item you can have in a single slot.  ? Yes(16)
tool The specific tool/type of tool you use to effectively break this block. (should use Grid2 too tbh) None Shovel
firstver The first version this block appeared. Should only be used for BTW blocks, not vanilla ones. None 4.A9 Pustules Lancing
gravity If the block falls, breaks or stays in the air when the block below it is removed. None Breaks
light The light level this block emits when placed in darkness. None 12
flammable Whether this block will light on fire or not when placed too close to a torch, lava, fire... None Yes
data The ID of the block aka the number you type with the /give command to give yourself this block. None 189

Item Template

Example
Item Painting.png
Cooked Porkchop

Type

Example

Stackable

Example

Damage

Example

Protection

Example x ArmorFull.png

Durability

Example

First Appearance

Example

Filtering

YYYYYY

Buoyancy

{{{buoy}}}

Gravity

{{{gravity}}}

Flammable

{{{flammable}}}

Data Value

Example

{{Item
|title=Example
|image=Item Painting.png
|invimage1=Cooked Porkchop
|type=Example
|stackable=Example
|damage=Example
|protection=Example
|durability=Example
|firstver=Example
|filters=YYYYYY
|buoyancy=Example
|data=Example
}}
Parameter Function Default Example value
title Name of the item which gets shown at the top of the infobox {{BASEPAGENAME}} Haft
image Picture that gets shown. It's always displayed at 150px. {{{title}}}.png Item Carrot.png
invimage1 Shows you what the item looks like in the player's inventory. Uses the Grid2 template. None Diamond Pickaxe
type The sub-group of items this item belongs to like weapons, food, crafting...  ? Armor
stackable The maximum amount of the item you can have in a single slot.  ? Yes(64)
damage The amount of damage this item will deal in hearts when a mob or player is hit with it (only for weapons) None 3.5
protection The amount of protection this item offers when equipped(only for armor). None 2.5
durability The amount of uses this item has before breaking. None 167
firstver The first version this item appeared. Should only be used for BTW blocks, not vanilla ones. None 4.B0000003
filters Which Hopper filters this item can pass through. None NNYYNN
buoyancy What this item will do when dropped in a body of water None Swims
data The ID of the item aka the number you type with the /give command to give yourself this item. None 216

Entity Template

Example
Pig.png


Type

Example

Health points

Example

Armor points

Example

Attack strength

Example

Spawn

Example

Drops

Example

Rare drops

Example

Experience

Example

{{Entity
|title=Example
|image=Pig.png
|type=Example
|health=Example
|armor=Example
|damage=Example
|spawn=Example
|drops=Example
|raredrops=Example
|exp=Example
}}
Parameter Function Default Example value
title Name of the entity which gets shown at the top of the infobox {{BASEPAGENAME}} Pig
image Picture that gets shown. It's always displayed at 150px. {{{title}}}.png BabyPig.png
type The sub-group of entities this entity belongs to like passive, neutral, boss...  ? Hostile
health The amount of damage the entity can take before dying. (needs icon) None 8
armor The amount of damage resistance the entity has. (also needs icon) None 5
damage The amount of damage the entity deals to a player without armor or to other mobs. None 3.5
spawn The block the mob will spawn on and/or the conditions needed for spawning. None Netherrack, lightlevel under 7
drops The items this entity will most commonly drop. (Should use Grid template) None Leather
raredrops The item this entity has low odd of dropping like scrolls. (Should also use Grid template) None Mysterious Gland, Arcane Scroll
exp The amount of experience this entity drops upon being killed. (also also needs icon) None 3-10

Other Templates

Itemlink Template and Navboxes