Template:ResearchRecipe: Difference between revisions

Template page
(finish template)
(support weapon icons)
 
Line 5: Line 5:


=== Item Icon
=== Item Icon
--><span style="position: absolute; top: 7px; left: 2px;">[[File:{{#if: {{{icon|}}}|{{{icon}}}|Icon {{{name|Dummy}}}.png}}|96px|{{{name}}}]]</span><!--
--><span style="position: absolute;  
{{#ifeq: {{{special|}}}|weapon
|top: 41px; left: 2px;
|top: 7px; left: 2px;
}}">[[File:{{#if: {{{icon|}}}|{{{icon}}}|Icon {{{name|Dummy}}}.png}}|96px|{{{name}}}]]</span><!--


=== Item Details
=== Item Details
Line 30: Line 34:


----
----
== Example ==
== Example ==
{{ResearchRecipe|name=Energy Activators|time=1d 6h|cost=750,000|rank=1
{{ResearchRecipe|name=Energy Activators|time=1d 6h|cost=750,000|rank=1
Line 61: Line 66:
icon    = image file path (defaults to "Icon {name}.png")
icon    = image file path (defaults to "Icon {name}.png")
currency = Name of currency (defaults to "Gold")
currency = Name of currency (defaults to "Gold")
special  = Type of item (only "weapon" is supported, used to display icon properly)
</pre>
</pre>

Latest revision as of 14:11, 6 August 2024

{{{name}}}
Item Name
Time Cost Rank #

Example

Energy Activators
Energy Activators
1d 6h 750,000 Rank 1
Low-Carbon ActivatorLow-Carbon Activator (x55)
Conductive Metallic FoilConductive Metallic Foil (x25)
Heat Plasma BatteryHeat Plasma Battery (x55)
Polyatomic Ion ParticlePolyatomic Ion Particle (x72)
Energy Activator BlueprintEnergy Activator Blueprint (x1)

Documentation

Research Details (Required)

name = Item name
time = Research time
cost = Research cost
rank = Required Mastery Rank

Research Materials (Suggested)

Follows a pattern of m#_name and m#_amt. # ranges from 1 to 5

m1_name = Name of 1st material
m1_amt  = Amount of 1st material
...
m5_name = Name of 5th material
m5_amt  = Amount of 5th material

Other (Optional)

icon     = image file path (defaults to "Icon {name}.png")
currency = Name of currency (defaults to "Gold")
special  = Type of item (only "weapon" is supported, used to display icon properly)