User:MapBot/BlockStyle: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 43: Line 43:
     |case: =opacity:0.2;
     |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 07:01, 8 September 2013

style=" background:#777;"