Difference between revisions of "Template:Knapping"
Jump to navigation
Jump to search
(tried adding some structure and styling, fixed switches checking A1 everywhere, tried something with grid) |
(tried adding placeholder image for empty space) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {|style="background: #C6C6C6; border: outset 2px #999; padding:6px" | + | {| cellpadding="0" cellspacing="0" style="background: #C6C6C6; border: outset 2px #999; padding:6px" |
|- | |- | ||
− | + | |{{#if: {{{A1|}}} | {{#switch: {{{A1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} | |
− | |{{#if: {{{A1|}}} | {{#switch: {{{A1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{A2|}}} | {{#switch: {{{A2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{A2|}}} | {{#switch: {{{A2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{A3|}}} | {{#switch: {{{A3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{A3|}}} | {{#switch: {{{A3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{A4|}}} | {{#switch: {{{A4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{A4|}}} | {{#switch: {{{A4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{A5|}}} | {{#switch: {{{A5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{A5|}}} | {{#switch: {{{A5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | ||
|- | |- | ||
− | |{{#if: {{{B1|}}} | {{#switch: {{{B1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{B1|}}} | {{#switch: {{{B1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{B2|}}} | {{#switch: {{{B2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{B2|}}} | {{#switch: {{{B2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{B3|}}} | {{#switch: {{{B3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{B3|}}} | {{#switch: {{{B3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{B4|}}} | {{#switch: {{{B4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{B4|}}} | {{#switch: {{{B4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{B5|}}} | {{#switch: {{{B5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{B5|}}} | {{#switch: {{{B5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
|- | |- | ||
− | |{{#if: {{{C1|}}} | {{#switch: {{{C1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{C1|}}} | {{#switch: {{{C1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{C2|}}} | {{#switch: {{{C2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{C2|}}} | {{#switch: {{{C2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{C3|}}} | {{#switch: {{{C3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{C3|}}} | {{#switch: {{{C3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{C4|}}} | {{#switch: {{{C4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{C4|}}} | {{#switch: {{{C4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{C5|}}} | {{#switch: {{{C5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{C5|}}} | {{#switch: {{{C5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
|- | |- | ||
− | |{{#if: {{{D1|}}} | {{#switch: {{{D1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{D1|}}} | {{#switch: {{{D1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{D2|}}} | {{#switch: {{{D2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{D2|}}} | {{#switch: {{{D2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{D3|}}} | {{#switch: {{{D3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{D3|}}} | {{#switch: {{{D3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{D4|}}} | {{#switch: {{{D4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{D4|}}} | {{#switch: {{{D4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{D5|}}} | {{#switch: {{{D5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{D5|}}} | {{#switch: {{{D5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
|- | |- | ||
− | |{{#if: {{{E1|}}} | {{#switch: {{{E1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{E1|}}} | {{#switch: {{{E1|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{E2|}}} | {{#switch: {{{E2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{E2|}}} | {{#switch: {{{E2|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{E3|}}} | {{#switch: {{{E3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{E3|}}} | {{#switch: {{{E3|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{E4|}}} | {{#switch: {{{E4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{E4|}}} | {{#switch: {{{E4|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
− | |{{#if: {{{E5|}}} | {{#switch: {{{E5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | + | |{{#if: {{{E5|}}} | {{#switch: {{{E5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}| [[File: Squash.png|link=|title=|]]}} |
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 19:28, 11 July 2020
This is still WIP I have no idea how this works I'm just tryna help okay