Minecraft Wiki
Advertisement

Proposed new version

Currently the template uses basic {{#switch:...}} which is a bit speghetti-like and is not very flexible.

I have created a new version using {{#var:...}}, {{padleft:...}} and {{#expr:...}}: User:Leduyquang753/NewOutdent.

It functions almost as the same as before, the only difference is when {{{1}}} is not a number, the outdent length will be the length of it instead.

The new version is fully backward-compatible.

Lê Duy Quang (Make some words | Contributions) at 10h21:20 | 2/10/2019 (UTC)

Advertisement