Difference between revisions of "Template:Tile"

From BlogNomic Wiki
Jump to navigation Jump to search
(attempt a dynamic foreground colour)
(fix)
Line 1: Line 1:
 
<noinclude>{| class="wikitable"
 
<noinclude>{| class="wikitable"
 
|-
 
|-
|</noinclude>class="tile-{{{1|white}}}" style="background-color:{{{1|white}}}; width:25px; height: 25px; padding: 5px; text-align:center; color: #{{#switch: 1 | black | blue | purple = fff | #default = 000 }}" | {{{2|}}}
+
|</noinclude>class="tile-{{{1|white}}}" style="background-color:{{{1|white}}}; width:25px; height: 25px; padding: 5px; text-align:center; color: #{{#switch: {{{1}}} | black | blue | purple = fff | #default = 000 }}" | {{{2|}}}
 
<noinclude>
 
<noinclude>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 19:07, 21 October 2020