Template:Infobox tool: Difference between revisions

From Horizon's End Wiki
(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}}} }} }}
<!----------------------------------------------------------------------------------------------------------------------------------------------->
<!-- INGAME NATIONALITY ONLY-->
| label2 = Allegiance
| data2 = {{{nationalities|}}}


}}<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

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)

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

the name of the tool

Example
Wrench
Auto value
Stringoptional
imageimage texture

a image of the tool, as it appears in game

Filesuggested
altalt

alternative text in case the image fails to load

Stringoptional
captioncaption

a caption of the image 1

Stringsuggested
image2image2

a second image to add

Auto value
Fileoptional
caption2caption2

the caption of the second image

Stringoptional
poweredpowered

whether the tool is powered

Booleanoptional