• 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:PageTitle"

From Kancolle Wiki
Jump to navigation Jump to search
com>Ckwng
m (2 revisions imported)
 
(No difference)

Latest revision as of 12:43, 12 May 2021

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

local BaseData = require("Module:BaseData")

local PageTitle = BaseData{}

function PageTitle.ID(frame)
    return tostring(mw.title.getCurrentTitle().id)
end

function PageTitle.Title(frame)
    return tostring(mw.title.getCurrentTitle().prefixedText)
end

return PageTitle