Jump to content

Template:Creo

From Creopedia

This documentation is transcluded from Template:Creo/doc.

Output an infobox and set categories with Module:Creo.

Usage

By default, the template would retrieve the required data from Module:GameData using the page name.

{{Creo}}

The behavior can be overridden by specifying the name parameter.

{{Creo
|name = Deor
}}

The values displayed can be overridden by specifying the parameters as well.

{{Creo
|name = Deor
|height = 0.65
|weight = 25
|lifespan = 24
}}

TemplateData

Output an infobox and set categories for a Creo page

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the Creo. Default to the current page name.

Example
Deor
Stringoptional
Imageimage

Image of the Creo

Fileoptional
Heightheight

Height of the Creo in meters

Numberoptional
Weightweight

Weight of the Creo in meters

Numberoptional
Lifespanlifespan

Lifespan of the Creo in years

Numberoptional
Image offset topimageOffsetTop

Top offset for the image

Example
-2px
Stringoptional
Image offset bottomimageOffsetBottom

Bottom offset for the image

Example
-2px
Stringoptional
Image offset leftimageOffsetLeft

Left offset for the image

Example
-2px
Stringoptional
Image offset rightimageOffsetRight

Right offset for the image

Example
-2px
Stringoptional