Template:GridSector: Difference between revisions

From Mutant Year Zero
mNo edit summary
mNo edit summary
Line 4: Line 4:
  class="gridsector {{#if: {{{visited|}}}||unknown}} sectortext rotlevel{{{rotlevel|0}}}"
  class="gridsector {{#if: {{{visited|}}}||unknown}} sectortext rotlevel{{{rotlevel|0}}}"
  style="
  style="
   background-position: -{{#expr: 80 * ({{{column}}}-1)}}px -{{#expr: 80 * ({{{row}}}-1)}}px ;
   background-position: -{{#expr: 80 * ({{{column}}}-1)+1}}px -{{#expr: 80 * ({{{row}}}-1)+1}}px ;
   grid-column: {{{column}}};
   grid-column: {{{column}}};
   grid-row: {{{row}}};
   grid-row: {{{row}}};

Revision as of 08:59, 18 January 2024