Difference between revisions of "Template:Tile"
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> |