Dogcraft Wiki

Sandbox/Infobox 2.0

From Dogcraft Wiki

No edit summary
No edit summary
Line 59: Line 59:
|nameĀ  Ā  Ā  Ā  = Ā 
|nameĀ  Ā  Ā  Ā  = Ā 
|aboveĀ  Ā  Ā  Ā  = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|aboveĀ  Ā  Ā  Ā  = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheaderĀ  Ā  = [[Survival 5|<div class="infobox-pill">Survival 5</div>]][[Labrador|<div class="infobox-pill">Labrador</div>]]
|subheaderĀ  Ā  = {{WorldPills|{{{world|}}}|{{{sur4subworld|}}}}}
|imageĀ  Ā  Ā  Ā  = {{#if:{{{gallery|}}}|{{{gallery|}}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}}}
|imageĀ  Ā  Ā  Ā  = {{#if:{{{gallery|}}}|{{{gallery|}}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}}}
|captionĀ  Ā  Ā  = {{{caption|<br />}}}
|captionĀ  Ā  Ā  = {{{caption|<br />}}}

Revision as of 23:22, 22 May 2022

Current infobox
Survival 5 Shepherd
Egg.png
An image, there should also be a gallery option for this
Settlement
WorldSurvival 5 (Shepherd)
Founded2023, September 8.
Mayor(s)20.png Alex
Contributors20.png Steve, 20.png name
LocationX= -2303
Y= 80
Z= 1456
TransportSRN, RHN, CSC, TORN, whatever else is in the overworld
NTN

Template:Infobox Settlement wip

{{Infobox Settlement wip
|title        = 
|image        = 
|caption      = 
|world        = 
|sur4subworld =
|mayors       = 
|contributors = 
|founded      = 
|xcoord       = 
|ycoord       = 
|zcoord       = 
|dimension    = 
|status       = 
|railway      = 
|nether       = 
}}


Infobox template to be used on ingame settlements (towns, cities, ect.) on the server.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Headertitle

Infobox header, for use when it should be different from the pagename.

Auto value
{{subst:PAGENAME}}
Stringoptional
Imageimage picture file img

The name of an image (without "File:") to display at the top of the infobox.

Example
Examplet.png
Auto value
Filerequired
Captioncaption

Description of the Image parameter

Stringsuggested
Worldworld

The world in which the settlement was built. Options: Survival, Survival 1, Survival 2, Survival 3, Survival 4, Amplified, Skyblock, Creative, MCMMO, other.

Default
Survival 4
Example
Survival 4
Stringrequired
Survival 4 serversur4subworld subworld

Which of the Survival 4 servers is the settlement located on, Options: Husky, Beagle

Example
Husky
Stringrequired
Mayor(s)mayors mayor

The leader(s) of the settlement. Use {{Player|<playername>}}

Example
{{Player|Example}}
Stringsuggested
Contributor(s)contributors builders

Major contributors to the settlement. Use {{Player|<playername>}}

Example
{{Player|Example}}
Stringsuggested
Foundedfounded

The date of the founding of the settlement

Datesuggested
X-coordinatexcoord

The x coordinate of the settlement's location.

Example
0
Numberrequired
Y-coordinateycoord

The y coordinate of the settlement's location (height)

Example
64
Auto value
64
Numbersuggested
Z-coordinatezcoord

The z coordinate of the settlement's location.

Example
0
Numberrequired
Dimensiondimension

The dimension in which the settlement is located.

Default
Overworld
Example
Overworld
Auto value
Stringoptional
Statusstatus

Expects one of the [[Status|status templates]]. Use {{Defunct}} for settlements on past worlds.

Example
{{Active}}
Templaterequired
Nether accessnether ntn

Name of the NTN line, door, or station from which the settlement can be accessed, if there is one.

Example
Nether Transport Network
Page namesuggested
Railwayrailway srn

Name of the railway or station by which the settlement can be accessed, if there is one.

Example
SRN Branch Line
Page namesuggested
This page was last modified on 22 May 2022, at 23:22. (21 months ago)
Background Takeshi by Edo