Template
Interface template

Infobox Build

From Dogcraft Wiki

imported>William278
No edit summary
No edit summary
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<infobox>
<noinclude>{{Interface template}}[[Category:Infoboxes]]
  <title source="title1"/>
<pre>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <group>
    <header>Build</header>
    <data source="builder(s)">
      <label>Builder(s)</label>
    </data>
    <data source="world">
      <label>World</label>
    </data>
    <data source="location">
      <label>Location</label>
    </data>
    <data source="status">
      <label>[[Status]]</label>
    </data>
  </group>
</infobox>
<noinclude>
Example usage:<pre>
{{Infobox Build
{{Infobox Build
|title1=Example
|title        =  
|image1=Example
|image        =  
|caption1=Example
|caption      =  
|builder(s)=Example
|world        =
|world=Example
|subworld  =
|status=Example
|builders    =  
|location=Example
|contributors =  
|status       =
|completed    =
|xcoord      =
|ycoord      =
|zcoord      =  
|dimension    =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><includeonly>{{Infobox Locatable
|name        =
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheader    = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
{{{image2|}}}{{!}}{{{caption2|}}}
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}}
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|header1      = Build
|label2      = World
|data2        = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|label3      = Type
|data3        = {{{type|}}}
|label4      = Builder(s)
|data4        = {{{builders|}}}
|label5      = Contributors
|data5        = {{{contributors|}}}
|label6      = Completed
|data6        = {{{completed|}}}
|label7      = Location
|data7        = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
|label8      = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}
|data8        = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|label9      = Transport
|data9        = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}}
|label10      = Teleport
|data10      = {{{teleport|}}}
|world = {{{world|Survival 6}}}
|subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}}
|xcoord = {{{xcoord|0}}}
|zcoord = {{{zcoord|0}}}
}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude>
<templatedata>
{
"params": {
"title": {},
"image": {
"label": "image",
"example": "Placeholder Image.png",
"type": "string"
},
"caption": {},
"world": {
"description": "The server world the build is on (current world is Survival 4)"
},
"builders": {},
"contributors": {},
"status": {},
"completed": {},
"xcoord": {},
"ycoord": {},
"zcoord": {},
"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!",
"paramOrder": [
"title",
"image",
"caption",
"world",
"subworld",
"builders",
"contributors",
"status",
"completed",
"xcoord",
"ycoord",
"zcoord",
"dimension"
]
}
</templatedata>

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 Takeshi by Edo