Difference between revisions of "Template:Tile"
Jump to navigation
Jump to search
(fix) |
(trying out a couple of textures) |
||
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 }}; {{#switch: {{{1}}} | blue = background: linear-gradient(115deg, transparent 75%, rgba(255,255,255,.4) 75%) 0 0, linear-gradient(245deg, transparent 75%, rgba(255,255,255,.4) 75%) 0 0, linear-gradient(115deg, transparent 75%, rgba(255,255,255,.4) 75%) 7px -15px, linear-gradient(245deg, transparent 75%, rgba(255,255,255,.4) 75%) 7px -15px, blue; background-size: 15px 30px; | green = background: #090; background-image: linear-gradient(45deg, green 25%, transparent 25%, transparent 75%, green 75%, green), linear-gradient(45deg, green 25%, transparent 25%, transparent 75%, green 75%, green);background-size: 20px 20px;background-position: 0 0, 30px 30px; }}" | {{{2|}}} |
<noinclude> | <noinclude> | ||
|} | |} | ||
</noinclude> | </noinclude> |