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
 
(36 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.
| name        = {{{title|{{PAGENAME}}}}}
| bodyclass    = infobox
| title        = {{{title}}}
| image        = [[File:{{{image|}}}|250px]]
| caption      = {{{caption|}}}


Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus.
| header1      = About
| label2      = Contributors
| data2        = {{{contributors|}}}


Please only use this template for staff-created server builds - for player builds use [[Template:Infobox_settlement]] or [[Template:Infobox_building]].
| label3      = Category
| data3        = {{#if:{{{category|}}}|[[:Category:{{{category}}}|{{{category}}}]]|}}


==Usage==
| label4      = Questline?
Copy the text below, paste it at the very top of the relevant article, and modify as appropriate:
| data4        = {{#if:{{{questline|}}}|{{{questline}}}|No}}
<pre>
 
{{Infobox serverbuild
| label5      = Public?
|title        = AwesomeCastle
| data5       = {{{public|Unknown}}}
|image       = Image.png
 
|caption      = View from the front
| label6      = Started
|contributors = Bob, Mike
| data6        = {{{startdate|}}}
|category    = City
 
|underground  = No
| label7      = Released
|public       = Yes
| data7        = {{{releasedate|}}}
|startdate    = 21 November 2016
 
|releasedate  = 17 January 2017
| label8       = Size north to south
|n-s_size     = 40
| data8        = {{#if:{{{n-s_size|}}}|{{{n-s_size|unspecified}}}m|}}
|w-e_size     = 40
 
|height      = 20
| label9      = Size west to east
|xcoord       = -1204
| data9        = {{#if:{{{w-e_size|}}}|{{{w-e_size|unspecified}}}m|}}
|ycoord      = 62
 
|zcoord      = 3028
| label10      = Height
|server       = Alpha
| data10       = {{#if:{{{height|}}}|{{{height|unspecified}}}m|}}
|dimension    = Gallifrey
 
|nearestwarp  = Citadel
| header11    = Location
}}
| label12      = Coordinates
</pre>
| data12       = {{#if:{{{xcoord|}}}|X={{{xcoord}}} <br /> Y={{{ycoord}}} <br /> Z={{{zcoord}}}|}}


Or use this blank template:
| label13     = Server
<pre>
| data13       = {{#if:{{{server|}}}|[[{{{server}}}]]|[[BadWolfMC Alpha|Alpha]]}}
{{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.
| label14      = Dimension
| data14      = {{{dimension|Gallifrey}}}


</noinclude><includeonly>{{Infobox
| label15     = Nearest [[warp]]
|name        =
| data15       = {{#if:{{{nearestwarp|}}}|[[{{{nearestwarp}}}]]|Unknown}}
|bodystyle    =
|title        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|titlestyle  =
|image        = [[File:{{{image|}}}|250px]]
|imagestyle  =
|caption     = {{{caption|}}}
|captionstyle =
|datastyle    =
|header1 = About
|label2  = Contributors
|data2  = {{{contributors|}}}
|label3  = Category
|data3  = {{#if:{{{category|}}}|[[:Category:{{{category|}}}|{{{category|}}}]]|}}
|label4  = Underground?
|data4  = {{{underground|No}}}
|label5  = Public?
|data5  = {{{public|Unknown}}}
|label6  = Started
|data6  = {{{startdate|}}}
|label7  = Released
|data7  = {{{releasedate|}}}
|label8  = Size north to south
|data8  = {{#if:{{{n-s_size|}}}|{{{n-s_size|unspecified }}}m|}}
|label9  = Size west to east
|data9  = {{#if:{{{w-e_size|}}}|{{{w-e_size|unspecified }}}m|}}
|label10  = Height
|data10  = {{#if:{{{height|}}}|{{{height|unspecified }}}m|}}
|header11 = Location
|label12  = Coordinates
|data12  = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}}
|label13  = Server
|data13  = {{#if:{{{server|}}}|[[{{{server|}}}]]|[[BadWolfMC Alpha|Alpha]]}}
|label14  = Dimension
|data14  = {{{dimension|Gallifrey}}}
|label15  = Nearest [[warp]]
|data15   = {{#if:{{{nearestwarp|}}}|[[{{{nearestwarp|}}}]]|Unknown}}
}}
}}
[[Category:Server Builds]][[Category:Residences]]
{{#if:{{{category|}}}|[[Category:{{{category|}}}|{{PAGENAME}}]]|}}{{#ifeq:{{{nearestwarp}}}|{{PAGENAME}}|[[Category:Warps]]|}}{{#if:{{{image|}}}||{{images}}}}{{#if:{{{category|}}}||[[Category:pages_in_need_of_categories]]}}
</includeonly>
</includeonly>
{{#if:{{{questline|}}}|<includeonly>[[Category:Questlines]]</includeonly>}}
<noinclude>{{documentation}}
[[Category:Infobox_templates]]</noinclude>

Latest revision as of 22:09, 7 May 2025