Template:Infobox Room: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(changed to styled infobox version (test))
(Replaced content with "{{#invoke:Infobox Item|main}}{{Mainonly|Category:Locations}}<noinclude>{{/doc}}</noinclude>")
Tag: Replaced
Line 1: Line 1:
{{#invoke:Infobox Item|main}}{{Mainonly|[[Category:Locations]]}}<noinclude>{{/doc}}</noinclude>
{| class="infobox infobox-location" style="float:right"
! colspan="20" class="infobox-header" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
| colspan="20" class="infobox-image" | {{#if:{{{image|}}}|{{clean image|file={{{image}}}}}|[[Special:Upload|Please upload an image!]]{{Mainonly|[[Category:Needs image]]}}}}
|-
! colspan="6" | Release
| colspan="14" | {{#if:{{{release|}}}|{{{release}}}|Q3 [[2024]]}}
|-
! colspan="6" | Premium
| colspan="14" | {{#switch:{{lc:{{{premium|}}}}}|yes=Yes{{Mainonly|[[Category:Premium locations]]}}|no=No|#default={{Edit button|text=<b>?</b> (edit)}}{{Mainonly|[[Category:Needs premium status]]}}}}
|-
! colspan="6" | Episode
| colspan="14" | {{#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}}
|}{{Mainonly|[[Category:Locations]]}}<noinclude>{{clear}}{{/doc}}</noinclude>

Revision as of 12:58, 9 April 2024

Template documentation
This documentation is transcluded from Template:Infobox Room/doc. [edit] [history] [purge]
Template:Infobox Room invokes function main in Module:Infobox Item using Lua.

Parameters

name

The name of the location.

image

The image of the location.

release

The release date of the location.

episode

The episode of the location.

One of:

  • Hopeport
  • Hopeforest
  • Mine of Mantuban
  • Crenopolis

Quick copy

{{Infobox Location
|name = 
|image = 
|release = 
|episode = 
}}