Template:InfoboxCountry: Difference between revisions

From The World in 17th Century
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<infobox layout="stacked">
local capiunto = require 'capiunto'
<title source="name">
capiunto.create( {
<default>{{PAGENAME}}</default>
title = 'Title of the Infobox'
</title>
} )
<image source="image" />
:addRow( 'Continent', 'some data' )
<data source="parameter-1">
:addHeader( 'A header between the data rows' )
<label>Label 1</label>
:addRow( 'Current territory', 'more data' )
</data>
<data source="parameter-2">
<label>Label 2</label>
</data>
</infobox>

Revision as of 23:32, 12 January 2025