Template:Infobox NPC: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
(Replaced content with "{{#invoke:Infobox NPC|main}}{{Mainonly|Category:Non-player characters}}<noinclude>{{/doc}}</noinclude>") Tag: Replaced |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{| class="wikitable infobox-npc" style="float:right" |
|||
!colspan="2"| {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |
|||
|- |
|||
|colspan="2" style="text-align:center"| {{#if:{{{image|}}}|{{clean image|file={{{image}}}}}|[[Special:Upload|Please upload an image!]]{{Mainonly|[[Category:Needs image]]}}}} |
|||
|- |
|||
|<b>Release date</b>||{{#if:{{{release|}}}|{{{release}}}|Q3 [[2024]]}} |
|||
|- |
|||
|<b>Episode</b>||{{#switch:{{{episode|}}}|Hopeport=[[File:Hopeport episode icon.png|18px]] [[Hopeport]]|Hopeforest=[[File:Hopeforest episode icon.png|18px]] [[Hopeforest]]|Mine of Manbutan=[[File:Mine of Manbutan episode icon.png|18px]]|#default=[[File:Unknown episode icon.png|18px]] Unknown}} |
|||
|- |
|||
{{#if:{{{profession|}}}| |
|||
{{!}} <b>Profession</b> |
|||
{{!}}{{{profession}}} |
|||
{{!}}-}} |
|||
⚫ |
Latest revision as of 14:09, 9 April 2024
? (edit) | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Please upload an image! | |||||||||||||||||||
Release | ? (edit) | ||||||||||||||||||
Episode | ? (edit) | ||||||||||||||||||
Premium | ? (edit) | ||||||||||||||||||
Actions | ? (edit) | ||||||||||||||||||
Description | ? (edit) | ||||||||||||||||||
Template documentation
This documentation is transcluded from Template:Infobox NPC/doc. [edit] [history] [purge]
Template:Infobox NPC invokes function main in Module:Infobox NPC using Lua.
Parameters
name
The name of the NPC.
image
The image of the NPC.
release
The release date of the NPC.
episode
The episode of the NPC.
One of:
- Hopeport
- Hopeforest
- Mine of Mantuban
- Crenopolis
location
The location of the NPC.
shop
The shop of the NPC. (Optional)
actions
Comma-separated list of the actions shown in the non-player character's action menu, in the order they appear in game. Do not include the "Info" that all non-player characters have.
description
The description of the NPC in its card.
Quick copy
{{Infobox NPC |name = |image = |release = |episode = |locations = |shop = |description = }}