Extension:ParserFunctions/Example

{{#expr: 1/6 round 5 }} = 0.16667

{{#if: {{{1|true}}} | yes | no}} = yes

{{#ifeq: {{{weapon|Axe}}} | Sword | You are prepared | You need a sword!}} = You need a sword!

{{#iferror: {{#time: qwerty}} | Error!}} = q3UTCWed, 28 Apr 2021 11:20:27 +00003021

{{#switch: sword | sword = weapon | axe = tool | #default = item}} = weapon

{{#time: g:i, j F Y (e) | 2000-01-10T02:00:30Z}} = 2:00, 10 January 2000 (UTC)

{{#titleparts: Main Page/Top section/video | 1 | 2}} = Top section

See also

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.