Template:Portal Table Sortable: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Malacon
(Sortable Portal Table template)
 
imported>Immortalbob
No edit summary
 
Line 1: Line 1:
<includeonly>{|cellpadding=4 style="border:1px solid #e5e5e5; background:#f9f9f9; vertical-align:top;" class="sortable"
<includeonly>{|cellpadding=4 style="border:1px solid #996633; background:#000033; vertical-align:top;" class="sortable"
|-
|-
|bgcolor=#d0d0d0 align=center valign=top| '''Location'''
|align=center valign=top| '''Location'''
|bgcolor=#d0d0d0 align=center valign=top| '''Coords'''
|align=center valign=top| '''Coords'''
|bgcolor=#d0d0d0 align=center valign=top| '''Destination'''
|align=center valign=top| '''Destination'''
|bgcolor=#d0d0d0 align=center valign=top| '''Coords'''
|align=center valign=top| '''Coords'''
|bgcolor=#d0d0d0 align=center valign=top| '''Restrictions'''
|align=center valign=top| '''Restrictions'''
|-
|-
{{{Table Rows|}}}
{{{Table Rows|}}}

Latest revision as of 12:59, 18 October 2018

Related topics: Wiki Templates, {{Portal Row}}

Syntax

{{Portal Table
 | Table Rows =
{{Portal Row
 |     Location = 
 |    LocCoords = 
 |  Destination = 
 |   DestCoords = 
 | Restrictions = 
}}
}}

Usage

For more than one Portal, copy the Portal Row section and paste a copy for each Portal.

Notes

  • Note that this template makes use of another template to compose each row in the table, this allows you to have an arbitrary number of rows (Portals).
  • Copy of the Town_Template Template:Portal_Table made to have SORTABLE HEADERS.
  • New template created in order to NOT change every portal list in the wiki.