This is the documentation page for Module:Mods
Exports
The below four functions accept a frame containing their arguments as well as the arguments directly, so they can be used with #invoke
.
link(string)
Generate a link to the given mod (named by unlocalized name or abbreviation).
link(string,string)
Generate a link to the given mod (named by unlocalized name or abbreviation). Use the second argument as the link text.
getAbbrv(string)
Given an unlocalized name or abbreviation, return the abbreviation.
getName(string)
Given an unlocalized name or abbreviation, return the localized name.
Data format
The top of this module defines the list of mods, in the form of a table. Keys are mod abbreviations, while values are a list of strings, {link, name, localizedName}
key | value |
---|---|
link | Required name of the mod's page. |
name | Optional unlocalized name of the mod if it isn't the same as the name of its page. |
localizedName | Required localized name of the mod. |