Template:Parser hook

From Mapping on MediaWiki
Revision as of 16:55, June 29, 2012 by Jeroen De Dauw (Talk | contribs)

Jump to: navigation, search

This is the 'Parser hook' template, used on Parser hook documentation pages. The template takes the following parameters:

  • minimum version: The minimum version of Maps or Semantic Maps you need for this parser hook to work. Aka when it was added.
  • maximum version: The maximum version of Maps or Semantic Maps you need for this parser hook to work. Aka when it was removed. Blank when still in use.
  • parser function: If the parser hook has a parser function implementation or not. The only values that the template accepts are: Yes,yes,y,No,no,n. An empty or unrecognized value results in the value "not specified".
  • tag extension: If the parser hook has a tag extension implementation or not. The only values that the template accepts are: Yes,yes,y,No,no,n. An empty or unrecognized value results in the value "not specified".
  • description: a short text describing the function of the parser hook

It is used like this:

{{Parser hook
| minimum version=0.6
| maximum version=0.8
| parser function=Yes
| tag extension=No
| description=Formats coordinates
}}