Template:NpcCategoryTable/en: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#dpl:
<includeonly><templatestyles src="Template:FirstOnly/styles.css"/>
{{#dpl:
   |category={{{1|NO_CATEGORY}}}
   |category={{{1|NO_CATEGORY}}}
   |uses = Template:NpcInfoBox
   |uses = Template:NpcInfoBox
   |include = {{#if:{{{nozone|}}}| {NpcInfoBox}.dplNpcCategoryTableNoZone | {NpcInfoBox}.dplNpcCategoryTable }}
   |include = {{#if:{{{nozone|}}}| {NpcInfoBox}.dplNpcCategoryTableNoZone | {NpcInfoBox}.dplNpcCategoryTable }}, {ShopInfoTable}:1, {TradeInfoRow}:1
   |mode = userformat
   |mode = userformat
   |table = class="wikitable sortable",-,Name,Location,Occupation
   |table = class="wikitable sortable",-,
Name,
Location,
Occupation,
Shop,
Trade
  |tablerow = ,
¦²{#if:%%¦<span class="first-only">✔️</span>}²,
¦²{#if:%%¦<span class="first-only">✔️</span>}²
  |multisecseparators=,,
   |ordermethod = title
   |ordermethod = title
}}</includeonly><noinclude>
}}</includeonly><noinclude>


This template can be used to display a list of NPCs linked to a specific wiki category.
For an NPC page to be displayed here it needs to be linked to the specified category and have a NPC info box properly configured.


== Examples ==
== Examples ==
Line 16: Line 29:
   <nowiki>{{NpcCategoryTable|Hoddmimis NPCs|nozone=1}}</nowiki>
   <nowiki>{{NpcCategoryTable|Hoddmimis NPCs|nozone=1}}</nowiki>
{{NpcCategoryTable|Hoddmimis NPCs|nozone=1}}
{{NpcCategoryTable|Hoddmimis NPCs|nozone=1}}
[[Category:Data Aggregation Templates{{#translation:}}]]
</noinclude>
</noinclude>

Latest revision as of 09:45, 12 July 2024


This template can be used to display a list of NPCs linked to a specific wiki category.

For an NPC page to be displayed here it needs to be linked to the specified category and have a NPC info box properly configured.

Examples

 {{NpcCategoryTable|Hoddmimis NPCs}}

Name Location Occupation Shop Trade
Adriana Shelphy [Kafra] Hoddmimis
Marketplace (E2)
Kafra employee
Averro Reinhold Hoddmimis
Tavern (D7)
Tavern keeper ✔️
Ayanna Thristle Hoddmimis  (B6) ✔️✔️✔️
Conrad Flint Hoddmimis
Zoologist house (B7)
Zoologist
Jacob Tintero Hoddmimis
Post Office (F5)
Postal Service worker
Janette Tintero Hoddmimis
Post Office (F5)
✔️
Jarko Ruzzoli Hoddmimis
Smithy (E5)
Blacksmith
Michelle Berardini Hoddmimis
Armor Shop (D3)
Armor Shop Keeper ✔️ ✔️✔️
Miroslav Baum [Cattleya] Hoddmimis
Cattleya Building (D3)
Cattleya Worker ✔️✔️✔️✔️✔️✔️✔️✔️
Natali Klaret Hoddmimis
Magic Shop (D5)
Magic Shop Keeper ✔️ ✔️✔️
Tevez West [Auction] Hoddmimis
Auction House (E2)
Auction House worker


 {{NpcCategoryTable|Hoddmimis NPCs|nozone=1}}

Name Location Occupation Shop Trade
Adriana Shelphy [Kafra] Marketplace (E2) Kafra employee
Averro Reinhold Tavern (D7) Tavern keeper ✔️
Ayanna Thristle  (B6) ✔️✔️✔️
Conrad Flint Zoologist house (B7) Zoologist
Jacob Tintero Post Office (F5) Postal Service worker
Janette Tintero Post Office (F5) ✔️
Jarko Ruzzoli Smithy (E5) Blacksmith
Michelle Berardini Armor Shop (D3) Armor Shop Keeper ✔️ ✔️✔️
Miroslav Baum [Cattleya] Cattleya Building (D3) Cattleya Worker ✔️✔️✔️✔️✔️✔️✔️✔️
Natali Klaret Magic Shop (D5) Magic Shop Keeper ✔️ ✔️✔️
Tevez West [Auction] Auction House (E2) Auction House worker