Template:Infobox item/doc: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 34: Line 34:
"example": "36",
"example": "36",
"type": "number"
"type": "number"
},
"price": {
"label": "Price",
"description": "Base price",
"example": "100",
"suggested": true
},
},
"zoom": {
"zoom": {
Line 88: Line 82:
"description": {
"description": {
"label": "Description",
"label": "Description",
"description": "In-game item description",
"description": "In-game description (from tooltip)",
"example": "Looks like an old arcade joystick."
"example": "Looks like an old arcade joystick.",
"type": "string"
},
},
"userequirements": {
"userequirements": {
Line 159: Line 154:
"label": "Radiation defense",
"label": "Radiation defense",
"description": "Defense against radiation (poor quality)",
"description": "Defense against radiation (poor quality)",
"type": "number"
},
"articledescription": {
"label": "Article description",
"description": "In-game description (shows in article)"
},
"articlecontent": {
"label": "Article content",
"description": "Content for the article outside of the infobox"
},
"blockchance": {
"label": "Block chance",
"description": "Block chance of the item, in percent",
"example": "40",
"type": "number"
},
"buyprice": {
"label": "Buy price",
"description": "Base buying price",
"example": "100",
"type": "number"
},
"sellprice": {
"label": "Sell price",
"description": "Base selling price",
"example": "100",
"type": "number"
},
"critchance": {
"label": "Crit chance",
"description": "Chance of a critical hit",
"example": "20",
"type": "number"
"type": "number"
}
}
Line 168: Line 195:
"name",
"name",
"type",
"type",
"price",
"buyprice",
"sellprice",
"maxstack",
"maxstack",
"slot",
"slot",
Line 185: Line 213:
"zoom",
"zoom",
"range",
"range",
"critchance",
"blockchance",
"ammo",
"ammo",
"magazinecapacity",
"magazinecapacity",
Line 191: Line 221:
"defensepoison",
"defensepoison",
"defensefire",
"defensefire",
"defenseradiation"
"defenseradiation",
"articledescription",
"articlecontent"
]
]
}
}
Line 197: Line 229:


<includeonly>
<includeonly>
<!-- Template catergories go here -->
<!-- Template categories go here -->
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</includeonly>
</includeonly>

Latest revision as of 16:41, 28 May 2022

{{Infobox item}} is an infobox template for use in articles on items.

TemplateData

An infobox template for use in articles on items

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Imageimage

File name of the image of the item

Example
image.jpg
Filesuggested
Namename

Name of the item

Example
S&W Model 10
Stringrequired
Typetype

Type of the item (Weapon, Commodity)

Example
Weapon
Stringrequired
Buy pricebuyprice

Base buying price

Example
100
Numberoptional
Sell pricesellprice

Base selling price

Example
100
Numberoptional
Max stackmaxstack

Maximum stack size

Numberoptional
Slotslot

Equipment slot

Stringoptional
Descriptiondescription

In-game description (from tooltip)

Example
Looks like an old arcade joystick.
Stringoptional
Requirementsuserequirements

Requirements to use item

Example
Your Lumbering skill must be higher or equal than Beginner 5.
Stringoptional
Effectuseeffect

Use effect

Example
You gain Whetstone effect for 10m.
Stringoptional
Used forusedfor

Use case for a tool

Example
Mining
Stringoptional
Calibercaliber

Caliber of ammo

Example
18.5 mm
Stringoptional
Weapon typeweapontype

Type of a weapon (Revolver)

Example
Revolver
Stringoptional
Damagedamage

Physical damage of a weapon (poor quality)

Example
36
Numberoptional
Projectile damagedamageprojectile

Damage of firearms (poor quality)

Numberoptional
Piercing damagedamageignorearmor

Damage ignoring armor (poor quality)

Numberoptional
Poison damagedamagepoison

(poor quality)

Numberoptional
Fire damagedamagefire

(poor quality)

Numberoptional
Speedattackspeed

Attack speed of a weapon

Example
1.50
Numberoptional
Zoomzoom

Zoom of a weapon ("2" means "2x")

Example
2
Numberoptional
Rangerange

Range of a weapons, in meters

Example
150
Numberoptional
Crit chancecritchance

Chance of a critical hit

Example
20
Numberoptional
Block chanceblockchance

Block chance of the item, in percent

Example
40
Numberoptional
Ammoammo

Ammo type of a weapon

Example
.38 Special
Stringoptional
Magazine capacitymagazinecapacity

Magazine capacity of a weapon

Example
6
Unknownoptional
Defensedefense

Defense value of equipment (poor quality)

Example
6
Numberoptional
Projectile defensedefenseprojectile

Defense against projectiles (poor quality)

Numberoptional
Poison defensedefensepoison

Defense against poison (poor quality)

Numberoptional
Fire defensedefensefire

Defense against fire (poor quality)

Numberoptional
Radiation defensedefenseradiation

Defense against radiation (poor quality)

Numberoptional
Article descriptionarticledescription

In-game description (shows in article)

Unknownoptional
Article contentarticlecontent

Content for the article outside of the infobox

Unknownoptional


Cookies help us deliver our services. By using our services, you agree to our use of cookies.