Category:BarricadePlan System Components

From The Urban Dead Wiki
Jump to navigationJump to search

Resources » Wiki Resources » Templates » Template Components » BarricadePlan System Components

These are components for the series of templates which make up the BarricadePlan system, which is the current primary method to display Barricade Plans.

Documentation

The main template to display these plans is {{BarricadePlanLarge}} though several others exist. This template was created after discussion began to replace {{BarricadePlan}} template which was the most widely used at the time. Despite the similar names, the latter is not part of the current system. This system uses a colour-coding scheme to distinguish between empty blocks, generic buildings and TRPs. The border around a block indicates the desired barricade level.

Suburb Barricade Plans

Each suburb has its own barricade plan as supported by the local groups and survivors. The plans that appear on the Category:Barricade Plans list are the current wiki-endorsed plans. Other plans, while not endorsed, can be found at Category:Alternate Barricade Plans.

The template that each plan is coded on can be found at Category:Barricade Plan Templates.

When displaying a plan, one can type the name of the plan template such as Dakerstown Barricade Plan onto the page and this will generate the plan using the {{BarricadePlanLarge}} template as default. The first variable can be passed to specify another template entirely that can be used to format the plan. By passing Dakerstown Barricade Plan|Small a smaller version is generated using {{BarricadePlanSmall}}. The current variations are:

  • Large is the default plan. It includes links written onto each block.
  • Small is a smaller version that only show extra text on blocks, with names appearing as tooltips.

Variables

  • x and y are the tens digits for the x and y co-ordinates of locations within the suburb. For example, Santlerville blocks have X co-ordinates 70-79, so x=7. Y co-ordinates range from 20-29, so y=2. There then can be upto five variables to specify per block.
  • nameXY is the name of the wiki page for the building. It will be automatically linked. This must always be specified.
  • altXY is the text that will appear in the piped link. This should be the in-game name of the location. This need only be specified if it differs from the name.
  • cadeXY is the the desired level of barricades for the building. This defaults to None. In the case of empty blocks, you can remove this variable. For other blocks it is suggested you specify it, even if this means specifying it as Empty so that it will be easier to change later. These templates are prefixed "Template:BP-" should you need to create others. Valid codes include:
    • None to indicate no barricades, or an open block.
    • VSB to indicate the barricades should be maintained Very Strongly Barricaded and that the building is an entry point.
    • EHB to indicate the barricades should be maintained to Extremely Heavily Barricaded in order to provide maximum security.
  • typeXY is the type of block. This can be any TRP, a generic building, or an empty block. This will default to Street, so this can be left out when defining empty blocks. These templates are prefixed "Template:BP-" should you need to create others. Valid codes include:
    • Street for any empty, unbarricadable, block.
    • Generic for any non-TRP building not listed below.
    • Fort for all blocks that make up a fort complex.
    • Mall for all blocks in a mall structure.
    • NT for NecroTech buildings.
    • Hospital for hospitals.
    • PD for police departments.
    • ARS for auto repair shops.
    • Factory for factories.
  • textXY is used to display any extra text on that block. As a standard, revive points are marked "RP", mobile phone masts are marked "MPM" and dark buildings are marked "Dark". For your own plans, you can display whatever you like. You need not define this variable if there is no text required.

In the code format, X is incremented, then Y. This means that you complete a row of the plan from left to right, then move down and complete another row.

Usage Format

Remember to fill in each variable. If you don't need it for that block, remove it entirely to save space.

