Template:Resources nav/item
Jump to navigation
Jump to search
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Description
This is a group of templates that work together to provide various navigation boxes related to raw and refined resources in the game using {{navbox}}.
![]() |
These templates and their documentation is still a WIP version and will be completed soon. |
Syntax
- Beware of white-space !
- No white-space allowed, see test cases.
![]() |
Important note:
For Resources you can't use the quality and enchantment parameters, you need to provide the complete name instead. |
Type {{Resources nav/item|named parameters=value|FULLPAGENAME}}
somewhere.
- unnamed parameters:
- FULLPAGENAME (Required, 1st unnamed parameter)
- The complete pagename of the resource to display and link to without namespace.
- Eg. “Resource/Wood/Rough Logs”
- Make sure there is no white-space after it, thus close the template call right after it to eliminate the trailing linefeed.
- FULLPAGENAME (Required, 1st unnamed parameter)
- named parameters:
- l or layout (Optional, case-insensitive)
- To have a horizontal/vertical layout.
- One of these preset names, either first letter or full:
- Vertical (Default)
- Horizontal
- To have a horizontal/vertical layout.
- t or tier (Optional, Integer or Roman uppercase)
- The tier of the item, sets the background color to same as the tier indicator of the image. (Grey is used if not set)
- Valid values:
- 1 ⇒ 8
- I ⇒ VIII
- s or size (Optional, case-insensitive)
- Size of the image.
- One of these preset names, either first letter or full:
- Big (100px)
- Normal (80px) (Default)
- Small or Inline (48px)
- q or quality (Optional, Integer)
- The item quality level.
- Valid values:
- 1 ⇒ 5
- e or enchantment (Optional, Integer)
- The item enchantment level.
- Valid values:
- 0 ⇒ 3
- l or layout (Optional, case-insensitive)
Dependencies
It depends on the following sub-templates to display:
The above text is transcluded from Template:Resources nav/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Please add categories and interwikis to Template:Resources nav/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Please add categories and interwikis to Template:Resources nav/doc. (View all subpages of this page.)