Template:Tool infobox/doc
From Vintage Story Wiki
An infobox that presents information relating to a certain tool. For general items, use {{Item infobox}}
.
Usage
Parameter | Description | Type | Required |
---|---|---|---|
title | The name of the tool | String | yes |
subtitle | A smaller subtitle shown below the title box | String | no |
image | The image of the tool | File | yes |
align | Override to align this infobox differently | CSS | no |
effective | The materials this tool is effective on, as links | Content | yes |
variants | Variants of this tool, such as different metals, as links | Content | yes |
placeTool | Can this tool be placed on a tool rack? | Boolean | no |
Example
Code | Result |
---|---|
{{Tool infobox |title=Pickaxe |image=pickaxe-copper.png |variants=<ol style="list-style-type:none; padding:0; margin:0;"> <li>[[Copper]]</li><li>[[Gold]]</li><li>[[Silver]]</li><li>[[Tin bronze| Tin bronze]]</li><li>[[Bismuth bronze| Bismuth bronze]]</li><li>[[Black bronze| Black bronze]]</li><li>[[Meteoric iron]]</li><li>[[Steel]]</li></ol> |effective= [[Ceramic]], [[Rock]], [[Ore]], [[Metal]], [[Ice]] |placeTool=true}} |
|