Template:NPC Table: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
New page: <includeonly>{|cellpadding=4 style=" border:1px solid #e5e5e5; background:#f9f9f9; vertical-align:top;" class="sortable" |- |bgcolor=#d0d0d0 align=center valign=top| '''NPC Name''' |bgcolo...
 
imported>Tlosk
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates|Template:NPC Row}}
{{Related|Wiki Templates|{{mtl|NPC Row}}}}
== Syntax ==
== Syntax ==
<pre>
<pre>
Line 24: Line 24:


== Usage ==
== 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 (dungeons). For more than one NPC, copy the NPC Row section and paste a copy for each NPC.
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:
Examples of NPC Types:
* Collector
* Crafter
* Librarian
* Librarian
* Misc
* Misc
* Quest
* Quest (Link to quest in Details column)
* Shopkeeper
* Shopkeeper (Include type of items sold in Details column)
* Translator
* Translator


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

Latest revision as of 17:33, 21 April 2009

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