Template:NPCEntry: Difference between revisions
Create NPC data template with Cargo table (via create-page on MediaWiki MCP Server) |
Remove description output - moving to Infobox NPC (via update-page on MediaWiki MCP Server) Tag: Manual revert |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|sprite=String | |sprite=String | ||
|location=String | |location=String | ||
|type=String | |type=List (,) of String | ||
|trainer=String | |||
|description=Wikitext | |||
}} | }} | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Data templates]] | [[Category:Data templates]] | ||
</noinclude><includeonly>{{#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|}}} | |||
}}{{#ifeq:{{ | |||
Latest revision as of 13:47, 1 February 2026
This template defines the table "NPCs". View table.
Documentation
The above documentation is transcluded from Template:NPCEntry/doc. Edit