Template:Infobox Item: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Infobox item fixes and things)
m (Add <includeonly> tags)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Infobox Item|main}}{{Mainonly|[[Category:Items]]}}</includeonly><noinclude>{{/doc}}</noinclude>
{| class="wikitable infobox-item" style="float:right"
!colspan="2"|{{{name|{{PAGENAME}}}}}
|-
|colspan="2" style="text-align:center"| {{{image|[[Special:Upload|Please upload an image!]]{{Mainonly|[[Category:Needs image]]}}}}}
|-
|<b>Release date</b>||{{{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}}
|-
|<b>Profession</b>||{{{profession|{{Edit button|text=<b>?</b> (edit)}}}}}
|-
|<b>Value</b>||{{{value|{{Edit button|text=<b>?</b> (edit)}}}}}
|}<includeonly>{{Mainonly|[[Category:Items]]}}</includeonly>

Latest revision as of 02:42, 15 November 2024

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

Parameters

name

The name of the item.

image

The image of the item.

release

The release date of the item.

episode

The episode of the item.

One of:

  • Hopeport
  • Hopeforest
  • Mine of Mantuban
  • Crenopolis
  • Stonemaw Hill

additional_episode

The second episode of the item. (Optional)

value

The value of the item. Set to 0 for quest items.

quest

"No" or "Quest Name"

actions

Comma-separated list of the actions shown in the scenery entity's action menu, in the order they appear in game when opened in backpack, quest interface, or toolbelt. Do not include actions that all items have, such as "Take" when they're on the ground, or "Info" to view the card, or "Equip" for weapons and armor. (Optional)

description

The description of the item in its card.

variant

What base category the item is a variant of.

profession_a

The first profession that this item is related to. (Optional)

profession_a_level

The level of the first profession that this item requires. (Optional, required if profession_a is filled)

profession_b

The second profession that this item is related to. (Optional)

profession_b_level

The level of the second profession that this item requires. (Optional, required if profession_b is filled)

Quick copy

{{Infobox Item
|name = 
|image = 
|release = 
|episode = 
|additional_episode = 
|value = 
|quest = 
|actions = 
|description = 
|variant = 
|profession_a = 
|profession_a_level = 
|profession_b = 
|profession_b_level = 
}}