Difference between revisions of "Template:Documentation"
Jump to navigation
Jump to search
m (Added languages box) |
m (Moved category into doc content) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
{{Documentation|content= | {{Documentation|content= | ||
{{Languages}} | {{Languages}} | ||
− | {{Lua}} | + | {{Lua|Documentation}} |
==Usage== | ==Usage== | ||
===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 " | + | * <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 == | ||
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
Language: | English • Bahasa Melayu |
---|
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.