Difference between revisions of "ParserFunctions - Mediawiki"
From Help Wiki
m (subst applied to Template:TwoColumn) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
− | Information on | + | <div class="container-fluid"> |
− | + | <div class="row"> | |
− | + | <div class="col-md-8"> | |
+ | <div class="lead"> | ||
+ | Information on using Parser Functions in Mediawiki. | ||
+ | </div> | ||
+ | |||
+ | 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...}} | {{ #functionname: argument 1 | argument 2 | argument 3...}} | ||
Line 10: | Line 15: | ||
'''Example:''' | '''Example:''' | ||
<nowiki>{{ #time: "The month is" F }}</nowiki> → {{ #time: "The month is" F }} | <nowiki>{{ #time: "The month is" F }}</nowiki> → {{ #time: "The month is" F }} | ||
− | + | ||
+ | |||
+ | <!-- end col-md-8 --> | ||
+ | </div> | ||
+ | <div class="col-md-1"></div> | ||
+ | <div class="col-md-3 sidebar"> | ||
{{Mediawiki Help}} | {{Mediawiki Help}} | ||
{{GetHelp}} | {{GetHelp}} | ||
− | + | ||
+ | <!-- end col-md-3--> | ||
+ | </div> | ||
+ | <!-- end row--> | ||
+ | </div> | ||
+ | <!-- end container--> | ||
+ | </div> | ||
+ | <!-- Generator=Template:TwoColumn --> | ||
+ | __NOTOC__ | ||
+ | __NOEDITSECTION__ | ||
[[Category:Mediawiki]] | [[Category:Mediawiki]] |
Latest revision as of 16:01, 14 August 2017
Information on using Parser Functions in Mediawiki.
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 https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions for a complete description of functionality and syntax.
Example:
{{ #time: "The month is" F }} → The month is November