Module:Publication

From Call of Duty Esports Wiki
Revision as of 17:10, 10 September 2020 by Ispoonz (talk | contribs) (Created page with "local p = require('Module:EntityAbstract'):finalExtends() p.objectType = 'Publication' p.defaultlength = 'display' function p:init(str) self:super('init', str, 'Publication...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation for this module may be created at Module:Publication/doc

local p = require('Module:EntityAbstract'):finalExtends()

p.objectType = 'Publication'
p.defaultlength = 'display'

function p:init(str)
	self:super('init', str, 'Publication')
	if self.is_nil then return end
	if self.unknown then
		self.vars = {
			display = str,
		}
	end
end

return p