Infobox Location
From ThornsWiki
Documentation for this module may be created at Module:Infobox Location/doc
local p = {} function p.default(frame) local capiunto = require 'capiunto' return capiunto.create( { top = tostring(mw.title.getCurrentTitle()), topStyle = 'background:#5f5543;color:#FFF;font-family:Metamorphous, serif;line-height:1.25em;', } ) :addImage( string.format('[[File:%s|250px]]', frame.args["image"]), -- featured image frame.args["caption"] -- caption ) :addHeader('Location Information') :addRow('Name', frame.args["name"]) :addRow('Location', frame.args["location"]) :addRow('Type', frame.args["type"]) :addHeader('NPC Information') :addRow('Proprietor', frame.args["proprietor"]) :addRow('Employees', frame.args["npcs"]) :addHeader('Play Status') :addRow('Play Status', frame.args["play_status"]) end return p