Difference between revisions of "Infobox"
| Line 57: | Line 57: | ||
:addHeader( 'A header between the data rows' ) | :addHeader( 'A header between the data rows' ) | ||
:addRow( 'Another label', 'more data' ) | :addRow( 'Another label', 'more data' ) | ||
| + | ===Test 4=== | ||
| + | {{Infobox | ||
| + | | name = Infobox | ||
| + | | title = Text in caption over infobox | ||
| + | | subheader = Subheader of the infobox | ||
| + | | header = (the rest of the infobox goes here) | ||
| + | }} | ||
Revision as of 20:50, 20 July 2016
Contents
Test1
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 = }}