Template:LuaTemplate

From ATLauncher Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)

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]

  • {{LuaTemplate}} gives
Lua Logo.svg This template is written in Lua. The full source code can be found at Module:LuaTemplate.
  • {{LuaTemplate|Module:Common}} gives
Lua Logo.svg This template is written in Lua. The full source code can be found at Module:Common.
Visit Template:LuaTemplate/doc to change this text! (How does this work?)

Done making changes? Refresh this text! (Why?)