Jump to content

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

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Grufo (talk | contribs) at 15:09, 5 July 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

[edit]

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

Subtemplates

[edit]

See also

[edit]