Template:GridSector: Difference between revisions
From Mutant Year Zero
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<div | <div | ||
{{#if: {{{active|}}}|id="active"}} | {{#if: {{{active|}}}|id="active"}} | ||
class="gridsector {{#if: {{{visited|}}}||unknown}} | class="gridsector {{#if: {{{visited|}}}||unknown}} rotlevel{{{rotlevel|0}}}" | ||
style=" | style=" | ||
background-position: -{{#expr: 80 * ({{{column}}}-1)+1}}px -{{#expr: 80 * ({{{row}}}-1)+1}}px ; | background-position: -{{#expr: 80 * ({{{column}}}-1)+1}}px -{{#expr: 80 * ({{{row}}}-1)+1}}px ; |