Template:Infobox Room: Difference between revisions

(changed to styled infobox version (test))
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Infobox Room|main}}{{Mainonly|[[Category:Rooms]]}}<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>

Latest revision as of 18:08, 4 November 2024

Template documentation
This documentation is transcluded from Template:Infobox Room/doc. [edit] [history] [purge]
Template:Infobox Room invokes function main in Module:Infobox Room 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 = 
}}