Template:Portal Table: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Immortalbob
No edit summary
 
Line 1: Line 1:
<includeonly>{|cellpadding=4 style=" border:1px solid #e5e5e5; background:#f9f9f9; vertical-align:top;"
<includeonly>{|cellpadding=4 style="border:1px solid:#996633; background:#000033; vertical-align:top;"
|-
|-
|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:53, 18 October 2018

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

Syntax

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

Usage

Part of the Town Template (and can be used anywhere a table listing of Portals is desired). 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). For more than one Portal, copy the Portal Row section and paste a copy for each Portal.