Template:Infobox consumable: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
Line 17: Line 17:
|-
|-
| class="infobox-texttitle" | Heals/sec
| class="infobox-texttitle" | Heals/sec
| class="infobox-text" style="white-space: nowrap;" | {{{heals|}}}
| class="infobox-text" | {{{heals|}}}
|-
|-
| class="infobox-texttitle" | Craftable
| class="infobox-texttitle" | Craftable

Revision as of 13:42, 13 May 2021

[[Image:|class=infobox-image|50px|link=]]
Statistics
Type
Quality
Heals/sec
Craftable
Technical Information
.vox File
.ron File

An infobox template used for all types of consumables in Veloren.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

The image of the consumable. Image is resized to 50px.

Default
image.png
Example
apple.png
Filerequired
Titletitle

The name of the consumable in English.

Example
Apple
Stringrequired
Descriptiondescription

The description of the consumable as given on the tooltip when you hover over it. Place it in " ".

Example
"Red and Juicy"
Auto value
""
Stringrequired
Typetype

The type of consumable.

Example
Basic
Auto value
Stringrequired
Qualityquality

The quality colour of the consumable.

Example
{{Common}}
Auto value
{{}}
Templaterequired
Heals/secheals

How much the consumable heals per second as given on the tooltip.

Example
Heals 10 [[Image:health.png]] over 10 seconds.
Auto value
[[Image:health.png]]
Unknownrequired
Is Craftablecraftable

Is this item craftable. Yes/No

Example
Yes
Booleanrequired
.vox Filevox

The file link as linked on gitlab.com/veloren/veloren. Place the link in the [[]] and add a space after the url with the text you want to display in the infobox.

Example
[[www.veloren.net Veloren]]
Auto value
[[]]
URLsuggested
.ron Fileron

The gitlab link to the .ron file. Place the url in the [[]] with a space after the text. Then add what you want to show in the infobox.

Example
[[www.veloren.net Veloren]]
Auto value
[[]]
URLsuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.