Difference between revisions of "Template:Documentation"
Jump to navigation
Jump to search
m |
m (Moved category into doc content) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#invoke:Documentation|main}} | + | <includeonly>{{#invoke:Documentation|main |
+ | |default-heading=Documentation | ||
+ | |view-link-display=view | ||
+ | |edit-link-display=edit | ||
+ | |history-link-display=history | ||
+ | |purge-link-display=purge | ||
+ | |create-link-display=create | ||
+ | |transcluded-from-blurb=The above [[wikipedia:Wikipedia:Template documentation|documentation]] is [[wikipedia:Transclusion|transcluded]] from %s. | ||
+ | }}</includeonly><noinclude> | ||
+ | {{Documentation|content= | ||
+ | {{Languages}} | ||
+ | {{Lua|Documentation}} | ||
+ | |||
+ | ==Usage== | ||
+ | ===Customizing display=== | ||
+ | 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|content=}}</nowiki>: set the content of the documentation box. | ||
+ | |||
+ | == 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]. | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | }} | ||
+ | </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.