Difference between revisions of "ParserFunctions - Mediawiki"

From Help Wiki
Line 3: Line 3:
  
 
See http://meta.wikimedia.org/wiki/WM:PF for a complete description of functionality and syntax.
 
See http://meta.wikimedia.org/wiki/WM:PF for a complete description of functionality and syntax.
<nowiki>{{ '''#time''': <tt>"The month is" F</tt> }}</nowiki> → {{ #time: "The month is" F }}
+
<nowiki>{{ '''#time''': <tt>"The month is" F</tt> }}</nowiki> → {{ #time: "The month is" F }}
  
 
[[Category:Mediawiki]]
 
[[Category:Mediawiki]]

Revision as of 11:39, 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''': <tt>"The month is" F</tt> }} → The month is March