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 |
||
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>Premium</b> || {{#switch:{{lc:{{{premium|}}}}}|yes=Yes{{Mainonly|[[Category:Premium non-player characters]]}}|no=No|#default={{Edit button|text=<b>?</b> (edit)}}{{Mainonly|[[Category:Needs premium status]]}}}} |
|||
|- |
|||
| <b>Episode</b> || {{#switch:{{{episode|}}}|Hopeport=[[File:Hopeport episode icon.png|18px]] [[Hopeport]][[Category:Hopeport]]|Hopeforest=[[File:Hopeforest episode icon.png|18px]] [[Hopeforest]][[Category:Hopeforest]]|Mine of Mantuban=[[File:Mine of Mantuban episode icon.png|18px]] [[Mine of Mantuban]][[Category:Mine of Mantuban]]|Crenopolis=[[File:Crenopolis episode icon.png|18px]] [[Crenopolis]][[Category:Crenopolis]]|#default=[[File:Unknown episode icon.png|18px]] Unknown}} |
|||
|- |
|||
{{#if:{{{profession|}}}| |
|||
{{!}} <b>Profession</b> |
|||
{{!}}{{{profession}}} |
|||
{{!}}-}} |
|||
{{#if:{{{shop|}}}| |
|||
{{!}} <b>Shop</b> |
|||
{{!}}{{{shop}}} |
|||
{{!}}-}} |
|||
⚫ |
Latest revision as of 14:09, 9 April 2024
? (edit) | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Please upload an image! | |||||||||||||||||||
Release | ? (edit) | ||||||||||||||||||
Episode | ? (edit) | ||||||||||||||||||
Premium | ? (edit) | ||||||||||||||||||
Location | ? (edit) | ||||||||||||||||||
Profession | ? (edit) | ||||||||||||||||||
Examine | ? (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.
Whether or not this NPC requires a premium pass.
episode
The episode of the NPC.
One of:
- Hopeport
- Hopeforest
- Mine of Mantuban
- Crenopolis
Location
The location of the NPC.
profession
The profession of the NPC.
shop
The shop of the NPC.
examine
The examine text of the NPC.
Quick copy
{{Infobox NPC |name = |image = |release = |premium = |episode = |locations = |profession = |shop = |examine = }}