Template:Tool infobox: Difference between revisions
From Vintage Story Wiki
(Created page with "<includeonly>{{Infobox |title={{{title}}} |subtitle={{{subtitle|}}} |image={{{image}}} |align={{{align|}}} |group1=Effective on |body1={{{effective}}} |group2=Variants |body2=...") |
(Updated to new infobox format) |
||
Line 4: | Line 4: | ||
|image={{{image}}} | |image={{{image}}} | ||
|align={{{align|}}} | |align={{{align|}}} | ||
| | |rows={{IRow | Effective on | {{{effective}}} }} | ||
| | {{IRow | Variants | {{{variants}}} | 1}} | ||
| | {{IRow | [[Placeable]] | [[Tool rack]]}} | ||
| | |||
}}[[Category:Tools]]</includeonly> | }}[[Category:Tools]]</includeonly> | ||
<noinclude>{{doc}}</noinclude> | <noinclude>{{doc}}</noinclude> |
Revision as of 21:15, 17 August 2022
[view | edit | history | purge this page]Documentation
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 |Pickaxe |pickaxe-copper |variants={{List|[[Copper]];[[Gold]];[[Silver]];[[Tin bronze| Tin bronze]];[[Bismuth bronze| Bismuth bronze]];[[Black bronze| Black bronze]];[[Meteoric iron]];[[Steel]]}} |effective= [[Ceramic]], [[Rock]], [[Ore]], [[Metal]], [[Ice]] |placeTool=true}} |
|
[view | edit | history | purge this page]The above documentation is transcluded from Template:Tool infobox/doc.