Template:Testcase table/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} This template invokes Module:Testcase table to create a table of side-by-side testcases comparing two templates.

Usage

By default, the template corresponding to the base page name and its sandbox are used. This can be changed using |_template=example for example and example/sandbox or |_template1=example1 and |_template2=example2.

By default, the table headings are the names of the two templates. This can be changed using |_heading1=first heading and |_heading2=second heading.

By default, the table caption is Side by side comparison. This can be changed using |_caption=caption.

To format the table as a wikitable, use |_class=wikitable

To add a rowheader, use |_rowheader= with column heading specified using |_heading0=.

To add content after each transclusion, use |_after=. This is useful for testing floating features (e.g., |_after={{lorem}} after an infobox or sidebar).

See also