Template:Infobox tool: Difference between revisions
(Created page with "{{infobox | above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} | image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}|upright=.6|]]<includeonly>|Category:Tools without image</includeonly>}} | caption = {{{caption|}}} | image2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|frameless|alt={{{alt|}}}|upright=.6|]]}} | caption2 = {{{caption2|}}} | autoheaders = y | abovestyle = background:#eaecee;font-size:130%;padding:0.3em; | headerstyle = backgroun...") |
No edit summary |
||
| Line 13: | Line 13: | ||
| rows = | | rows = | ||
{{#if: {{{powered|}}} | {{infobox row|label=[[Power Tools|Powered]]|field={{{powered}}} }} }} | {{#if: {{{powered|}}} | {{infobox row|label=[[Power Tools|Powered]]|field={{{powered}}} }} }} | ||
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | }}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | ||
Revision as of 06:33, 12 August 2025
| Infobox tool |
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]
This template should be used in Player pages, and the User:Player page should redirect to the main Player (should the user have an account and no out of game content in the User page)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | the name of the tool
| String | optional |
| image | image texture | a image of the tool, as it appears in game | File | suggested |
| alt | alt | alternative text in case the image fails to load | String | optional |
| caption | caption | a caption of the image 1 | String | suggested |
| image2 | image2 | a second image to add
| File | optional |
| caption2 | caption2 | the caption of the second image | String | optional |
| powered | powered | whether the tool is powered | Boolean | optional |