Jump to content

Template:NPCEntry: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Use Module:NPC for clean category logic (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Compact to single line to prevent whitespace output (via update-page on MediaWiki MCP Server)
Line 9: Line 9:
{{Documentation}}
{{Documentation}}
[[Category:Data templates]]
[[Category:Data templates]]
</noinclude><includeonly>{{#default_form:NPC}}{{#cargo_store:_table=NPCs
</noinclude><includeonly>{{#cargo_store:_table=NPCs|name={{{name|}}}|sprite={{{sprite|{{{name|}}}}}}|location={{{location|}}}|type={{{type|}}}|trainer={{{trainer|}}}}}{{#ifeq:{{NAMESPACE}}||{{#invoke:NPC|categories|type={{{type|}}}|trainer={{{trainer|}}}}}}}</includeonly>
|name={{{name|}}}
|sprite={{{sprite|{{{name|}}}}}}
|location={{{location|}}}
|type={{{type|}}}
|trainer={{{trainer|}}}
}}{{#ifeq:{{NAMESPACE}}||{{#invoke:NPC|categories|type={{{type|}}}|trainer={{{trainer|}}}}}}}</includeonly>

Revision as of 22:48, 30 January 2026

This template defines the table "NPCs". View table.

Documentation

Template:NPCEntry/doc

The above documentation is transcluded from Template:NPCEntry/doc. Edit