Fandom

Kirkburn Wiki

Module:Superhero

723pages on
this wiki
Add New Page
Talk0
local Superhero = {}
 
  function Superhero.InfoboxTitle( field, vars )
    return "Superhero " .. field.Value
  end
 
  function Superhero.Alignment( field, vars )
    local value = string.lower( field.Value )
    local output = ""
 
    if value == "bad" or value == "evil" then
      output = "[[:Category:Bad Characters|Bad]][[Category:Bad Characters|Bad]]"
    else
      output = "[[:Category:" .. field.Value .. " Characters|" .. field.Value .. "]][[Category:" .. field.Value .. " Characters|" .. field.Value .. "]]"
    end
 
    return output    
  end
 
  function Superhero.Wikipedia( field, vars )
    return "[[wikipedia:" .. field.Value .. "|" .. field.Value .. "]]"
  end
 
return Superhero

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.