Template:RegionalNPCs: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>
<!-- ### Cargo Declare ### -->
{{#cargo_declare:_table=NPCs
  |MapLocation=String
  |QuestCount=Integer
  |NPCType=String
}}
</noinclude>
<!-- ### Carge Store ### -->
<!-- ### Carge Store ### -->
<includeonly>
<includeonly>
Line 25: Line 16:
<pre>
<pre>
Renders NPCs and their location from the "NPCs" Cargo table
Renders NPCs and their location from the "NPCs" Cargo table
Note: Areas and NPC types have to be wrapped with quotation marks, due to their usage in a cargo query, where missing quoation marks would otherwise break said query


Usage:
Usage:
{{KumaTest
{{KumaTest
|title=example (title of the section for that sub-table | remark: this might truly make it not worth for this template, which should just define a single title I guess
|title=example
|areas=example,example
|areas="example","example"
|npctypes=example,example ("NPC", if omitted)
|npctypes="example","example" ("NPC", if omitted)
}}
}}
</pre>
</pre>
[[Category:Table templates]]
[[Category:Table templates]]
</noinclude>
</noinclude>

Revision as of 22:09, 17 May 2023



Renders NPCs and their location from the "NPCs" Cargo table

Note: Areas and NPC types have to be wrapped with quotation marks, due to their usage in a cargo query, where missing quoation marks would otherwise break said query

Usage:
{{KumaTest
|title=example
|areas="example","example"
|npctypes="example","example" ("NPC", if omitted)
}}