Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:TRT sandbox: Difference between revisions

From CHIPPS
Created page with "function cap_test() local capiunto = require 'capiunto' capiunto.create( { title = 'Title of the Infobox' } ) :addRow( 'A label', 'some data' ) :addHeader( 'A header between the data rows' ) :addRow( 'Another label', 'more data' ) end return {cap_test = cap_test}"
 
No edit summary
 
Line 1: Line 1:
function cap_test()
function cap_test()
   local capiunto = require 'capiunto'
   local capiunto = require 'capiunto'
   capiunto.create( {
   return capiunto.create( {
   title = 'Title of the Infobox'
   title = 'Title of the Infobox'
   } )
   } )

Latest revision as of 00:02, 16 July 2026

Documentation for this module may be created at Module:TRT sandbox/doc

function cap_test()
  local capiunto = require 'capiunto'
  return capiunto.create( {
  	title = 'Title of the Infobox'
  } )
  :addRow( 'A label', 'some data' )
  :addHeader( 'A header between the data rows' )
  :addRow( 'Another label', 'more data' )
end

return {cap_test = cap_test}