Template:NPC Table: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>An Adventurer
m (removing more inline styles)
 
Line 1: Line 1:
<includeonly>{|cellpadding=4 style=" border:1px solid #e5e5e5; background:#f9f9f9; vertical-align:top;" class="sortable"
<includeonly>{|cellpadding=4 style="vertical-align:top;" class="sortable"
|-
|-
|bgcolor=#d0d0d0 align=center valign=top| '''NPC Name'''
|align=center valign=top| '''NPC Name'''
|bgcolor=#d0d0d0 align=center valign=top| '''Location'''
|align=center valign=top| '''Location'''
|bgcolor=#d0d0d0 align=center valign=top| '''Type'''
|align=center valign=top| '''Type'''
|bgcolor=#d0d0d0 align=center valign=top| '''Details'''
|align=center valign=top| '''Details'''
|-
|-
{{{Table Rows|}}}
{{{Table Rows|}}}

Latest revision as of 07:23, 11 October 2018

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

Syntax

{{NPC Table
 | Table Rows =
{{NPC Row
 | NPC Name = 
 | Location = 
 |     Type = 
 |  Details =
}}
}}

Usage

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

Examples of NPC Types:

  • Collector
  • Crafter
  • Librarian
  • Misc
  • Quest (Link to quest in Details column)
  • Shopkeeper (Include type of items sold in Details column)
  • Translator