Dogcraft Wiki

Sandbox/Infobox 2.0

From Dogcraft Wiki

No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{WIP}}
{{WIP}}
<div><div class="phonefullscreen" style="width:49%;float:left;display:flex;justify-content:center;">{{Infobox Settlement
<div><div class="phonefullscreen" style="width:49%;float:left;display:flex;justify-content:center;">{{Infobox Build
|title        = Current infobox
|title        = New infobox (wip)
|image        = Egg.png
|image        = Takeshi.png
|caption      = An image caption
|caption      = An image, there is also the option for a sliding gallery
|world        = Survival 5
|world        = Survival 5
|sur4subworld = Shepherd
|sur4subworld = Shepherd
|mayors      = {{Player|Alex}}
|builders    = {{Player|Alex}}
|contributors = {{Player|Steve}}, {{Player|name}}  
|contributors = {{Player|Steve}}, {{Player|name}} <br />{{Player|player}}<br />{{Player|another_one}}
|founded      = 2023, September 8.
|status      = {{Active}}
|xcoord      = -2303
|completed    = 2023, September 8.
|ycoord      = 80
|xcoord      = -2023
|zcoord      = 1456
|ycoord      =  
|zcoord      = 1465
|dimension    = Overworld
|dimension    = Overworld
|status      = {{Active}}
|railway      = '''WIP''': SRN, RHN, CSC, TORN, whatever else is in the overworld
|railway      = SRN, RHN, CSC, TORN, whatever else is in the overworld
|nether      = NTN
|nether      = NTN
}}</div><div class="phonefullscreen" style="width:49%;float:right;display:flex;justify-content:center;">{{Infobox Settlement wip
}}</div><div class="phonefullscreen" style="width:49%;float:right;display:flex;justify-content:center;">{{Project:Sandbox/Infobox 2.0
|title        = New infobox (wip)
|title        = New infobox (wip)
|image        = Takeshi.png
|image        = Takeshi.png
Line 30: Line 30:
|world        = Survival 5
|world        = Survival 5
|sur4subworld = Shepherd
|sur4subworld = Shepherd
|mayors       = {{Player|Alex}}
|builders       = {{Player|Alex}}
|contributors = {{Player|Steve}},  {{Player|name}} <br />{{Player|player}}<br />{{Player|another_one}}
|contributors = {{Player|Steve}},  {{Player|name}} <br />{{Player|player}}<br />{{Player|another_one}}
|founded     = 2023, September 8.
|completed     = 2023, September 8.
|xcoord      = -2303
|xcoord      = -2303
|ycoord      =
|ycoord      =
|zcoord      = 1456
|zcoord      = 1456
|dimension    = Overworld
|dimension    = Overworld
|status      = {{Active}}
|railway      = '''WIP''': SRN, RHN, CSC, TORN, whatever else is in the overworld
|railway      = '''WIP''': SRN, RHN, CSC, TORN, whatever else is in the overworld
|nether      = NTN
|nether      = NTN
|overworld transport = RHN
}}</div></div>
}}</div></div>


Line 57: Line 57:
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|header1      = Settlement
|header1      = Build
|label2  = World
|label2  = World
|data2  = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}}
|data2  = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}}
|label3  = Founded
|label3  = Builder(s)
|data3  = {{{founded|}}}
|data3  = {{{builders|}}}
|label4  = <nowiki>Mayor(s)</nowiki>
|label4  = Contributors
|data4  = {{{mayors|}}}
|data4  = {{{contributors|}}}
|label5  = Contributors
|label5  = Completed
|data5  = {{{contributors|}}}
|data5  = {{{completed|}}}
|label6  = Location
|label6  = Location
|data6  = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
|data6  = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
Line 71: Line 71:
|data7  = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|data7  = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|label8  = Transport
|label8  = Transport
|data8  = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}
|data8  = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}}
}}[[Category:Settlements]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}
}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Revision as of 22:52, 24 June 2022

New infobox (wip)
Survival 5 Shepherd
Takeshi.png
An image, there is also the option for a sliding gallery
Build
WorldSurvival 5 (Shepherd)
Builder(s)20.png Alex
Contributors20.png Steve, 20.png name
20.png player
20.png another_one
Completed2023, September 8.
LocationX= -2023
Z= 1465
TransportWIP: SRN, RHN, CSC, TORN, whatever else is in the overworld
NTN
New infobox (wip)
Survival 5 Shepherd
Build
WorldSurvival 5 (Shepherd)
Builder(s)20.png Alex
Contributors20.png Steve, 20.png name
20.png player
20.png another_one
Completed2023, September 8.
LocationX= -2303
Z= 1456
TransportWIP: SRN, RHN, CSC, TORN, whatever else is in the overworld
NTN
RHN





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 24 June 2022, at 22:52. (21 months ago)
Background Dragon Slayer - Retriever by Ironboundred