Template:GridSector: Difference between revisions

From Mutant Year Zero
mNo edit summary
mNo edit summary
Line 10: Line 10:
   font-size:{{{fontSize|32px}}};
   font-size:{{{fontSize|32px}}};
   color:{{{color|white}}}"
   color:{{{color|white}}}"
>{{{sectorText|}}}<span class="tooltiptext">{{#sub:_ABCDEFGHIJKLMNOPQRSTUVWXYZ|{{{row}}}|1}}-{{{column}}}: {{{tooltip|}}}<div class="rotlevel{{{rotlevel|Unknown}}}">[{{#switch: {{{rotlevel}}} |0=Zone Oasis|1=Weak Rot|2=Strong Rot|3=Rot Hotspot |Unknown Rot Level}}]</div>{{#if: {{{found|}}} | <div style="font-family: 'Material Symbols Outlined'">{{#replace:{{#replace:{{#replace:{{#replace:{{{found|}}}|B| <span style="color:silver">tools_phillips</span>}}|W| <span style="color:skyblue">water_drop</span>}}|G|<span style="color:tomato;">restaurant</span>}}|A|<span style="color:gold">trophy</span>}}</div>}}{{#if: {{{active|}}} | <div style="font-size:70%;"><span style="color:red;">●</span> {{{active|}}}</div>}}</span>
>{{{sectorText|}}}<span class="tooltiptext">{{#sub:_ABCDEFGHIJKLMNOPQRSTUVWXYZ|{{{row}}}|1}}-{{{column}}}: {{{tooltip|}}}<div class="rotlevel{{{rotlevel|Unknown}}}">[{{#switch: {{{rotlevel}}} |0=Zone Oasis|1=Weak Rot|2=Strong Rot|3=Rot Hotspot |Unknown Rot Level}}]</div>
<span style="color:{{#ifexpr: {{#count:{{{found|}}}|G}} > 0 | tomato | #333}};">restaurant</span>
<span style="color:{{#ifexpr: {{#count:{{{found|}}}|W}} > 0 | skyblue | #333}};">water_drop</span>
<span style="color:{{#ifexpr: {{#count:{{{found|}}}|B}} > 0 | silver | #333}};">tools_phillips</span>
<span style="color:{{#ifexpr: {{#count:{{{found|}}}|A}} > 0 | gold | #333}};">trophy</span>
{{#if: {{{active|}}} | <div style="font-size:70%;"><span style="color:red;">●</span> {{{active|}}}</div>}}</span>
{{#if: {{{active|}}} | <div class="reddot"></div>}}
{{#if: {{{active|}}} | <div class="reddot"></div>}}
</div>
</div>

Revision as of 15:31, 14 February 2024