Template:Infobox NPC: Difference between revisions

From Brighter Shores Wiki
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
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Infobox NPC|main}}{{Mainonly|[[Category:Non-player characters]]}}<noinclude>{{/doc}}</noinclude>
{| 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}}}
{{!}}-}}
|}{{Mainonly|[[Category:Non-player characters]]}}<noinclude>{{clear}}{{/doc}}</noinclude>

Latest revision as of 14:09, 9 April 2024

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.

premium

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 = 
}}