Difference between revisions of "Template:Parser hook"
From Mapping on MediaWiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 31: | Line 31: | ||
! style="padding: 0px; background: #{{BGColor01}}" | Max version: | ! style="padding: 0px; background: #{{BGColor01}}" | Max version: | ||
|- | |- | ||
− | | align="center" | + | | align="center" {{#if:{{{maximum version|}}}|style="background:red"}} | {{#if:{{{maximum version|}}}|<b>}} [[Has maximum version::{{{maximum version|still supported}}}]] {{#if:{{{maximum version|}}}|</b>}} |
|- | |- | ||
! style="padding: 0px; background: #{{BGColor01}}" | Function implementation: | ! style="padding: 0px; background: #{{BGColor01}}" | Function implementation: |
Latest revision as of 16:57, June 29, 2012
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 }}