Difference between revisions of "Template:Documentation"

From Minetest Wiki
Jump to navigation Jump to search
m (Updated documentation)
m (Moved category into doc content)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
{{Documentation|content=
 
{{Documentation|content=
 
{{Languages}}
 
{{Languages}}
{{Lua}}
+
{{Lua|Documentation}}
  
 
==Usage==
 
==Usage==
Line 20: Line 20:
 
== Disclaimer ==
 
== Disclaimer ==
 
Template:Documentation is based on [[mw:Template:Documentation]], which is available under the [//creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike License].
 
Template:Documentation is based on [[mw:Template:Documentation]], which is available under the [//creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike License].
}}
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:48, 12 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.