Template
Interface template

Infobox Build

From Dogcraft Wiki

No edit summary
No edit summary
 
(8 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:{{main-color}}; 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   = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}}
|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 = {{#switch: {{#if: {{{dimension|}}}|{{{dimension|}}}|Overworld}} | Overworld = {{#if: {{{sur4subworld|}}} | {{#if:{{{xcoord|}}} | [https://dogcraft.net/map/{{{sur4subworld|}}}?zoom=3&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]][[Category:{{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}|mode=Category}}]]
|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"
},
},
Line 72: Line 72:
"zcoord": {},
"zcoord": {},
"dimension": {},
"dimension": {},
"sur4subworld": {
"subworld": {
"description": "Is the build on Husky or Beagle?"
"description": "Which sub-world is this build on (Husky, Beagle, Akita, Labrador, etc..)"
}
}
},
},
Line 82: Line 82:
"caption",
"caption",
"world",
"world",
"sur4subworld",
"subworld",
"builders",
"builders",
"contributors",
"contributors",
Line 94: Line 94:
}
}
</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
Background Valentine's Day Event 2024 by TheWhiteTigerNL