{{BarricadePlan{{{1|Large}}}
|x=|y=

| name00= | alt00= | cade00= | type00= | text00=
| name10= | alt10= | cade10= | type10= | text10=
| name20= | alt20= | cade20= | type20= | text20=
| name30= | alt30= | cade30= | type30= | text30=
| name40= | alt40= | cade40= | type40= | text40=
| name50= | alt50= | cade50= | type50= | text50=
| name60= | alt60= | cade60= | type60= | text60=
| name70= | alt70= | cade70= | type70= | text70=
| name80= | alt80= | cade80= | type80= | text80=
| name90= | alt90= | cade90= | type90= | text90=

| name01= | alt01= | cade01= | type01= | text01=
| name11= | alt11= | cade11= | type11= | text11=
| name21= | alt21= | cade21= | type21= | text21=
| name31= | alt31= | cade31= | type31= | text31=
| name41= | alt41= | cade41= | type41= | text41=
| name51= | alt51= | cade51= | type51= | text51=
| name61= | alt61= | cade61= | type61= | text61=
| name71= | alt71= | cade71= | type71= | text71=
| name81= | alt81= | cade81= | type81= | text81=
| name91= | alt91= | cade91= | type91= | text91=

| name02= | alt02= | cade02= | type02= | text02=
| name12= | alt12= | cade12= | type12= | text12=
| name22= | alt22= | cade22= | type22= | text22=
| name32= | alt32= | cade32= | type32= | text32=
| name42= | alt42= | cade42= | type42= | text42=
| name52= | alt52= | cade52= | type52= | text52=
| name62= | alt62= | cade62= | type62= | text62=
| name72= | alt72= | cade72= | type72= | text72=
| name82= | alt82= | cade82= | type82= | text82=
| name92= | alt92= | cade92= | type92= | text92=

| name03= | alt03= | cade03= | type03= | text03=
| name13= | alt13= | cade13= | type13= | text13=
| name23= | alt23= | cade23= | type23= | text23=
| name33= | alt33= | cade33= | type33= | text33=
| name43= | alt43= | cade43= | type43= | text43=
| name53= | alt53= | cade53= | type53= | text53=
| name63= | alt63= | cade63= | type63= | text63=
| name73= | alt73= | cade73= | type73= | text73=
| name83= | alt83= | cade83= | type83= | text83=
| name93= | alt93= | cade93= | type93= | text93=

| name04= | alt04= | cade04= | type04= | text04=
| name14= | alt14= | cade14= | type14= | text14=
| name24= | alt24= | cade24= | type24= | text24=
| name34= | alt34= | cade34= | type34= | text34=
| name44= | alt44= | cade44= | type44= | text44=
| name54= | alt54= | cade54= | type54= | text54=
| name64= | alt64= | cade64= | type64= | text64=
| name74= | alt74= | cade74= | type74= | text74=
| name84= | alt84= | cade84= | type84= | text84=
| name94= | alt94= | cade94= | type94= | text94=

| name05= | alt05= | cade05= | type05= | text05=
| name15= | alt15= | cade15= | type15= | text15=
| name25= | alt25= | cade25= | type25= | text25=
| name35= | alt35= | cade35= | type35= | text35=
| name45= | alt45= | cade45= | type45= | text45=
| name55= | alt55= | cade55= | type55= | text55=
| name65= | alt65= | cade65= | type65= | text65=
| name75= | alt75= | cade75= | type75= | text75=
| name85= | alt85= | cade85= | type85= | text85=
| name95= | alt95= | cade95= | type95= | text95=

| name06= | alt06= | cade06= | type06= | text06=
| name16= | alt16= | cade16= | type16= | text16=
| name26= | alt26= | cade26= | type26= | text26=
| name36= | alt36= | cade36= | type36= | text36=
| name46= | alt46= | cade46= | type46= | text46=
| name56= | alt56= | cade56= | type56= | text56=
| name66= | alt66= | cade66= | type66= | text66=
| name76= | alt76= | cade76= | type76= | text76=
| name86= | alt86= | cade86= | type86= | text86=
| name96= | alt96= | cade96= | type96= | text96=

| name07= | alt07= | cade07= | type07= | text07=
| name17= | alt17= | cade17= | type17= | text17=
| name27= | alt27= | cade27= | type27= | text27=
| name37= | alt37= | cade37= | type37= | text37=
| name47= | alt47= | cade47= | type47= | text47=
| name57= | alt57= | cade57= | type57= | text57=
| name67= | alt67= | cade67= | type67= | text67=
| name77= | alt77= | cade77= | type77= | text77=
| name87= | alt87= | cade87= | type87= | text87=
| name97= | alt97= | cade97= | type97= | text97=

| name08= | alt08= | cade08= | type08= | text08=
| name18= | alt18= | cade18= | type18= | text18=
| name28= | alt28= | cade28= | type28= | text28=
| name38= | alt38= | cade38= | type38= | text38=
| name48= | alt48= | cade48= | type48= | text48=
| name58= | alt58= | cade58= | type58= | text58=
| name68= | alt68= | cade68= | type68= | text68=
| name78= | alt78= | cade78= | type78= | text78=
| name88= | alt88= | cade88= | type88= | text88=
| name98= | alt98= | cade98= | type98= | text98=

| name09= | alt09= | cade09= | type09= | text09=
| name19= | alt19= | cade19= | type19= | text19=
| name29= | alt29= | cade29= | type29= | text29=
| name39= | alt39= | cade39= | type39= | text39=
| name49= | alt49= | cade49= | type49= | text49=
| name59= | alt59= | cade59= | type59= | text59=
| name69= | alt69= | cade69= | type69= | text69=
| name79= | alt79= | cade79= | type79= | text79=
| name89= | alt89= | cade89= | type89= | text89=
| name99= | alt99= | cade99= | type99= | text99=

}}