Difference between revisions of "Template:Documentation"

From Minetest Wiki
Jump to navigation Jump to search
m (Added languages box)
m (Updated documentation)
Line 15: Line 15:
 
===Customizing display===
 
===Customizing display===
 
Overrides exist to customize the output in special cases:
 
Overrides exist to customize the output in special cases:
* <nowiki>{{Documentation|heading=}}</nowiki>: change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.
+
* <nowiki>{{Documentation|heading=}}</nowiki>: change the text of the "Documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.
 +
* <nowiki>{{Documentation|content=}}</nowiki>: set the content of the documentation box.
  
 
== Disclaimer ==
 
== Disclaimer ==

Revision as of 06:05, 10 May 2017

Documentation icon.png Documentation
Languages Language: English • Bahasa Melayu
Lua logo.png This template uses Module:Documentation, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.

Usage

Customizing display

Overrides exist to customize the output in special cases:

  • {{Documentation|heading=}}: change the text of the "Documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.
  • {{Documentation|content=}}: set the content of the documentation box.

Disclaimer

Template:Documentation is based on mw:Template:Documentation, which is available under the Creative Commons Attribution-ShareAlike License.