24,539 ARTICLES
ON THIS WIKI

Template:LuaTemplate/doc


This template is used to mark templates as consisting mainly of a Lua module. It should be placed at the top of the template's /doc subpage.

When this template appears in Module namespace, a different message is displayed, containing a link back to the MediaWiki template. This allows module documentation subpages to be redirected to their MediaWiki counterparts while still displaying a meaningful message.

Syntax[edit]

{{LuaTemplate|<module name>|<template page name>}}

Examples[edit]

Lua Logo.svg This template is written in Lua. The full source code can be found at Module:LuaTemplate.
Lua Logo.svg This template is written in Lua. The full source code can be found at Module:Common.