Template:Format item

From The Kodiak Republic Wiki

Template documentation (for the above template, sometimes hidden or invisible)

This template transforms a given item using a given template.

Usage

{{Format item|item=Item|template=TransformationTemplate|...}}

TransformationTemplate is called with the parameters that the item has been created with, plus any additional parameters passed to {{Format item}}. Contents of the item take precedence over the additional parameters, unless the parameter name is prepended with important . If the parameter name collides with the parameters of {{Format item}} itself, prepend it with param . There is no need to combine param and important , though.

It is also possible to transform multiple items at once, but not with this template.

Examples

Markup [[:Template: Renders as
[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

See also


Visit Template:Format item/doc to edit this text! (How does this work?)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.