Jump to content

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

Template:Infobox Base: Difference between revisions

From CrabCraft Wiki
Adds base
 
Adds season 6
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Place this on any base’s page to display the base infobox. Just replace the example values in the code block below with your own.
Place this on any base’s page to display the base infobox. Just replace the example values in the code block below with your own.
Line 6: Line 7:
{{Infobox Base
{{Infobox Base
| basename        = Creeper Cove
| basename        = Creeper Cove
| image          = [[File:Base.jpg|300px]]
| image          = Steve's_House.png
| owner          = [[BlockKnight32]]
| owner          = [[BlockKnight32]]
| basetype        = Underground
| basetype        = Underground
| status          = Active
| season          = [[Season 3]]
| season          = [[Season 3]]
| location        = Jungle Biome
| location        = Jungle Biome
Line 18: Line 18:
| notablefeatures = Hidden vault, Auto-farm complex, Creeper statue
| notablefeatures = Hidden vault, Auto-farm complex, Creeper statue
| description    = “A hidden paradise of explosions and automation.”
| description    = “A hidden paradise of explosions and automation.”
}}
}}{{#cargo_declare:
</noinclude>
  _table=base_data
  | basename=String
  | image=File
  | owner=Page
  | basetype=String
  | status=String
  | season=Page
  | location=String
  | coordinates=String
  | dateestablished=Date
  | dateabandoned=Date
  | members=Text
  | notablefeatures=Text
  | description=Text
}}</noinclude>
<includeonly>
<includeonly>
<templatestyles src="Template:Infobox Base/styles.css" />
{{#cargo_store:
  _table=base_data
  | basename={{{basename|}}}
  | image={{{image|}}}
  | owner={{{owner|}}}
  | basetype={{{basetype|}}}
  | status={{{status|}}}
  | season={{{season|}}}
  | location={{{location|}}}
  | coordinates={{{coordinates|}}}
  | dateestablished={{{dateestablished|}}}
  | dateabandoned={{{dateabandoned|}}}
  | members={{{members|}}}
  | notablefeatures={{{notablefeatures|}}}
  | description={{{description|}}}
}}<templatestyles src="Template:Infobox Base/styles.css" />
{{#invoke:Infobox Base|infobox}}
{{#invoke:Infobox Base|infobox}}
</includeonly>
</includeonly>
Line 58: Line 87:
"dateestablished": {
"dateestablished": {
"label": "Date Established",
"label": "Date Established",
"type": "date",
"type": "string",
"description": "The date the base was founded."
"description": "The date the base was founded."
},
},
"dateabandoned": {
"dateabandoned": {
"label": "Date Abandoned",
"label": "Date Abandoned",
"type": "date",
"type": "string",
"description": "The date the base was abandoned (if applicable)."
"description": "The date the base was abandoned (if applicable)."
},
},
Line 97: Line 126:
"[[Season 3]]",
"[[Season 3]]",
"[[Season 4]]",
"[[Season 4]]",
"[[Season V]]"
"[[Season V]]",
"[[Season 6]]"
],
],
"suggested": true
"suggested": true

Latest revision as of 18:46, 29 December 2025


Usage

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

Example

Creeper Cove
General Info
Base Name Creeper Cove
Owner BlockKnight32
Base Type Underground
Season Season 3
Location
Biome / Area Jungle Biome
Coordinates X: 2048, Y: 72, Z: -1280
Timeline
Date Established 15th March 2025
People
Members BlockKnight32, RedstonerMax, ShadyBuilder
Features
Notable Features Hidden vault, Auto-farm complex, Creeper statue
Description “A hidden paradise of explosions and automation.”

This template defines the table "base_data". View table.


An infobox displaying key attributes of an SMP player base.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Base Namebasename

The name of the base.

Stringrequired
Imageimage

An image of the base in-game

Filesuggested
Base Ownerowner

Primary Minecraft username responsible for the base.

Stringrequired
Base Typebasetype

The style or structure type of the base (e.g. Underground, Skybase, Castle).

Stringoptional
Seasonseason

The season the base was active

Suggested values
[[Season 1]] [[Season 2]] [[Season 3]] [[Season 4]] [[Season V]] [[Season 6]]
Example
Season 4
Stringsuggested
Locationlocation

Biome or area the base is in (e.g. Plains Biome, Spawn Town).

Stringoptional
Coordinatescoordinates

Exact in-game X,Y,Z coordinates.

Stringoptional
Date Establisheddateestablished

The date the base was founded.

Stringoptional
Date Abandoneddateabandoned

The date the base was abandoned (if applicable).

Stringoptional
Membersmembers

List of other SMP players who are members or co-builders.

Stringoptional
Notable Featuresnotablefeatures

Interesting or unique aspects of the base (e.g. redstone contraptions, statues, mega builds).

Stringoptional
Descriptiondescription

Short tagline or lore summary.

Stringoptional