Jump to content

ထႅမ်းပလဵတ်ႉ:Format item

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး
Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းထႅမ်းပလဵတ်ႉ[တူၺ်း] [မႄးထတ်း] [ပိုၼ်း] [ၸၢင်း]

This template transforms a given item using a given template.

တၢင်းၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]
{{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 ထႅမ်းပလဵတ်ႉ:Pre-wrapand important , though.

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

တူဝ်ယၢင်ႇ

[မႄးထတ်းငဝ်ႈငႃႇ]

Markup Renders as
{{Format item
| item = {{Item|name=Tom|animal=မဵဝ်း}}
| template = Show pet
}}

Tom ၼႆႉ ပဵၼ် မဵဝ်း.

{{Format item
| item = {{Item|name=Tom|animal=မဵဝ်း}}
| template = Show pet
| legs = 4
}}

Tom ၼႆႉ ပဵၼ် မဵဝ်း ဢၼ်မီး 4 ၶႃ.

{{Format item
| item = {{Item|name=Tom|animal=မဵဝ်း}}
| template = Show pet
| param legs = 4
}}

Tom ၼႆႉ ပဵၼ် မဵဝ်း ဢၼ်မီး 4 ၶႃ.

{{Format item
| item = {{Item|name=Tom|animal=မဵဝ်း}}
| template = Show pet
| animal = dog
}}

Tom ၼႆႉ ပဵၼ် မဵဝ်း.

{{Format item
| item = {{Item|name=Tom|animal=မဵဝ်း}}
| template = Show pet
| important animal = မႃ
}}

Tom ၼႆႉ ပဵၼ် မႃ.