Template:Infobox Scenery: 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 Scenery|main}}{{Mainonly|Category:Scenery}}<noinclude>{{/doc}}</noinclude>")
Tag: Replaced
 
Line 1:
{{#invoke:Infobox Scenery|main}}{{Mainonly|[[Category:Scenery]]}}<noinclude>{{clear}}{{/doc}}</noinclude>
{| class="wikitable infobox-scenery" 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 scenery]]}}|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:Scenery]]}}<noinclude>{{clear}}{{/doc}}</noinclude>

Latest revision as of 14:00, 9 April 2024

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

Parameters

name

The name of the scenery.

image

The image of the scenery.

release

The release date of the scenery.

episode

The episode of the scenery.

One of:

  • Hopeport
  • Hopeforest
  • Mine of Mantuban
  • Crenopolis

actions

Comma-separated list of the actions shown in the scenery entity's action menu, in the order they appear in game. Do not include actions that all objects have, such as "Info" to view the card, or "Take" if it's actually an item. (Optional)

description

The description of the scenery in its card.

Quick copy

{{Infobox Scenery
|name = 
|image = 
|release = 
|episode = 
|actions = 
|description = 
}}