Template:NPCEntry: Difference between revisions
Add category logic (NPCs, Merchants, Trainers) (via update-page on MediaWiki MCP Server) |
Fix category expression syntax (via update-page on MediaWiki MCP Server) |
||
| Line 9: | Line 9: | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Data templates]] | [[Category:Data templates]] | ||
</noinclude><includeonly>{{#cargo_store:_table=NPCs|name={{{name|}}}|sprite={{{sprite|{{{name|}}}}}}|location={{{location|}}}|type={{{type|}}}|trainer={{{trainer|}}}}}[[Category:NPCs]]{{# | </noinclude><includeonly>{{#cargo_store:_table=NPCs|name={{{name|}}}|sprite={{{sprite|{{{name|}}}}}}|location={{{location|}}}|type={{{type|}}}|trainer={{{trainer|}}}}}[[Category:NPCs]]{{#ifeq:{{#pos:{{{type|}}}|Merchant}}|-1||[[Category:Merchants]]}}{{#if:{{{trainer|}}}|[[Category:Trainers]]}}</includeonly> | ||
Revision as of 23:35, 31 January 2026
This template defines the table "NPCs". View table.
Documentation
The above documentation is transcluded from Template:NPCEntry/doc. Edit