Template:SHORTDESC/doc

< Template:SHORTDESC
Revision as of 06:14, 28 October 2018 by Ayzek (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error: Internal error: The interpreter exited with status 127.

Usage

Lua error: Internal error: The interpreter exited with status 127.

{{SHORTDESC}} is not actually a template, but instead is a magic word, meaning it is a feature of the MediaWiki software. When used, it sets the page's short description.

The purpose of the template is to ensure that if someone uses this magic word with a piped parameter, the template code will be invoked and it will not cause an error on the page. Parameter 1 will be used as the : parameter and other parameters will be discarded. This way, if someone mistakenly enters {{SHORTDESC|American actor}}, the template will change it to the correct {{SHORTDESC:American actor}}.

When a user mistakenly includes a pipe in a {{SHORTDESC}} call, the template code will add the page to the hidden category Category:Pages which use a template in place of a magic word. Pages in this category should be fixed by willing editors.

Tracking category