Suburb/History: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (Reverted edits by Uneqawikos (Talk); changed back to last version by The Rooster)
(Replaced content with "VANDALSM")
Line 1: Line 1:
{{TOCright}}
VANDALSM
 
The article explains the history of the DangerMap system, individual image archives can be accessed below, or from [[:Category:Suburb History]].
 
{{:Suburb/History/Navigation}}
 
==The DangerMap System==
 
[[Image:060318-suburb-dangermap.png|thumb|200px|Before the DangerMap System]]
[[Image:080316-suburb-dangermap.png|thumb|200px|The DangerMap System style]]
 
===Before===
Before the current DangerMap system, the map was hardcoded onto the [[Suburb]] page, and only the borders were used to show the danger. Being on one page lead to edit conflicts, and having to edit the style by hand was difficult and often resulted in a broken table or non-existent status colors.
 
===First Version===
The first version of the DangerMap system moved the hard coded table into a template, and allowed users to set styles via variables, as well as leaving timestamps for when a section had been updated. It still caused edit conflicts.
 
===Second Version===
The second version gave each suburb its own page where you could enter a template that gave the correct formatting for the table. This also allowed the status to be transferred to other pages, such as the 9-suburb map which had recently been added to all the suburb pages using the {{tl|Suburb}} template.
:Originally, people wanted the individual pages to not show up in the "Templates on this page" section when editing. At the time, pages inside the user namespace would not be shown in this list, so the individual status pages were created as subpages of {{usr|DangerReport}}. After an update to a newer MediaWiki version, this exploit was corrected, and thus putting the pages into a user account became an annoying mistake.
 
===Current Version===
:The third, and current, version sets a variable inside a template to get the style you want. This allowed for real time feedback on what you entered, rather than obscure formatting text. The system was also made more flexible by allowing you to specify what template to use when calling the report, meaning you could create your own output rather than getting only style formatting back.
 
===The Danger Levels===
:Initially the second version, and all previous versions, only had four different danger levels: Safe, Moderate, Dangerous & Very Dangerous. The exact guidelines of when a suburb was at each one of these levels always created month-length discussions in the [[Talk:Suburb|Suburb talk page]]. A fifth status was created in 2007: Ghost Town.
:A different set of templates is used for noteworthy suburbs. This set will bold the text for such noteworthy suburbs, indicating their importance.
 
[[Category:Suburb History| {{PAGENAME}}]]

Revision as of 11:09, 28 October 2011

VANDALSM