Difference between revisions of "ParserFunctions - Mediawiki"

From Help Wiki
m
Line 8: Line 8:
 
  <nowiki>{{ #time: "The month is" F }}</nowiki> → {{ #time: "The month is" F }}
 
  <nowiki>{{ #time: "The month is" F }}</nowiki> → {{ #time: "The month is" F }}
  
 +
{{Mediawiki Help}}
 
[[Category:Mediawiki]]
 
[[Category:Mediawiki]]

Revision as of 15:19, 15 April 2013

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.


Example:

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

Mediawiki Help