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
 
(42 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>
</noinclude>
<includeonly>{{#invoke:Infobox|infobox
| name        = {{{title|{{PAGENAME}}}}}
| name        = {{{title|{{PAGENAME}}}}}
| bodyclass    = serverbuild
| bodyclass    = infobox
| title        = {{{title}}}
| title        = {{{title}}}
| image        = [[File:{{{image|}}}|250px]]
| image        = [[File:{{{image|}}}|250px]]
Line 46: 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 79: Line 47:
| label15      = Nearest [[warp]]
| label15      = Nearest [[warp]]
| data15      = {{#if:{{{nearestwarp|}}}|[[{{{nearestwarp}}}]]|Unknown}}
| data15      = {{#if:{{{nearestwarp|}}}|[[{{{nearestwarp}}}]]|Unknown}}
}}</includeonly>
}}
[[Category:Server Builds]]
</includeonly>
[[Category:Residences]]
{{#if:{{{questline|}}}|<includeonly>[[Category:Questlines]]</includeonly>}}
{{#if:{{{category|}}}|[[Category:{{{category}}}|{{PAGENAME}}]]|}}
<noinclude>{{documentation}}
{{#ifeq:{{{nearestwarp}}}|{{PAGENAME}}|[[Category:Warps]]|}}
[[Category:Infobox_templates]]</noinclude>
{{#if:{{{image|}}}||{{images}}}}
{{#if:{{{category|}}}||[[Category:pages_in_need_of_categories]]}}

Latest revision as of 22:09, 7 May 2025