Template:BarricadePlan
From The Urban Dead Wiki
Don't start from scratch. Generate!
This is a template for presenting Barricade Plans in the wiki. While this template was designed for Uniform Barricading Policy style plans, by choosing your location types appropriately it can be used to present any type of barricade plan. Inspired by the Template:BarricadePolicyBox template and the Kempsterbank Barricade Plan. This template uses the color scheme from the Map of Malton and the common color code.
Here's an example of what a finished plan might look like:
| 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | |
| 00 | M | Bl | ||||||||
| 01 | NT | |||||||||
| 02 | Ch | S | ||||||||
| 03 | NT | |||||||||
| 04 | M | W | ||||||||
| 05 | ||||||||||
| 06 | Ci | M | AR | AR | ||||||
| 07 | AR | AR | ||||||||
| 08 | H | |||||||||
| 09 | Ci | F |
| Unenterable Buildings | |||
| Extremely Heavily Barricaded | Phone Mast | ||
| Enterable Buildings | |||
| Auto Shop | Fire Station | ||
| Hospital | NecroTech | ||
| Police Department | School | ||
| Other VSB Buildings | Unbarricaded Buildings | ||
| Other Locations | |||
| Street | Monument | ||
| Cemetery | Revivification Point | ||
There are three available variables per location, but only the first is required. The first indicates the type of location or it's barricade designation, as appropriate. The full list of types and their descriptions are below. The second is for the title of the location, which should appear when the mouse is hovered over the block. This is recommended to be the name of the location, such as 'the Jillard Building'. The third is the content of the block. This generally should be left blank, but can be used to add extra code to a local map, such as 'HQ', or to indicate the type of building if it is not designated a default barricade level (as in the above example).
The types of pre-defined locations are:
- AutoShop - Indicates an Auto Shop that is designated VSB.
- Cemetery - Indicates the location of a cemetery.
- EH - Any building that is designated EHB.
- FS - Indicates a Fire Station that is designated VSB.
- H - Indicates a Hospital that is designated VSB.
- Mast - Indicates a building of any type that contains a Phone Mast and is designated EHB.
- Monument - Indicates the location of a Monument. (using Street for all open spaces is acceptable)
- NT - Indicates a NecroTech Building that is designated VSB.
- PD - Indicates a Police Department that is designated VSB.
- RP - Any non-barricadable location that has been designated as a managed Revivification Point.
- School - Indicates a School that is designated VSB.
- Street - Any outside location that is not a cemetery of revivification point.
- VSB - Any barricadable building that does not have a specific color code of its own that has been designated VSB.
- Open - Any building that is designated to be unbarricaded for some unusual reason.
To use the template, go to the code generator, select your suburb and generate the default setup (from UBP standards). You can then customize it as needed. Each block in the suburb is represented one per line following the first. The number used represents the X & Y coordinates within the suburb. So Mitchell Drive Fire Station in East Becktown, with coordinates [27, 31], would be suburb relative X=7, Y=1, which would be location 71 in the wiki code. The locations are ordered in the code going from left to right, line by line starting in the top left, just as you would read English text. The value of content can be left blank, but can be useful to indicate resource buildings that have been over-barricaded, such as if you designate a Hospital to be EHB (type=EH), you could set the content to 'H'.
You could also work it up from scratch from the code below. Replace the X and Y with the base X & Y for your suburb. For example, East Becktown would set x=2 and y=3, and of course suburb=East Becktown. For each block replace TYPE with one of the types listed above. Replace TEXT with the name of that location, such as 'Mitchell Drive Fire Station'.
{{BarricadePlan|x=X|y=Y|suburb=SUBURB
| type00=TYPE | text00=TEXT | content00=
| type10=TYPE | text10=TEXT | content10=
| type20=TYPE | text20=TEXT | content20=
| type30=TYPE | text30=TEXT | content30=
| type40=TYPE | text40=TEXT | content40=
| type50=TYPE | text50=TEXT | content50=
| type60=TYPE | text60=TEXT | content60=
| type70=TYPE | text70=TEXT | content70=
| type80=TYPE | text80=TEXT | content80=
| type90=TYPE | text90=TEXT | content90=
| type01=TYPE | text01=TEXT | content01=
| type11=TYPE | text11=TEXT | content11=
| type21=TYPE | text21=TEXT | content21=
| type31=TYPE | text31=TEXT | content31=
| type41=TYPE | text41=TEXT | content41=
| type51=TYPE | text51=TEXT | content51=
| type61=TYPE | text61=TEXT | content61=
| type71=TYPE | text71=TEXT | content71=
| type81=TYPE | text81=TEXT | content81=
| type91=TYPE | text91=TEXT | content91=
| type02=TYPE | text02=TEXT | content02=
| type12=TYPE | text12=TEXT | content12=
| type22=TYPE | text22=TEXT | content22=
| type32=TYPE | text32=TEXT | content32=
| type42=TYPE | text42=TEXT | content42=
| type52=TYPE | text52=TEXT | content52=
| type62=TYPE | text62=TEXT | content62=
| type72=TYPE | text72=TEXT | content72=
| type82=TYPE | text82=TEXT | content82=
| type92=TYPE | text92=TEXT | content92=
| type03=TYPE | text03=TEXT | content03=
| type13=TYPE | text13=TEXT | content13=
| type23=TYPE | text23=TEXT | content23=
| type33=TYPE | text33=TEXT | content33=
| type43=TYPE | text43=TEXT | content43=
| type53=TYPE | text53=TEXT | content53=
| type63=TYPE | text63=TEXT | content63=
| type73=TYPE | text73=TEXT | content73=
| type83=TYPE | text83=TEXT | content83=
| type93=TYPE | text93=TEXT | content93=
| type04=TYPE | text04=TEXT | content04=
| type14=TYPE | text14=TEXT | content14=
| type24=TYPE | text24=TEXT | content24=
| type34=TYPE | text34=TEXT | content34=
| type44=TYPE | text44=TEXT | content44=
| type54=TYPE | text54=TEXT | content54=
| type64=TYPE | text64=TEXT | content64=
| type74=TYPE | text74=TEXT | content74=
| type84=TYPE | text84=TEXT | content84=
| type94=TYPE | text94=TEXT | content94=
| type05=TYPE | text05=TEXT | content05=
| type15=TYPE | text15=TEXT | content15=
| type25=TYPE | text25=TEXT | content25=
| type35=TYPE | text35=TEXT | content35=
| type45=TYPE | text45=TEXT | content45=
| type55=TYPE | text55=TEXT | content55=
| type65=TYPE | text65=TEXT | content65=
| type75=TYPE | text75=TEXT | content75=
| type85=TYPE | text85=TEXT | content85=
| type95=TYPE | text95=TEXT | content95=
| type06=TYPE | text06=TEXT | content06=
| type16=TYPE | text16=TEXT | content16=
| type26=TYPE | text26=TEXT | content26=
| type36=TYPE | text36=TEXT | content36=
| type46=TYPE | text46=TEXT | content46=
| type56=TYPE | text56=TEXT | content56=
| type66=TYPE | text66=TEXT | content66=
| type76=TYPE | text76=TEXT | content76=
| type86=TYPE | text86=TEXT | content86=
| type96=TYPE | text96=TEXT | content96=
| type07=TYPE | text07=TEXT | content07=
| type17=TYPE | text17=TEXT | content17=
| type27=TYPE | text27=TEXT | content27=
| type37=TYPE | text37=TEXT | content37=
| type47=TYPE | text47=TEXT | content47=
| type57=TYPE | text57=TEXT | content57=
| type67=TYPE | text67=TEXT | content67=
| type77=TYPE | text77=TEXT | content77=
| type87=TYPE | text87=TEXT | content87=
| type97=TYPE | text97=TEXT | content97=
| type08=TYPE | text08=TEXT | content08=
| type18=TYPE | text18=TEXT | content18=
| type28=TYPE | text28=TEXT | content28=
| type38=TYPE | text38=TEXT | content38=
| type48=TYPE | text48=TEXT | content48=
| type58=TYPE | text58=TEXT | content58=
| type68=TYPE | text68=TEXT | content68=
| type78=TYPE | text78=TEXT | content78=
| type88=TYPE | text88=TEXT | content88=
| type98=TYPE | text98=TEXT | content98=
| type09=TYPE | text09=TEXT | content09=
| type19=TYPE | text19=TEXT | content19=
| type29=TYPE | text29=TEXT | content29=
| type39=TYPE | text39=TEXT | content39=
| type49=TYPE | text49=TEXT | content49=
| type59=TYPE | text59=TEXT | content59=
| type69=TYPE | text69=TEXT | content69=
| type79=TYPE | text79=TEXT | content79=
| type89=TYPE | text89=TEXT | content89=
| type99=TYPE | text99=TEXT | content99=
}}
