Template:Doc: Difference between revisions

m (1 revision)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[Template:Documentation]]{{R from template shortcut}}
<includeonly>{{{{{|safesubst:}}}#invoke: documentation | create }}</includeonly><noinclude>
 
{{documentation}}
[[Category:Template documentation]]
<!-- Put categories/interwiki on the documentation page -->
[[Category:Wikipedia formatting and function templates]]

Latest revision as of 13:17, 3 August 2015

[view | edit | history | purge]Documentation
This template uses Module:Documentation, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

This template is used to automatically add base documentation templates and notes.

Usage

To use this template, type {{subst:doc}}. If not substituted, the page will get added to Category:Pages with templates requiring substitution

If the page is a doc page, and the content is not set, it will automatically add the preload content, including {{documentation header}}.

If the page is not a doc page, it will add {{documentation}}, and will pass on any arguments given to it. See Template:Documentation. If the content is not set, it will also add a note advising placing the categories and interwikis on the doc page.

[view | edit | history | purge]The above documentation is transcluded from Template:Doc/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis