User:MapBot/BlockStyle: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Created page with "{{switch |{{{ruin|Unknown}}} |case: Ruined={{User:MapBot/RuinStyle|{{{cades|Unknown}}}}} |case: Repaired={{{{{buildingtype}}}}};{{User:MapBot/CadeStyle|{{{cades|Unknown}}}}...")
 
(Undo revision 2102172 by Rick Dulton (talk))
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{switch
{{switch|{{{buildingtype}}}
   |{{{ruin|Unknown}}}
|case: Street=
   |case: Ruined={{User:MapBot/RuinStyle|{{{cades|Unknown}}}}}
|case: Carpark=
  |case: Repaired={{{{{buildingtype}}}}};{{User:MapBot/CadeStyle|{{{cades|Unknown}}}}}
|case: Park=
  |case: Unknown={{{{{buildingtype}}}}};opacity:0.2;
|case: Wasteland=
|case: Cemetery=
|case: Monument=
|default=
   {{If equal|{{{status}}}|Ruined
   |
    {{If equal|{{{lit}}}|Lit|background:goldenrod; color:black; |background:#331;}}
    {{switch|{{{cades}}}
    |case: EHB=border:double 8px #662;
    |case: VHB=border:double 7px #662;
    |case: HB=border:double 4px #662;
    |case: VSB=border:dotted 2px red;
    |case: QSB=border:dotted 2px orange;
    |case: Lightly=border:dotted 2px yellow;
    |case: Loosely=border:dotted 2px green;
    |default=border:dotted 2px #662;
    }}
  |
    {{switch|{{{buildingtype}}}
    |case: Hospital=border:solid 2px #aaa;
    |case: Police Station=border:solid 2px #aaa;
    |case: NecroTech=border:solid 2px #aaa;
    |case: Factory=border:solid 2px #aaa;
    |case: Warehouse=border:solid 2px #aaa;
    |case: Fire Station=border:solid 2px #aaa;
    |case: Mall=border:solid 2px #ccc;
    }}
    {{If equal|{{{buildingtype}}}|Junkyard|background:#432; |background:#777;}}
    {{switch|{{{status}}}{{{cades}}}
    |case: RepairedEHB=border:double 8px black;
    |case: RepairedVHB=border:double 7px black;
    |case: RepairedHB=border:double 4px black;
    |case: RepairedVSB=border:dashed 3px black;
    |case: RepairedQSB=border:dotted 2px orange;
    |case: RepairedLightly=border:dotted 2px yellow;
    |case: RepairedLoosely=border:dotted 2px lime;
    |case: RepairedOpen={{If equal|{{{buildingtype}}}|Junkyard|border:dotted 2px #662;|border:solid 3px lime;}}
    |case: =opacity:0.2;
    }}
  }}
}}
}}

Latest revision as of 06:15, 24 September 2013

background:#777;