Template:MMAevent card/doc

This template is part of a series of MMA event templates to make it easier to record the results of a MMA event. This particular template is used to create the header row for each card. Multiple cards can exist for a single event so this template can be used multiple times.

Usage
This template should be used after the MMAevent event header with the MMAevent bout template used for each bout and the MMAevent end event footer template used to close the table. The template takes parameters for the name of the card and to indicate if the column headings (Weight class, Method, Round, etc.) should be displayed.

produces:

Parameters

 * Positional parameter 1 (no name):Card name, will put the passed text in a header row, centered
 * Positional parameter 2, named parameter 'header':header indicator, indicates if the column name header row should be shown. Use header=no if this is not needed such as events with multiple cards, only the first card should have the header row.  Anything else, or no parameter passed, will display the header row.

Single card events
For events with a single card, you just need to include the event name as the first parameter. produces:

Multiple card events
For multiple cards, the column headings should displayed only with the first card so you will need to pass two parameters. The main card should always be listed first. produces:

Parameters
The template has two optional parameters:
 * Positional parameter 1 (no name):The name of the card. If nothing is passed, the card name will be blank
 * header:Indicates if the header row should be added immediately below the card name row. If "no" is passed, the header row is not displayed; otherwise the row is displayed below the card name.

Category:Martial arts templates