Home
Random
Log in
Settings
About Brighter Shores Wiki
Disclaimers
Search
Module:Infobox: Difference between revisions
Module
Discussion
← Older edit
Newer edit →
Module:Infobox
(edit)
Revision as of 14:45, 24 April 2024
350 bytes removed
,
24 April
no edit summary
Revision as of 14:38, 24 April 2024
(
edit
)
Gau Cho
(
talk
|
contribs
)
m
(Errant bracket)
← Older edit
Revision as of 14:45, 24 April 2024
(
edit
)
(
undo
)
Gau Cho
(
talk
|
contribs
)
No edit summary
Newer edit →
Line 562:
end
local episode_classes = {
['hopeport'] = 'hopeport',
['hopeforest'] = 'hopeforest',
['mine of mantuban'] = 'mantuban',
['crenopolis'] = 'crenopolis',
}
function Infobox:set_episode_class(ep_param)
ep_param = string.lower(ep_param or '')
if episode_classes[ep_param] ~= nil then
self:addClass('infobox-'..episode_classes[ep_param])
end
end
--[[
Gau Cho
Bureaucrats
,
Administrators
613
edits