Difference between revisions of "Infobox"

Line 64: Line 64:
 
  | header = (the rest of the infobox goes here)
 
  | header = (the rest of the infobox goes here)
 
}}
 
}}
 +
===Test 5===
 +
{{infobox}}

Revision as of 20:51, 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 = }}