Template:TechInfo

From DSP Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)
[editview]

A work in progress - can be used to create the "Info Panel" for Technologies. Currently uses ItemInfo styling, will get actual Tech Info Window styling added soon.


Usage:
{{TechInfo
|Name=
|UnlockItem1=
|UnlockItem2=
|UnlockItem3=
|UnlockItem4=
|UnlockText=
|Cost1Type=
|Cost1Qty=
|Cost2Type=
|Cost2Qty=
|Cost3Type=
|Cost3Qty=
|Cost4Type=
|Cost4Qty=
|Cost5Type=
|Cost5Qty=
|Hashes=
|Description=
}}

REMOVE any unused fields.

NOTE: The Name is used to construct the filename for the 80px icon shown. For example, providing "Universe Matrix" as in the example below, the template looks for and loads "Tech_Universe Matrix.png". If the image does not exist, it will show as a broken image. Be sure to spell things the same. For multiple-word item names, use a space between the words as per normal. Do not use an underscore, as this text is also used in the display on mouseover.

Example:
{{TechInfo
|Name=Universe Matrix
|Description=The Universe Matrix contains everything, matter, energy and information. It turns out that these are all the same thing. It is the ultimate crystallization of the theory of everything, revealing the ultimate mystery of the universe.
|Cost1Type=Electromagnetic Matrix
|Cost1Qty=2000
|Cost2Type=Energy Matrix
|Cost2Qty=2000
|Cost3Type=Structure Matrix
|Cost3Qty=2000
|Cost4Type=Information Matrix
|Cost4Qty=2000
|Cost5Type=Gravity Matrix
|Cost5Qty=2000
|Hashes=720k
|UnlockItem1=Universe Matrix
}}

Would result in:

Universe Matrix
Tech Universe Matrix.png
Unlocks:
Universe Matrix
Research Consumption
Icon Electromagnetic Matrix.png
2000
Icon Energy Matrix.png
2000
Icon Structure Matrix.png
2000
Icon Information Matrix.png
2000
Icon Gravity Matrix.png
2000
Data Volume
720k Hashes

The Universe Matrix contains everything, matter, energy and information. It turns out that these are all the same thing. It is the ultimate crystallization of the theory of everything, revealing the ultimate mystery of the universe.
Visit Template:TechInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)