Template:Format item/doc

From blackwiki
< Template:Format item
Revision as of 03:12, 14 December 2015 by imported>Petr Matas (Created page with '{{Documentation subpage}} {{lua|Module:Item}} This template transforms a given Template:item using a given template. == Usage == {{((}}Format item | item...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template transforms a given item using a given template.

Usage

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

TransformationTemplate is called with the arguments that the item has been created with.

Example
Code Result
{{Format item
| item = {{Item|name=Tom|animal=cat|legs=4}}
| template = Show pet
}}
Lua error: expandTemplate: template "Show pet" does not exist.

See also