Template:Infobox object

Revision as of 15:41, 22 June 2024 by imported>Aescopalus
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<infobox>

 <title source="name">
   <default>Infobox object</default>
 </title>
 <image source="image">
 	<default>No picture.png</default>
 </image>
 
   <label>Release</label>
 
 
 	<label>Update</label>
   <format>{{#ifexpr: {{{update}}} < 1 
   |[[The Long Dark/Early Access Changelog#{{{update}}}|{{{update}}}]]
   |[[The Long Dark/Changelog#{{{update}}}|{{{update}}}]]
   }}</format>
 
 
   <label>Story item</label>
 
 
   <label>Location</label>
 
 <group>
   <header>Properties</header>
   
     <label>Actions</label>
   
 </group>
 <group>
   <header>Container</header>
   
     <label>Capacity</label>
     <format>{{{capacity}}} kg
({{#expr: {{{capacity}}}*2.2 round 2}} lbs)</format>
<label>Radial</label> <label>On ground</label> </group> <group collapse="closed"> <header>Advanced data</header> <label>Object key</label> </group>

</infobox>

Example usage:

{{Infobox object
|name =
|image =
|release =
|update =
|story =
|actions =
|capacity =
|key =
}}

<templatedata> { "params": { "image": { "suggested": true }, "name": { "suggested": true }, "release": { "suggested": true }, "update": { "suggested": true }, "story": { "suggested": true }, "actions": { "suggested": true }, "key": { "suggested": true }, "capacity": {} }, "sets": [], "paramOrder": [ "name", "image", "release", "update", "story", "actions", "key", "capacity" ] } </templatedata>