Template:Portal Table: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>An Adventurer
mNo edit summary
imported>Immortalbob
No edit summary
 
(One intermediate revision by one other user not shown)
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|}}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates|Template:Portal Row}}
{{Related|Wiki Templates|{{mtl|Portal Row}}}}
== Syntax ==
== Syntax ==
<pre>
<pre>
Line 29: Line 29:


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

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.