Jump to content

📢 Please make sure to read our Style Guide before editing. For questions, suggestions, or technical issues, please contact Noah. ✖

Template:Infobox Shop: Difference between revisions

From CrabCraft Wiki
Adds image
Adds styles
Line 20: Line 20:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<templatestyles src="Template:Infobox Shop/styles.css" />
{{#invoke:Infobox Shop|infobox}}
{{#invoke:Infobox Shop|infobox}}
</includeonly>
</includeonly>

Revision as of 21:05, 23 June 2025

Usage

Place this on any shop’s page to display the shop infobox. Just replace the example values in the code block below with your own.

Example

Diamond Emporium
[[File:|300px]]
General Information
Shop Name Diamond Emporium
Owner BlockKnight32
Type General Goods
Location
Location Town
Coordinates X: 1024, Y: 64, Z: -512
Dates
Date Opened 1st April 2025
Inventory
Items Sold Diamonds, Emeralds, Enchanted Books
Currency Emeralds & Diamonds
About
Description “Finest gemstones at rock-bottom prices.”



An infobox displaying key attributes of an SMP player-run shop.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Shop Nameshopname

The name of the shop.

Stringrequired
Imageimage

An image of the shop ingame

Filesuggested
Shop Ownershopowner

Minecraft username of the shop owner.

Stringrequired
Shop Typeshoptype

Category of goods or service (e.g. ‘General Goods’, ‘Food’, ‘Tools’).

Stringsuggested
Shop Statusstatus

Current operational status.

Suggested values
Active Closed Under Renovation Seasonal
Stringoptional
Locationlocation

In-game location (e.g. town).

Stringoptional
Coordinatescoordinates

Exact in-game X,Y,Z coordinates.

Stringoptional
Date Openeddateopened

The date the shop first opened.

Dateoptional
Date Closeddateclosed

The date the shop closed (if applicable).

Dateoptional
Items Solditems

Key items or categories sold.

Stringsuggested
Currency Acceptedcurrency

Types of currency used (e.g. Emeralds, Diamonds).

Stringsuggested
Descriptiondescription

Short tagline or description.

Stringsuggested