Template:Infobox Room: Difference between revisions

(Created page with "{| class="wikitable infobox-location" style="float:right" ! colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- |colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{clean image|file={{{image}}}}}|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 locations]...")
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#invoke:Infobox Room|main}}{{Mainonly|[[Category:Rooms]]}}<noinclude>{{/doc}}</noinclude>
{| class="wikitable infobox-location" 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 locations]]}}|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}}
|}{{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 = 
}}