More actions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit  |
||
Line 49: | Line 49: | ||
"description": "Image of the workstation. Defaults to using the page name as a file name", | "description": "Image of the workstation. Defaults to using the page name as a file name", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true, | ||
      "default": "Invicon {{PAGENAME}}" | |||
}, | }, | ||
"invimage": { | "invimage": { | ||
"label": "Inventory Image", | "label": "Inventory Image", | ||
"description": "Image of what the workstation looks like in the Inventory. Should auto generate", | "description": "Image of what the workstation looks like in the Inventory. Should auto generate", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
      "default": "{{Inventory slot\n|Invicon {{PAGENAME}}\n}}" | |||
}, | }, | ||
"quest": { | "quest": { |
Latest revision as of 02:25, 7 July 2025
[purge]
This is the documentation page. It should be transcluded into Template:Infobox workstation. See Template:Documentation for more information.This template provides a uniform infobox for Workstation blocks.
Usage
{{Infobox workstation | title = <!-- No gallery --> | image = <!-- with gallery --> | image = <gallery> Image 1.png|This is a caption Image 2.png|This is also a caption Image 3.png|Guess what? Caption! </gallery> <!-- Is it available in the quest book? --> | quest = <!-- What version was it added to VH in? --> | version = }}
Parameters
Parameter | Definition | Default Value |
---|---|---|
title |
Normally not included unless you want to change the title to something other than page name. | {{BASEPAGENAME}}
|
image |
Picture of the workstation as it appears in the world. Approx 300x300px | {{{title}}}.png if it exists.
|
invimage |
Don't include. Setup Automatically | Invicon {{{title}}}.png
|
recipe |
Shows the crafting recipe for the item. | |
quest |
Indicates if you acquire or make it during the Quest Book | |
version |
What version of the VH modpack was the workstation added in |
An infobox for a workstation
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | title | no description | String | optional |
Image | image | Image of the workstation. Defaults to using the page name as a file name
| File | suggested |
Inventory Image | invimage | Image of what the workstation looks like in the Inventory. Should auto generate
| File | optional |
Crafting Recipe | recipe | The crafting recipe for the workstation
| Content | suggested |
Obtained by Quest Book | quest | Whether or not the workstation is built during / provided by the Quest Book
| Boolean | suggested |
Version | version | What version of VH was it added in? | String | optional |