Difference between revisions of "Module:Grid/Aliases"
Jump to navigation
Jump to search
m (Added Iron -> Iron Ingot) |
m (Added Some random scrap -> Scrap) |
||
Line 2: | Line 2: | ||
['Machine']="Basic Machine Casing", | ['Machine']="Basic Machine Casing", | ||
['Advanced Machine']="Advanced Machine Casing", | ['Advanced Machine']="Advanced Machine Casing", | ||
['Iron']="Iron Ingot" | ['Iron']="Iron Ingot", | ||
['Some random scrap']="Scrap" | |||
} | } | ||
return aliases | return aliases |
Revision as of 16:52, 16 March 2015
The alias list for Module:Grid, all ['name'] grids will have the tooltip that it equals.
Example[edit]
Output=Machine
would turn into:
Output=[Basic Machine Casing]Machine
It should be noted however, this only changes how they look, the actual code is left unchanged.
The above documentation is transcluded from Module:Grid/Aliases/doc. (edit | history)
local aliases = { ['Machine']="Basic Machine Casing", ['Advanced Machine']="Advanced Machine Casing", ['Iron']="Iron Ingot", ['Some random scrap']="Scrap" } return aliases