Difference between revisions of "Infobox"

Line 66: Line 66:
 
===Test 5===
 
===Test 5===
 
{{infobox}}
 
{{infobox}}
 +
===Test 6===
 +
{{#invoke:testInfobox|create}}

Revision as of 20:59, 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' )

Test 4

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 = }}

Test 5

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 = }}

Test 6

Script error: No such module "testInfobox".