MinetestWiki:Style Guide

Normal prose
Use paragraphs, represented in MediaWiki by two line breaks (i.e. hit enter twice), as opposed to single line breaks to separate text.

Don't put line breaks in the middle of a line in the source code. It might make it easier to read momentarily, but it has no real semantic meaning to the wiki, so there's no reason to do it.

Links and article names
Articles' names shouldn't all be capitalized. These aren't research papers or book titles, they're just pages to let people know what's happening in the project.

Source code
Indent source code with tab character.

Put spaces before and after binary operators, don't put spaces after unary operators

[casting]
add_item("listname", stack) →  (link points to EnvRef:add_item)

[InvRef]add_item("listname", stack) →  (link is made to point to InvRef:add_item)

You should use casting for those methods:

Description

 * — the most important variable in call

Do something.