Template:List-head/Buildings
Lists work similar to ordered and unordered lists (html: <ol>, <ul>), but are pre-formatted table headers and cells. Each list item should have it's own page and link back to the main article(s) of its subject.
<categorytree mode="pages" showcount="on">List templates</categorytree>
{{list-top}}
{{list-head|name=page name}} // Links to the page of the list head (main columns).
|-{{list-head-top|id=|title=|style=}}
|-{{list-head-col|id=|title=|rowspan=|colspan=|style=|class=|data=}}
\-{{list-head-bottom}}
{{list-item|name=page name}} // the page which the item resides.
|-{{list-item-top|id=|title=|style=}}
|-{{list-item-col|id=|title=|rowspan=|colspan=|style=|class=|data=}}
\-{{list-item-bottom}}
{{list-bottom}}
- Template:list-top - take no arguments, needed to display items at all
- Template:list-head - name is required and will link to a page which will contain the table row of <th></th>'s
- Template:list-head-top - used on the list-head page to start the table row.
- Template:list-head-col - a column item.
- Template:list-head-bottom - used to close a head row.
- Template:list-item - name is required and links to the page containing the item.
- Template:list-item-top - defines an item row.
- Template:list-item-col - a column item.
- Template:list-item-bottom - used to close a item row.
- Template:list-bottom - take no arguments, needed to end the list
| Type | Description | Extra information |
|---|