Difference between revisions of "ParserFunctions - Mediawiki"
From Help Wiki
m |
m (subst applied to Template:TwoColumn) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
+ | <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...}} | ||
− | See | + | See https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions for a complete description of functionality and syntax. |
Line 8: | Line 16: | ||
<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}} | ||
+ | |||
+ | <!-- 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