Template:Parser hook

From Linux Web Expert

Revision as of 00:42, 11 October 2015 by >MWJames
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  • minimum version: The minimum version of SMW you need for this parser hook to work. Aka when it was added.
  • maximum version: The maximum version of SMW 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 unrecognised 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 unrecognised value results in the value "not specified".
  • description: a short text describing the function of the parser hook
  • name: the name of the hook, as called in the wiki text, including the # prefix. i.e. #set, #show, #ask, etc.

It is used via the parser hooks form, or directly, like this:

{{Parser hook
| component=Semantic MediaWiki
| minimum version=0.6
| maximum version=0.8
| parser function=Yes
| tag extension=No
| description=Formats coordinates
| name=#coord
}}

Template preview

Parser hook
not specified
Further Information
Provided by: Semantic MediaWiki
Minimum version: not specified
Maximum version: still supported
Function: unspecified
Tag: unspecified
Name:
Table of Contents