Template:UpgradeInfo

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

Used to create the "Info Panel" for Upgrades.


Usage:
{{UpgradeInfo
|Name=

|L1UnlockText=
|L1Cost1Type=
|L1Cost1Qty=
|L1Cost2Type=
|L1Cost2Qty=
|L1Cost3Type=
|L1Cost3Qty=
|L1Cost4Type=
|L1Cost4Qty=
|L1Cost5Type=
|L1Cost5Qty=
|L1Hashes=
|L1Description=

|L2UnlockText=
|L2Cost1Type=
|L2Cost1Qty=
|L2Cost2Type=
|L2Cost2Qty=
|L2Cost3Type=
|L2Cost3Qty=
|L2Cost4Type=
|L2Cost4Qty=
|L2Cost5Type=
|L2Cost5Qty=
|L2Hashes=
|L2Description=

|L3UnlockText=
|L3Cost1Type=
|L3Cost1Qty=
|L3Cost2Type=
|L3Cost2Qty=
|L3Cost3Type=
|L3Cost3Qty=
|L3Cost4Type=
|L3Cost4Qty=
|L3Cost5Type=
|L3Cost5Qty=
|L3Hashes=
|L3Description=

|L4UnlockText=
|L4Cost1Type=
|L4Cost1Qty=
|L4Cost2Type=
|L4Cost2Qty=
|L4Cost3Type=
|L4Cost3Qty=
|L4Cost4Type=
|L4Cost4Qty=
|L4Cost5Type=
|L4Cost5Qty=
|L4Hashes=
|L4Description=

|L5UnlockText=
|L5Cost1Type=
|L5Cost1Qty=
|L5Cost2Type=
|L5Cost2Qty=
|L5Cost3Type=
|L5Cost3Qty=
|L5Cost4Type=
|L5Cost4Qty=
|L5Cost5Type=
|L5Cost5Qty=
|L5Hashes=
|L5Description=

|L6UnlockText=
|L6Cost1Type=
|L6Cost1Qty=
|L6Cost2Type=
|L6Cost2Qty=
|L6Cost3Type=
|L6Cost3Qty=
|L6Cost4Type=
|L6Cost4Qty=
|L6Cost5Type=
|L6Cost5Qty=
|L6Hashes=
|L6Description=

|L7UnlockText=
|L7Cost1Type=
|L7Cost1Qty=
|L7Cost2Type=
|L7Cost2Qty=
|L7Cost3Type=
|L7Cost3Qty=
|L7Cost4Type=
|L7Cost4Qty=
|L7Cost5Type=
|L7Cost5Qty=
|L7Hashes=
|L7Description=

|L8UnlockText=
|L8Cost1Type=
|L8Cost1Qty=
|L8Cost2Type=
|L8Cost2Qty=
|L8Cost3Type=
|L8Cost3Qty=
|L8Cost4Type=
|L8Cost4Qty=
|L8Cost5Type=
|L8Cost5Qty=
|L8Hashes=
|L8Description=

|L1=
|L2=
|L3=
|L4=
|L5=
|L6=
|L7=
|L8=
}}

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:
{{UpgradeInfo/sandbox
|Name=Drive Engine

|L1UnlockText=Unlocks Mecha Flight
|L1Cost1Type=Coal
|L1Cost1Qty=150
|L1Cost2Type=Magnetic Coil
|L1Cost2Qty=60
|L1Hashes=10.8k
|L1Description=Double-press <span class{{=}}"tt_glow">Space</span> to lift off, and the mecha will increase the move speed by <span class{{=}}"tt_glow">150%</span> in low-altitude flight mode, flying will consume a lot of energy.

|L2UnlockText=+1 m/s Mecha Move Speed
|L2Cost1Type=Electromagnetic Matrix
|L2Cost1Qty=200
|L2Cost2Type=Energy Matrix
|L2Cost2Qty=200
|L2Hashes=36.0k
|L2Description=Double-press <span class{{=}}"tt_glow">Space</span> to lift off. Hold <span class{{=}}"tt_glow">Arrow keys</span> with <span class{{=}}"tt_glow">Space</span> in flight mode, which will activate sail mode at a certain altitude. In sail mode, mecha will orbit the planet at a higher speed.

|L3UnlockText=+1000 m/s Mecha Sail Speed
|L3Cost1Type=Electromagnetic Matrix
|L3Cost1Qty=1000
|L3Cost2Type=Energy Matrix
|L3Cost2Qty=1000
|L3Cost3Type=Structure Matrix
|L3Cost3Qty=1000
|L3Hashes=180k
|L3Description=Increase the max sail speed of the mecha in space, but it will greatly increase energy consumption.

|L4UnlockText=Unlocks Mecha Warp
|L4Cost1Type=Electromagnetic Matrix
|L4Cost1Qty=2000
|L4Cost2Type=Energy Matrix
|L4Cost2Qty=2000
|L4Cost3Type=Structure Matrix
|L4Cost3Qty=2000
|L4Hashes=720k
|L4Description=Using the <span class{{=}}"tt_glow">CapsLock</span> key to switch on a warp, each time activate the warp will consume <span class{{=}}"tt_glow">Space warper</span> x 1.

|L5UnlockText=+3 AU/s Mecha Warp Speed
|L5Cost1Type=Electromagnetic Matrix
|L5Cost1Qty=3000
|L5Cost2Type=Energy Matrix
|L5Cost2Qty=3000
|L5Cost3Type=Structure Matrix
|L5Cost3Qty=3000
|L5Cost4Type=Gravity Matrix
|L5Cost4Qty=3000
|L5Hashes=1.08M
|L5Description=Increase the Max Warp Speed of the mecha in space, but it will greatly increase energy consumption. Use [<span class{{=}}"tt_glow">SHIFT</span>], [<span class{{=}}"tt_glow">S</span>] to control the warp speed.

|L6UnlockText=+3 AU/s Mecha Warp Speed
|L6Cost1Type=Universe Matrix
|L6Cost1Qty=6000
|L6Hashes=2.16M
|L6Description=Increase the Max Warp Speed of the mecha in space, but it will greatly increase energy consumption. Use [<span class{{=}}"tt_glow">SHIFT</span>], [<span class{{=}}"tt_glow">S</span>] to control the warp speed.

|L6=6+
}}

Would result in:

Drive Engine
Lv1
Tech Drive Engine 1.png
Unlocks:
Unlocks Mecha Flight
Research Consumption
Icon Coal.png
150
Icon Magnetic Coil.png
60
Data Volume
10.8k Hashes

Double-press Space to lift off, and the mecha will increase the move speed by 150% in low-altitude flight mode, flying will consume a lot of energy.

Visit Template:UpgradeInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)