Home
Random
Log in
Settings
About The Commentary Community Wiki
Disclaimers
The Commentary Community Wiki
Search
Editing
Module:CapiuntoTest
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local capiunto = require 'capiunto' local p = {} function p.main(frame) local args = frame:getParent().args local headerStyle if args.headerstyle and args.headerstyle ~= '' then headerStyle = string.format('background-color:%s;', args.headerstyle) else headerStyle = 'background-color:grey;' end local retval = capiunto.create( { title = args.title, headerStyle = headerStyle, } ) :addImage( args.image, args.caption ) :addRow( 'Also Known As', args.foo ) :addHeader( 'Social Media Links' ) :addRow( 'Links', args.bar ) :addHeader( 'Status' ) :addRow( 'Current Status', args.sta ) return retval end return p
Summary:
Please note that all contributions to The Commentary Community Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
The Commentary Community Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:CapiuntoTest/doc
(
view source
)