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)
Remove description output - moving to Infobox NPC (via update-page on MediaWiki MCP Server)
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:
|type=List (,) of String
|type=List (,) of String
|trainer=String
|trainer=String
|description=Wikitext
}}
}}
{{Documentation}}
{{Documentation}}
[[Category:Data templates]]
[[Category:Data templates]]
</noinclude><includeonly>{{#default_form:NPC}}{{#cargo_store:_table=NPCs
</noinclude><includeonly>{{#default_form:NPC}}{{#cargo_store:_table=NPCs|name={{{name|}}}|sprite={{{sprite|{{{name|}}}}}}|location={{{location|}}}|type={{{type|}}}|trainer={{{trainer|}}}|description={{{description|}}}}}[[Category:NPCs]]{{#ifeq:{{#pos:{{{type|}}}|Merchant}}|-1||[[Category:Merchants]]}}{{#if:{{{trainer|}}}|[[Category:Trainers]]}}</includeonly>
|name={{{name|}}}
|sprite={{{sprite|{{{name|}}}}}}
|location={{{location|}}}
|type={{{type|}}}
|trainer={{{trainer|}}}
}}{{#ifeq:{{NAMESPACE}}||{{#invoke:NPC|categories|type={{{type|}}}|trainer={{{trainer|}}}}}}}</includeonly>

Latest revision as of 13:47, 1 February 2026

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

Documentation

Template:NPCEntry/doc

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