User:MapBot/BlockStyle: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{switch
style="
   |{{{status}}}
{{switch|{{{buildingtype}}}
   |case: Ruined={{User:MapBot/RuinStyle|{{{cades}}}}}
|case: Street=
   |case: Repaired={{{{{buildingtype}}}}};{{User:MapBot/CadeStyle|{{{cades}}}}}
|case: Carpark=
   |case: Unknown={{{{{buildingtype}}}}};opacity:0.2;
|case: Park=
}}
|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:solid 4px #662;
    |case: VHB=border:solid 4px #662;
    |case: HB=border:solid 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:solid 7px black;  
    |case: RepairedVHB=border:solid 5px black;
    |case: RepairedHB=border:solid 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;
    }}
  }}
}}">
[[User:MapBot/{{{maplink}}}|
<span style="
{{If equal|{{{lit}}}|Lit|
  background:yellow;color:black;
  {{switch|{{{buildingtype}}}
   |case: Club=border:solid 2px black;
  |case: Bank=border:solid 2px black;
  |case: Cinema=border:solid 2px black;
  |case: Armory=border:solid 2px black;
  |case: Hospital=border:solid 2px #D66;
  |case: Police Station=border:solid 2px #66B;
  |case: NecroTech=border:solid 2px #B02;
  }}
|
  color:white;
  {{switch|{{{buildingtype}}}{{If equal|{{{status}}}|Ruined|Ruined}}
  |case: ClubRuined=background:black;
  |case: Club=background:black;
  |case: BankRuined=background:black;
  |case: Bank=background:black;
  |case: CinemaRuined=background:black;
  |case: Cinema=background:black;
  |case: ArmoryRuined=background:black;
  |case: Armory=background:black;
  |case: Hospital=background:#D66;
  |case: Police Station=background:#66B;
  |case: NecroTech=background:#B02;
  }}
}}"
title="{{User:MapBot/Status|status={{{status}}}|lit={{{lit}}}|cades={{{cades}}}}}"

Revision as of 06:59, 8 September 2013

style=" background:#777;"> [[User:MapBot/{{{maplink}}}| <span style=" color:white;" title="{{{cades}}}"