Jump to content

Template:Infobox serverbuild: Difference between revisions

From BadWolfMC Wiki
No edit summary
Tag: Reverted
Undo revision 6236 by Merc (talk)
Tag: Undo
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
== When to use ==
{{infobox
Place this on any page suitable for the [[:Category:Server Builds|Server Builds]] category. It will add the page to the category, as well as producing the handy info box.
 
Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus.
 
Please only use this template for staff-created server builds - for player builds use [[Template:Infobox_settlement]] or [[Template:Infobox_building]].
 
==Usage==
Copy the text below, paste it at the very top of the relevant article, and modify as appropriate:
<pre>
{{Infobox serverbuild
|title        = AwesomeCastle
|image        = Image.png
|caption      = View from the front
|contributors = Bob, Mike
|category    = City
|underground  = No
|public      = Yes
|startdate    = 21 November 2016
|releasedate  = 17 January 2017
|n-s_size    = 40
|w-e_size    = 40
|height      = 20
|xcoord      = -1204
|ycoord      = 62
|zcoord      = 3028
|server      = Alpha
|dimension    = Gallifrey
|nearestwarp  = Citadel
}}
</pre>
 
Or use this blank template:
<pre>
{{Infobox serverbuild
|title        =
|image        =
|caption      =
|contributors =
|category    =
|underground  =
|public      =
|startdate    =
|releasedate  =
|n-s_size    =
|w-e_size    =
|height      =
|xcoord      =
|ycoord      =
|zcoord      =
|server      =
|dimension    =
|nearestwarp  =
}}
</pre>
 
Note: If you use this template and don't populate all fields, '''do not delete the unused fields''' - this will only make it difficult for future editors to fill in the additional information later.
 
</noinclude>
<includeonly>{{Infobox
| name        = {{{title|{{PAGENAME}}}}}
| name        = {{{title|{{PAGENAME}}}}}
| bodyclass    = serverbuild
| bodyclass    = infobox
| title        = {{{title}}}
| title        = {{{title}}}
| image        = [[File:{{{image|}}}|250px]]
| image        = [[File:{{{image|}}}|250px]]
Line 67: Line 8:


| header1      = About
| header1      = About
| data1        = Use this section to describe the build briefly.
| label2      = Contributors
| label2      = Contributors
| data2        = {{{contributors|}}}
| data2        = {{{contributors|}}}
Line 75: Line 14:
| data3        = {{#if:{{{category|}}}|[[:Category:{{{category}}}|{{{category}}}]]|}}
| data3        = {{#if:{{{category|}}}|[[:Category:{{{category}}}|{{{category}}}]]|}}


| label4      = Underground?
| label4      = Questline?
| data4        = {{{underground|No}}}
| data4        = {{#if:{{{questline|}}}|{{{questline}}}|No}}


| label5      = Public?
| label5      = Public?
Line 87: Line 26:
| data7        = {{{releasedate|}}}
| data7        = {{{releasedate|}}}


| label8      = Size north–south
| label8      = Size north to south
| data8        = {{#if:{{{n-s_size|}}}|{{{n-s_size}}} m|}}
| data8        = {{#if:{{{n-s_size|}}}|{{{n-s_size|unspecified}}}m|}}


| label9      = Size west–east
| label9      = Size west to east
| data9        = {{#if:{{{w-e_size|}}}|{{{w-e_size}}} m|}}
| data9        = {{#if:{{{w-e_size|}}}|{{{w-e_size|unspecified}}}m|}}


| label10      = Height
| label10      = Height
| data10      = {{#if:{{{height|}}}|{{{height}}} m|}}
| data10      = {{#if:{{{height|}}}|{{{height|unspecified}}}m|}}


| header11    = Location
| header11    = Location
| label12      = Coordinates
| label12      = Coordinates
| data12      = {{#if:{{{xcoord|}}}|X={{{xcoord}}} Y={{{ycoord}}} Z={{{zcoord}}}|}}
| data12      = {{#if:{{{xcoord|}}}|X={{{xcoord}}} <br /> Y={{{ycoord}}} <br /> Z={{{zcoord}}}|}}


| label13      = Server
| label13      = Server
| data13      = {{#if:{{{server|}}}|[[{{{server}}}]]|Alpha}}
| data13      = {{#if:{{{server|}}}|[[{{{server}}}]]|[[BadWolfMC Alpha|Alpha]]}}


| label14      = Dimension
| label14      = Dimension
| data14      = {{{dimension|Gallifrey}}}
| data14      = {{{dimension|Gallifrey}}}


| label15      = Nearest warp
| label15      = Nearest [[warp]]
| data15      = {{{nearestwarp|Unknown}}}
| data15      = {{#if:{{{nearestwarp|}}}|[[{{{nearestwarp}}}]]|Unknown}}
}}</includeonly>
}}
</includeonly>
{{#if:{{{questline|}}}|<includeonly>[[Category:Questlines]]</includeonly>}}
<noinclude>{{documentation}}
[[Category:Infobox_templates]]</noinclude>

Latest revision as of 22:09, 7 May 2025