Template:Table (AL)

From Exiled Kingdoms Wiki

Description

This template generates a table from the content given as input, provided this input is not empty. Otherwise it outputs a default message. The template is intended to be used whenever tablular content is automatically gathered and it is not clear beforehand whether such content exists or not.

Usage

{{Table (AL)
|Class = 
|Head = 
|Content = 
|Default = 
}}

Parameters

NameRequiredDescriptionValues
ClassNoThe class information to be forwarded to the table tag."table class" (in quotation marks), e.g. "wikitable" or "wikitable sortable"
HeadNoThe head of the table.<tr><th>...</th><th>...</th>...</tr>
ContentYesThe table rows containing the actual content.<tr><td>...</td><td>...</td>...</tr>
DefaultNoThe text to be displayed if the content is empty.arbitrary text

View/Edit documentation page