Difference between revisions of "Infobox"

Line 49: Line 49:
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>
 +
===Test 3===
 +
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' )

Revision as of 20:46, 20 July 2016

Test1

Template:Infobox Test

Test2

Lua error: Internal error: The interpreter exited with status 127.{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:(Pages)|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }} {{#switch:<translate></translate> | = Lua error: Internal error: The interpreter exited with status 127. | #default=

 Script error: No such module "Template translation".

}}

Test 3

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' )