A Wiki in the Desert
Log in

Difference between revisions of "Template:TreeGroup"

From A Wiki in the Desert
m
m
Line 36: Line 36:
 
"type": "string",
 
"type": "string",
 
"suggested": true
 
"suggested": true
 +
},
 +
"width": {
 +
"type": "string",
 +
"label": "Width",
 +
"description": "If you want the images to be different sizes, do not provide the width parameter. Integer width in pixels; no 'px' suffix"
 
}
 
}
 
},
 
},

Revision as of 16:07, 18 February 2023


This template adds a skill infobox to the page and marks it as a group semantically.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the tree

Example
Royal Palm
Stringrequired
Woodwood

The volume of wood the tree produces

Example
4
Stringrequired
Rarityrarity

How rare the tree is

Example
Uncommon
Stringsuggested
Iconicon

The icon to show on the infobox

Example
Tree-4-RoyalPalm.png
Stringsuggested
Widthwidth

If you want the images to be different sizes, do not provide the width parameter. Integer width in pixels; no 'px' suffix

Stringoptional