Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Table

Template page
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Table/doc. Changes can be proposed in the talk page.

{{table}} creates a simple table that optionally can be collapsible in the same style as headers in the Citizen skin.

Usage

Any parameters you do not used should be removed.

{{Table
|collapsible=
|title=

|header1=

|label2=
|list2=

|label3=
|list3=
...
}}

Content parameters

title

Title of the table.

collapsible

Make the table collapsible.

labeln

Label of the list

listn

Text to be put in the table, these can wikilinks

headern

Header in the table

Example

Collapsible

{{Table
|collapsible=true
|title=Example
|header1 = Header 1
|label1=Label 1
|list2=Item1 Item2
|label3=Label 2
|list3=Item 1 Item2
|header4 = Header 2
|label5=Label 3
|list5=Item1 Item2
|label6=Label 4
|list6=Item 1 Item2
}}

Results in:

Example
Header 1
Label 1
Item1 Item2
Label 2
Item 1 Item2
Header 2
Label 3
Item1 Item2
Label 4
Item 1 Item2

Not collapsible

{{Table
|title=Example 2
|header1 = Header 1
|label2=Label 1
|list2=Item1 Item2
|label3=Label 2
|list3=Item 1 Item2
}}

Results in:

Example 2
Header 1
Label 1
Item1 Item2
Label 2
Item 1 Item2

TemplateData

A nicely styled table

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Collapsiblecollapsible

Specify if the table should be collapsible, leave empty if it shouldn't be

Booleansuggested
Titletitle

The title of the table

Stringrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.