Content deleted Content added
Alistair3149 (talk | contribs) Created page with "local NavplateManufacturers = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local navplate = require( 'Module:Navplate' ) local navplateData = mw.loadJsonData( 'Module:Navplate/Manufacturer/data.json' ); --- Queries the SMW Store --- @return table function methodtable.getSmwData( self, category ) end --- Outputs the table --- --- @return string function methodtable.make( self ) local args = { subtitle = 'Products of', title = '..." |
Alistair3149 (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
local navplate = require( 'Module:Navplate' ) |
local navplate = require( 'Module:Navplate' ) |
||
local navplateData = mw.loadJsonData( 'Module:Navplate/ |
local navplateData = mw.loadJsonData( 'Module:Navplate/Manufacturers/data.json' ); |
||
--- Queries the SMW Store |
--- Queries the SMW Store |
Revision as of 22:22, 5 February 2024
This documentation is transcluded from Module:Navplate/Manufacturers/doc. Changes can be proposed in the talk page.
Module:Navplate/Manufacturers is shared across the Star Citizen Wikis.
This module is shared across the Star Citizen Wikis. Any changes should also be relayed to the GitHub repository.
This module is unused.
This module is neither invoked by a template nor required/loaded by another module. If this is in error, make sure to add
{{Documentation}}
/{{No documentation}}
to the calling template's or parent's module documentation.Function list |
---|
local NavplateManufacturers = {}
local metatable = {}
local methodtable = {}
metatable.__index = methodtable
local navplate = require( 'Module:Navplate' )
local navplateData = mw.loadJsonData( 'Module:Navplate/Manufacturers/data.json' );
--- Queries the SMW Store
--- @return table
function methodtable.getSmwData( self, category )
end
--- Outputs the table
---
--- @return string
function methodtable.make( self )
local args = {
subtitle = 'Products of',
title = 'Manufacturer'
}
mw.logObject( self.category )
local data = self:getSmwData( self.category )
-- mw.logObject( args )
return navplate.navplateTemplate({
args = args
})
end
--- New Instance
---
--- @return table NavplateManufacturers
function NavplateManufacturers.new( self, frameArgs )
local instance = {
category = 'Category:Aegis Dynamics'
}
setmetatable( instance, metatable )
return instance
end
--- "Main" entry point
---
--- @param frame table Invocation frame
--- @return string
function NavplateManufacturers.main( frame )
local instance = NavplateManufacturers:new()
return instance:make()
end
return NavplateManufacturers