Module:SeasonVariables
From JoJo's Bizarre Encyclopedia - JoJo Wiki
Documentation for this module may be created at Module:SeasonVariables/doc
local p = {}
function p.main(frame)
local input = frame.args[1]
local abbreviations = {
PB = "Phantom Blood",
BT = "Battle Tendency",
SC = "Stardust Crusaders",
DU = "Diamond is Unbreakable",
GW = "Golden Wind",
SO = "Stone Ocean",
SBR = "Steel Ball Run",
JJL = "JoJolion",
TJL = "The JOJOLands",
["TSKR Episode %d+ %(OVA%)"] = "Thus Spoke Kishibe Rohan",
["Episode %d+ %(OVA%)"] = "JoJo's Bizarre Adventure"
}
for abbreviation, full_name in pairs(abbreviations) do
if string.find(input, abbreviation) then
return "''[[" .. full_name .. "]]'' " .. string.sub(input, string.len(abbreviation) + 2)
end
end
return input
end
return p
- Manga ▾
- Media ▾
- Characters ▾
- World ▾
- Archives ▾
- Misc ▾
- Wiki ▾