Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
development:wiki [2020/01/24 21:42] – external edit 127.0.0.1 | development:wiki [2021/07/12 18:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Wiki guideline for editors | + | ====== Wiki Guidelines |
- | First of all, thank you for your efforts to make this wiki better. Seriously, with a lot of blocks and items it is near to impossible for developers to keep wiki up-to-date. | + | First of all, thank you for your efforts to make this wiki better. Seriously, with a lot of blocks and items it is near to impossible for developers to keep wiki up-to-date. |
- | \\ | + | |
- | ===== Wiki Structure ===== | + | |
- | In order to have breadcrumbs we have 3 major sections: Items, Blocks and Energy. While Energy section contains information about blocks it servers purpose to not bloat Blocks section too much. | + | |
- | This approach introduce kind of burden to create page for a particular block or item twice. First page - with content with one of above mentioned major section. Second page is redirect required by plugins used to help with items and recipes. | + | |
- | ===== MC specific plugins | + | See our **[[development: |
- | Couple words about these specific | + | |
+ | ==== Wiki Structure | ||
+ | In order to have breadcrumbs we have 3 major sections: | ||
+ | **Energy** - Any item or block that uses power. Including cables, generators, batteries, machines, and powered tools.\\ | ||
+ | **Items** - Non-power related items. Including cells, dusts, ingots, parts, etc.\\ | ||
+ | **Blocks** - Non-power related blocks. Including ores, machine frames/ | ||
+ | |||
+ | Each item or block will require two pages:\\ | ||
+ | 1. A redirect page at its // | ||
+ | 2. A content page in one of the three sections above | ||
+ | ==== Syntax | ||
+ | Here are some syntax examples for the two [P]lugins that provide extra Minecraft-specific | ||
+ | |||
+ | < | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | <pane id=" | ||
+ | === Minecraft Items Plugin ==== | ||
+ | **Allows you to insert a fancy link to a block or item**\\ | ||
- | 1) Minecraft item plugin allows you to insert fancy link to block or item. | ||
Syntax: | Syntax: | ||
< | < | ||
- | namespace is either | + | '' |
- | \\ | + | '' |
- | item_name is a registry name for an item. Same as in .json recipes, for example. Or in advanced tooltip withing MC. | + | |
- | \\ | + | |
- | Plugin will automatically generate link to a page like mods: | + | |
- | Redirect syntax for items is: | + | |
- | < | + | |
- | Replace " | + | |
- | 2) Minecraft recipe | + | Example: |
- | Syntax: | + | < |
+ | < | ||
+ | < | ||
+ | </ | ||
+ | Produces: | ||
+ | < | ||
+ | < | ||
+ | |||
+ | <callout type=" | ||
+ | If this produces something that is grammatically incorrect //(maybe you need plural or want " | ||
+ | </ | ||
+ | |||
+ | This will automatically generate a link to the page '' | ||
+ | That page requires a redirect to the page with real content following wiki structure.\\ | ||
+ | |||
+ | <callout type=" | ||
+ | **There should be no content besides redirects under the '' | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <pane id=" | ||
+ | === Minecraft | ||
+ | Allows for pretty formatted recipes. | ||
+ | |||
+ | < | ||
+ | <recipe> | ||
+ | size 3x3 | ||
+ | input air air air | ||
+ | input air minecraft: | ||
+ | input air minecraft: | ||
+ | output minecraft: | ||
+ | tool minecraft: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | size 3x3 | ||
+ | input air air air | ||
+ | input air minecraft: | ||
+ | input air minecraft: | ||
+ | output minecraft: | ||
+ | tool minecraft: | ||
+ | </ | ||
+ | |||
+ | == Attributes == | ||
+ | |||
+ | ^ Attribute ^ Default Value ^ Allowed Values ^ Description ^ | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | <callout type=" | ||
+ | === Specifying Quantities === | ||
+ | |||
+ | Both commands '' | ||
+ | < | ||
+ | wiki_page, | ||
+ | |||
+ | minecraft: | ||
+ | minecraft: | ||
+ | </ | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | Note that tool also takes an item stack as an argument, but it will ignore any amounts. | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Additional Examples === | ||
+ | |||
+ | < | ||
+ | < | ||
+ | input air minecraft: | ||
+ | input minecraft: | ||
+ | input minecraft: | ||
+ | output techreborn: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | input air minecraft: | ||
+ | input minecraft: | ||
+ | input minecraft: | ||
+ | output techreborn: | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | Example furnace recipe (note: size and tool are optional): | ||
< | < | ||
< | < | ||
Line 31: | Line 131: | ||
</ | </ | ||
</ | </ | ||
- | where size and tool are optional | + | Produces: |
+ | < | ||
+ | size 1x1 | ||
+ | input minecraft: | ||
+ | output minecraft: | ||
+ | tool minecraft: | ||
+ | </ | ||
+ | </ | ||
+ | <pane id=" | ||
+ | === Manual Links === | ||
+ | Images and links can also be specified manually using this format: | ||
+ | < | ||
+ | Which produces: {{: | ||
+ | For a plain in-line link to a page you could use: < | ||
+ | Which would produce [[mods: | ||
+ | |||
+ | <callout type=" | ||
+ | Use links with images wherever it makes sense. You can use an image for non-item pages too, like an Insulated Copper Cable image {{: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <pane id=" | ||
+ | === Redirects === | ||
+ | <callout icon=" | ||
+ | Redirect syntax for items is: | ||
+ | < | ||
+ | Where '' | ||
+ | Namespaces can also be nested, like < | ||
+ | **Contextual example: | ||
+ | On the page '' | ||
+ | === Vanilla Redirects === | ||
+ | Also works for external links for vanilla items, for example: | ||
+ | < | ||
+ | </ | ||
+ | </ |