Template:NPCEntry: Difference between revisions
Fix category logic - use #if for pos>0 and #ifeq for pos=0 (via update-page on MediaWiki MCP Server) |
Use Module:NPC for clean category logic (via update-page on MediaWiki MCP Server) |
||
| Line 15: | Line 15: | ||
|type={{{type|}}} | |type={{{type|}}} | ||
|trainer={{{trainer|}}} | |trainer={{{trainer|}}} | ||
}}{{#ifeq:{{NAMESPACE}}|| | }}{{#ifeq:{{NAMESPACE}}||{{#invoke:NPC|categories|type={{{type|}}}|trainer={{{trainer|}}}}}}}</includeonly> | ||
Revision as of 18:34, 30 January 2026
This template defines the table "NPCs". View table.
Documentation
The above documentation is transcluded from Template:NPCEntry/doc. Edit