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}} sectortext rotlevel{{{rotlevel|0}}}"
  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 ;

Revision as of 09:04, 18 January 2024