Minecraft Wiki
Advertisement
Minecraft Wiki
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.png
This template uses Module:Documentation, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

For templates, insert <noinclude>{{subst:doc}}</noinclude> at the end of the template, then save the page, this will place {{documentation}} and a comment advising editors where to place categories and interwiki links. For other types of pages, the documentation template should already be there.

Click "create" at the top of the page and the documentation page will be opened with some pre-formatting. This formatting can also be created by using {{subst:doc}} on the documentation page.

Documentation pages will automatically be added to Category:Documentation pages. Using {{doc}} without subst: will add the page to Category:Pages with templates requiring substitution.

Optional parameters

This parameters can either be added to the {{subst:doc}} template when creating the page, or added to the {{documentation}} template afterwards.

type

Sets the "type" of documentation this is, e.g. template, module, message, etc. This will be used as part of some messages the template might display, as well as categorisation.

The type is automatic based on the namespace, so it shouldn't generally need to be set.

page

The page where the documentation should be. This defaults to a subpage of the current page called "doc".

content

Allows documentation content to be specified directly, rather than on a separate sub-page. Useful for small page-specific sub-page templates, e.g. Explosion/table.

nodoc

If a template has no documentation and you don't know how to use it, add nodoc=1 to the documentation template on the documentation page. The documentation's background will become red to make it more noticeable, and the page will be added to a category depending on the type of page.

  • Category:Templates with no documentation
  • Category:Modules with no documentation
  • Category:Widgets with no documentation

This is automatically set if the documentation page doesn't exist or is empty, so this generally isn't necessary to set.

baddoc

Similar to nodoc, this is used to mark templates that do have documentation, but it isn't very good. This can mean it doesn't have enough examples, doesn't explain all the functions properly, or doesn't explain the point of the template properly. The documentation's background will become yellow to make it more noticeable, and the page will be added to a category depending on the type of page.

  • Category:Templates with bad documentation
  • Category:Modules with bad documentation
  • Category:Widgets with bad documentation
Advertisement
https://minecraft.fandom.com/cs/wiki/%C5%A0ablona:Documentation/doc
minecraft.fandom.com
crawl=CC-MAIN-2021-43
326458
application/http; msgtype=response
sha1:HSDG2V2LAVYTLT6C3BCW66FWCBZCZ6WM
<urn:uuid:3309ffec-78da-49e0-83a9-cacf1b80badf>
2021-10-21T21:44:59Z
151.101.128.194
text/html
sha1:GRJRHUKP66UGCMBKUUNIDRTAPZEDUHO5
<urn:uuid:ae1056c5-5085-43a2-9d85-41a366fc2815>
https://minecraft.fandom.com/cs/wiki/%C5%A0ablona:Documentation/doc
response
<urn:uuid:378e5f13-62a7-4f72-a041-4c3b1a34fb9c>
isPartOf: CC-MAIN-2021-43
publisher: Common Crawl
description: Wide crawl of the web for October 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-40
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/