Difference between revisions of "ParserFunctions - Mediawiki"

From Help Wiki
Line 6: Line 6:
  <nowiki>{{ '''#time''': <tt>"The month is" F</tt> }}</nowiki> → {{ #time: "The month is" F }}
  <nowiki>{{ #time: "The month is" F }}</nowiki> → {{ #time: "The month is" F }}

Revision as of 11:40, 10 September 2007

The MediaWiki extension ParserFunctions is a collection of parser functions (note the difference between the name of the collection, and the general term). These parser functions have a hash character in front of the function name, so they typically have the syntax:

{{ #functionname: argument 1 | argument 2 | argument 3...}}

See http://meta.wikimedia.org/wiki/WM:PF for a complete description of functionality and syntax.


{{ #time: "The month is" F }} → The month is October