DayZ Wiki

Custom Health 3.jpg DayZ Wiki Update Project!DayZ has undergone a lot of big changes in a short timespan. We need you to help us keep our pages and images up to date! Want to get started? Follow the link or Join the Update Project on Discord!

READ MORE

DayZ Wiki
m
m (Clarified syntax for signs.)
 
Line 2: Line 2:
   
 
== Parameters ==
 
== Parameters ==
 
[[File:Hd_sign_krasnostav.png|thumb|250px|An example of a road sign as would be pictured.]]
 
All parameters are required unless otherwise specified. Blank parameters will revert to ''Unknown'' or blank.
 
All parameters are required unless otherwise specified. Blank parameters will revert to ''Unknown'' or blank.
   
Line 27: Line 28:
 
|-
 
|-
 
|view || The highest-quality and most representative image of the location: For example: <code>AlpherPlaceholder.png</code>
 
|view || The highest-quality and most representative image of the location: For example: <code>AlpherPlaceholder.png</code>
  +
|-
  +
|sign || ''Optional:'' Overrides the pagename and manually adds a sign. Width should be 250px in almost all cases. For example: <code><nowiki>[[Hd_sign_dubky.png|250px|center]]</nowiki></code>
 
|-
 
|-
 
|}
 
|}
   
Additionally, if a file with the name <code>Hd_sign_<TOWNNAME>.png</code> exists, it will be added to the bottom of the infobox. For example:
+
By default, if a file with the name <code><nowiki>Hd_sign_{{PAGENAME}}.png</nowiki></code> exists, it we be automatically rendered as part of the infobox.
 
[[File:Hd_sign_krasnostav.png|thumb|x56px]]
 
   
 
== Empty Template ==
 
== Empty Template ==
Line 48: Line 49:
 
<!-- View -->
 
<!-- View -->
 
|img= [[File: |300px|center]]
 
|img= [[File: |300px|center]]
  +
|sign= [[File: |250px|center]]
 
|}}</pre>
 
|}}</pre>
   

Latest revision as of 19:52, 4 April 2021

Infobox template for Location pages. Place the following template at the top of the article, below any page management templates:

Parameters

An example of a road sign as would be pictured.

All parameters are required unless otherwise specified. Blank parameters will revert to Unknown or blank.

Name Description
name Optional: The name of the location (for non-English pages only, otherwise leave blank).
russian Optional: The location name in cyrillic script as seen in-game.
translation Optional: The location name's meaning in English. To be surrounded by " " e.g. "North City".
map The map image name: For example: AlpherPlaceholder.png
General
category The category that the location falls in e.g. Towns and Cities
coords The 6-digit co-ordinates of the location's center. Found in DZ>worlds>mapname>world>config.cpp or on a website such as [1].
type Optional: The type of settlement. Choose from Large City, Small City, Small City Livonia, Town, Village, Hamlet, Ruins
View
view The highest-quality and most representative image of the location: For example: AlpherPlaceholder.png
sign Optional: Overrides the pagename and manually adds a sign. Width should be 250px in almost all cases. For example: [[Hd_sign_dubky.png|250px|center]]

By default, if a file with the name Hd_sign_{{PAGENAME}}.png exists, it we be automatically rendered as part of the infobox.

Empty Template

Empty template with the most commonly used parameters, for quick copy & paste to be used on new pages:

{{Location
|name= <!-- for use with non-English pages only -->
|russian= 
|translation= 
|map= [[File: |300px|center]]
<!-- General -->
|category= 
|coords= 
|type=
<!-- View -->
|img= [[File: |300px|center]]
|sign= [[File: |250px|center]]
|}}