Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
development:wiki [2021/06/21 12:50] – [Minecraft Recipes] switch to recipe with air as better example wdavery | development:wiki [2021/07/12 18:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Wiki Guidelines | + | ====== 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 | + | See our **[[development: |
+ | |||
+ | ==== Wiki Structure ==== | ||
In order to have breadcrumbs we have 3 major sections:\\ | 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.\\ | **Energy** - Any item or block that uses power. Including cables, generators, batteries, machines, and powered tools.\\ | ||
Line 11: | Line 13: | ||
1. A redirect page at its // | 1. A redirect page at its // | ||
2. A content page in one of the three sections above | 2. A content page in one of the three sections above | ||
- | ===== Plugins ===== | + | ==== Syntax |
- | There are two plugins | + | Here are some syntax examples for the two [P]lugins |
- | ==== Minecraft Items ==== | + | < |
- | Allows you to insert a fancy link to a block or item | + | * [[# |
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | <pane id=" | ||
+ | === Minecraft Items Plugin | ||
+ | **Allows you to insert a fancy link to a block or item**\\ | ||
Syntax: | Syntax: | ||
< | < | ||
- | //namespace// is “minecraft” for vanilla | + | '' |
- | //item_name// is the registry name for an item | + | '' |
Example: | Example: | ||
- | < | + | < |
+ | < | ||
< | < | ||
</ | </ | ||
Line 30: | Line 40: | ||
< | < | ||
- | This will automatically generate a link to a page //mods: | + | <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.\\ | That page requires a redirect to the page with real content following wiki structure.\\ | ||
- | **There should be no content besides redirects under //mods://** | ||
- | Redirect syntax for items is: | + | <callout type=" |
- | <code> | + | **There should be no content besides redirects under the '' |
- | Where // | + | </callout> |
- | Can also be nested, like “energy: | + | </pane> |
- | ==== Minecraft | + | <pane id=" |
- | Allows for pretty formatted recipes | + | === Minecraft |
+ | Allows for pretty formatted recipes. | ||
+ | |||
+ | < | ||
+ | < | ||
+ | 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 === | ||
- | Example Crafting Table recipe: | ||
< | < | ||
< | < | ||
Line 51: | Line 113: | ||
</ | </ | ||
</ | </ | ||
- | Produces: | + | |
< | < | ||
input air minecraft: | input air minecraft: | ||
Line 58: | Line 120: | ||
output techreborn: | output techreborn: | ||
</ | </ | ||
+ | |||
\\ | \\ | ||
Example furnace recipe (note: size and tool are optional): | Example furnace recipe (note: size and tool are optional): | ||
Line 75: | Line 138: | ||
tool 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: | ||
+ | < | ||
+ | </ | ||
+ | </ |