From Dark and Darker Wiki

(Initial commit)
 
mNo edit summary
 
Line 20: Line 20:
{{Iconbox|Healing Potion|rarity=5}}
{{Iconbox|Healing Potion|rarity=5}}
{{InfoboxTooltip|Healing Potion|rarity=4|caption=test}}
{{InfoboxTooltip|Healing Potion|rarity=4|caption=test}}
Please delete this page. It was made by a spelling error (capital T tip)


<templatedata>
<templatedata>

Latest revision as of 16:31, 3 February 2024


{{{name}}}
[[File:{{{name}}}.png|100x200px|link=]]



Please delete this page. It was made by a spelling error (capital T tip)

Creates an Iconbox with an Infobox Tooltip

Template parameters

ParameterDescriptionTypeStatus
Namename 1

Name of the character/item/weapon

Stringrequired
Rarityrarity

Options: -1, 1, 2, 3, 4, 5, 6, 7

Numbersuggested
Icon Sizeiconsize

Size with px to set width, eg. "30px" Size with xpx to set height, eg. "x30px"

Stringsuggested
Amountamount

Shows a number in the bottom right corner

Numberoptional
Image Overrideimage

If not set, uses the image that matches the name

Stringoptional
Caption Overridecaption

If not set, uses the name. Always links to the name. Use "no" to hide the caption

Stringsuggested
Top Texttop

Shown above the caption

Stringoptional
Prevent Line Breaksnobr

If enabled, removes the line break, putting the icon and text on a single line. Use 1 to enable.

Booleanoptional
Max Widthmaxwidth

If set, constrains the box to the specified width. Accepts any valid CSS width (60px, 60%). If not set, uses max-width:initial.

Example
60px
Stringoptional
Statsstats

Stats of the item

Example
Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
Stringsuggested
Enchantmentsenchantments

enchantments of the item if there is any

Stringoptional
Specialspecial

Special power of the item if there is any

Stringoptional
Effecteffect

effect of the item if there is any

Unknownoptional
Classesclasses

Classes of item

Stringsuggested
Slot Typeslottype

Slot type of item

Stringsuggested
Armor Typearmortype

Armor type of item

Stringoptional
Hand Typehandtype

handtype of item

Stringoptional
Weapon Typeweapontype

weapontype of item

Stringoptional
Utility Typeutilitytype

Utility type of item

Stringoptional
Action Timeactiontime

Action Time of item if there is any

Stringoptional
Attack Speedattackspeed

attackspeed of item

Stringoptional
Reload Speedreloadspeed

reloadspeed of item

Stringoptional
Quiver Sizequiversize

quiversize of item

Stringoptional
Combocombo

combo of item

Stringoptional
Combo Damagecombodamage

combodamage of item

Stringoptional
Spot Damagespotdamage

spotdamage of item

Stringoptional
Hitboxhitbox

hitbox of item

Stringoptional
Action Movement Speedactionmovementspeed

actionmovementspeed of item

Stringoptional
Descriptiondescription

Description of item if there is any

Stringoptional
nofloatnofloat

Whether the infobox floats right or not

Example
1
Stringoptional
nomarginnomargin

Whether to have margin on left or not

Example
1
Stringoptional
Infobox Image Sizesize

Size of the picture, default = 100x200px , 100x for width, 200px for height

Example
100x200px
Stringoptional