Template:GridSector: Difference between revisions
From Mutant Year Zero
(Created page with "<includeonly><div {{#if: {{{active|}}}|id="active"}} class="gridsector {{#if: {{{visited|}}}||unknown}} sectortext rotlevel{{{rotlevel|0}}}" style="background-position: -{{#expr: 80 * ({{{column}}}-1)}}px -{{#expr: 80 * ({{{row}}}-1)}}px ;grid-column: {{{column}}}; grid-row: {{{row}}}; border:1px {{{borderstyle|solid}}} {{{bordercolor|transparent}}}; font-size:{{{fontSize|32px}}}; color:{{{color|white}}}">{{{sectorText|}}}<span class="tooltiptext">{{#sub:_ABCDEFGHIJKLMNO...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div {{#if: {{{active|}}}|id="active"}} class="gridsector {{#if: {{{visited|}}}||unknown}} sectortext rotlevel{{{rotlevel|0}}}" style="background-position: -{{#expr: 80 * ({{{column}}}-1)}}px -{{#expr: 80 * ({{{row}}}-1)}}px ;grid-column: {{{column}}}; grid-row: {{{row}}}; border:1px {{{borderstyle|solid}}} {{{bordercolor|transparent}}}; font-size:{{{fontSize|32px}}}; color:{{{color|white}}}">{{{sectorText|}}}<span class="tooltiptext">{{#sub:_ABCDEFGHIJKLMNOPQRSTUVWXYZ|{{{row}}}|1}}-{{{column}}}: {{{tooltip|}}}{{#if: {{{rotlevel|}}} | <div style="font-size:70%;">[Rot Level: {{{rotlevel|}}}]</div>}}{{#if: {{{active|}}} | <div style="font-size:70%;"><span style="color:red;">●</span> {{{active|}}}</div>}}{{#if: {{{active|}}} | <div class="reddot"></div>}} | <includeonly> | ||
<div | |||
{{#if: {{{active|}}}|id="active"}} | |||
class="gridsector {{#if: {{{visited|}}}||unknown}} sectortext rotlevel{{{rotlevel|0}}}" | |||
style=" | |||
background-position: -{{#expr: 80 * ({{{column}}}-1)}}px -{{#expr: 80 * ({{{row}}}-1)}}px ; | |||
grid-column: {{{column}}}; | |||
grid-row: {{{row}}}; | |||
border:1px {{{borderstyle|solid}}} {{{bordercolor|transparent}}}; | |||
font-size:{{{fontSize|32px}}}; | |||
color:{{{color|white}}}" | |||
> | |||
{{{sectorText|}}} | |||
<span class="tooltiptext">{{#sub:_ABCDEFGHIJKLMNOPQRSTUVWXYZ|{{{row}}}|1}}-{{{column}}}: {{{tooltip|}}} | |||
{{#if: {{{rotlevel|}}} | <div style="font-size:70%;">[Rot Level: {{{rotlevel|}}}]</div>}} | |||
{{#if: {{{active|}}} | <div style="font-size:70%;"><span style="color:red;">●</span> {{{active|}}}</div>}} | |||
</div> | |||
{{#if: {{{active|}}} | <div class="reddot"></div>}} |