Jump to content

Module:Params/doc/examples/four cells per row table/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Grufo (talk | contribs) at 15:07, 5 July 2025 (Create a documentation page). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This example template shows how to use {{#invoke:params|call_for_each_group|...}} to create a four-column table.

Usage

For instance,

{{module:params/doc/examples/four cells per row table

	| first-header 1 = Header 1
	| second-header 1 = Header 2
	| third-header 1 = Header 3
	| fourth-header 1 = Header 4

	| first-cell 2 = Cell 1
	| second-cell 2 = Cell 2
	| third-cell 2 = Cell 3
	| fourth-cell 2 = Cell 4

	| first-cell 3 = Cell 5
	| second-cell 3 = Cell 6
	| third-cell 3 = Cell 7
	| fourth-cell 3 = Cell 8

	| first-header 4 = Header 5
	| second-header 4 = Header 6
	| third-header 4 = Header 7
	| fourth-header 4 = Header 8

	| first-cell 5 = Cell 9
	| fourth-cell 5 = Cell 12

}}

generates

Header 1Header 2Header 3Header 4
Cell 1Cell 2Cell 3Cell 4
Cell 5Cell 6Cell 7Cell 8
Header 5Header 6Header 7Header 8
Cell 9Cell 12

See also