- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Module:EquipmentPage"
Jump to navigation
Jump to search
(Created page with "local Utils = require("Module:Utils") local Equipment = require('Module:Equipment') return { buildable = function(frame) local args = Utils.getTemplateArgs(frame)...") |
(No difference)
|
Revision as of 15:04, 27 October 2017
Documentation for this module may be created at Module:EquipmentPage/doc
local Utils = require("Module:Utils")
local Equipment = require('Module:Equipment')
return {
buildable = function(frame)
local args = Utils.getTemplateArgs(frame)
local name = args.explicit[1] or args.implicit.pagename or ""
local equip = Equipment(name)
return equip:buildable() and "true" or ""
end,
}