ParserFunctions demo

From Notaclue Wiki
Extension demonstration (infobox template)
ParserFunctions
Documentation

on mediawiki.org

Maintained by WikiTeq?

No

Bundled Since version 1.18
Version

This wiki has the ParserFunctions extension installed, which adds a number of additional parser functions to those that MediaWiki provides by default (see documentation).

The additional parser functions include those dealing with logical expressions and comparisons, time and title handling, and (if enabled) additional string utilities. These can be combined with each other (and with other parser functions from both core and other extensions).

For example, each line in the table below uses a line similar to {{#ifeq: {{#time:l}} | Sunday | Yes | No }} (replacing "Sunday" for each day of the week) to create a table identifying the current day:

Is it currently... Answer:
Sunday No
Monday No
Tuesday No
Wednesday No
Thursday Yes
Friday No
Saturday No
Cookies help us deliver our services. By using our services, you agree to our use of cookies.