Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Extension:ParserFunctions/Example

From Gamepedia Help Wiki
Jump to: navigation, search

{{#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!}} = q4UTCThu, 05 Dec 2019 23:40:56 +00003119

{{#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[edit | edit source]