Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

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!}} = q1UTCMon, 19 Aug 2019 19:33:59 +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]