Template
Interface template

Infobox Build

From Dogcraft Wiki

No edit summary
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Interface template}}[[Category:Infoboxes]]
<pre>
<pre>
{{Infobox Build
{{Infobox Build
Line 6: Line 6:
|caption      =  
|caption      =  
|world        =  
|world        =  
|sur4subworld =  
|subworld  =  
|builders    =  
|builders    =  
|contributors =  
|contributors =  
Line 17: Line 17:
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><includeonly>{{Infobox Locatable
<includeonly>{{Infobox
|name        =  
|name        =  
|bodystyle    =
|above       = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|title       = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheader    = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|titlestyle  =  
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
|image        = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
|imagestyle  =
{{{image2|}}}{{!}}{{{caption2|}}}
|caption      = {{{caption|<br />}}}
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}}
|captionstyle = color:#000;
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
|headerstyle  = background:#8b0024; color:#fff;
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|labelstyle  = padding: 3px;
|header1      = Build
|datastyle    = padding: 3px;
|label2      = World
|header1 = {{Large|Build}}
|data2        = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|label2  = World
|label3       = Type
|data2  = {{#if: {{{world}}} | {{#switch: {{{world}}} | Survival = [[Survival]] | Survival 1 = [[Survival 1]] | Survival 2 = [[Survival 2]] | Survival 3 = [[Survival 3]] | Survival 4 = {{#switch: {{{sur4subworld|}}} | Husky = [[Survival 4]] (Husky) | Beagle = [[Survival 4]] (Beagle)) | [[Survival 4]]}} | Amplified = [[Amplified]] | Skyblock = [[Skyblock]] | Creative = [[Creative]] | MCMMO = [[MCMMO]] | {{{world}}} }}|}}
|data3       = {{{type|}}}
|label3 = <nowiki>Builder(s)</nowiki>
|label4       = Builder(s)
|data3   = {{{builders|}}}
|data4       = {{{builders|}}}
|label4 = Contributors
|label5       = Contributors
|data4   = {{{contributors|}}}
|data5       = {{{contributors|}}}
|label5 = [[Status]]
|label6       = Completed
|data5   = {{{status|}}}
|data6       = {{{completed|}}}
|label6 = Completed
|label7       = Location
|data6   = {{{completed|}}}
|data7       = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
|label7 = Location
|label8       = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}
|data7 = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}}
|data8       = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|label8 = Dimension
|label9      = Transport
|data8   = {{{dimension|Overworld}}}
|data9        = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}}
|header9 = {{#if: {{{sur4subworld|}}} | {{#if:{{{xcoord|}}} | [https://dogcraft.net/map/{{{sur4subworld|}}}?x={{{xcoord|0}}}&z={{{zcoord|0}}} <span class="fa fa-map-marker"></span>&nbsp;View on Map]|}}|}}  
|label10      = Teleport
}}
|data10      = {{{teleport|}}}
 
|world = {{{world|Survival 6}}}
[[Category:Builds]]
|subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}}
</includeonly>
|xcoord = {{{xcoord|0}}}
<noinclude>
|zcoord = {{{zcoord|0}}}
}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 57: Line 57:
"image": {
"image": {
"label": "image",
"label": "image",
"example": "Dogcraft Red Cog Logo.png",
"example": "Placeholder Image.png",
"type": "string"
"type": "string"
},
},
"caption": {},
"caption": {},
"world": {},
"world": {
"description": "The server world the build is on (current world is Survival 4)"
},
"builders": {},
"builders": {},
"contributors": {},
"contributors": {},
Line 69: Line 71:
"ycoord": {},
"ycoord": {},
"zcoord": {},
"zcoord": {},
"dimension": {}
"dimension": {},
"subworld": {
"description": "Which sub-world is this build on (Husky, Beagle, Akita, Labrador, etc..)"
}
},
},
"description": "An infobox with important information about a player's build!"
"description": "An infobox with important information about a player's build!",
"paramOrder": [
"title",
"image",
"caption",
"world",
"subworld",
"builders",
"contributors",
"status",
"completed",
"xcoord",
"ycoord",
"zcoord",
"dimension"
]
}
}
</templatedata>
</templatedata>
</noinclude>

Latest revision as of 15:58, 13 February 2024

{{Infobox Build
|title        = 
|image        = 
|caption      = 
|world        = 
|subworld   = 
|builders     = 
|contributors = 
|status       =
|completed    = 
|xcoord       = 
|ycoord       = 
|zcoord       = 
|dimension    = 
}}

An infobox with important information about a player's build!

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
imageimage

no description

Example
Placeholder Image.png
Stringoptional
captioncaption

no description

Unknownoptional
worldworld

The server world the build is on (current world is Survival 4)

Unknownoptional
subworldsubworld

Which sub-world is this build on (Husky, Beagle, Akita, Labrador, etc..)

Unknownoptional
buildersbuilders

no description

Unknownoptional
contributorscontributors

no description

Unknownoptional
statusstatus

no description

Unknownoptional
completedcompleted

no description

Unknownoptional
xcoordxcoord

no description

Unknownoptional
ycoordycoord

no description

Unknownoptional
zcoordzcoord

no description

Unknownoptional
dimensiondimension

no description

Unknownoptional