Difference between revisions of "Infobox MainChapter"
From ThornsWiki
Thornswiki (talk | contribs) (Created page with "local p = {} function p.default(frame) local capiunto = require 'capiunto' return capiunto.create( { top = tostring(mw.title.getCurrentTitle()), topStyle = 'background...") |
Thornswiki (talk | contribs) |
||
Line 14: | Line 14: | ||
:addRow('Status', frame.args["status"]) | :addRow('Status', frame.args["status"]) | ||
:addRow('Activity', frame.args["activity"]) | :addRow('Activity', frame.args["activity"]) | ||
+ | :addHeader('Follow the Story') | ||
+ | :addRow('Thread Tag', frame.args["tag"]) | ||
:addHeader('Moderator Information') | :addHeader('Moderator Information') | ||
:addRow('Contact', frame.args["admin"]) | :addRow('Contact', frame.args["admin"]) |
Revision as of 11:27, 28 November 2018
Documentation for this module may be created at Module:Infobox MainChapter/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('Storyline Information') :addRow('Status', frame.args["status"]) :addRow('Activity', frame.args["activity"]) :addHeader('Follow the Story') :addRow('Thread Tag', frame.args["tag"]) :addHeader('Moderator Information') :addRow('Contact', frame.args["admin"]) end return p