Difference between revisions of "Template:Knapping"
Jump to navigation
Jump to search
(created a base for knapping template) |
(tried adding some structure and styling, fixed switches checking A1 everywhere, tried something with grid) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#if: {{{A1}}} | {{#switch: {{{A1}}} | rock = {{Grid|Rock}} | leather = {{Grid|Leather}} | clay = {{Grid|Clay}} | clayDark = {{Grid|ClayDark}}}}}} | + | {|style="background: #C6C6C6; border: outset 2px #999; padding:6px" |
− | {{#if: {{{A2}}} | {{#switch: {{{ | + | |- |
− | {{#if: {{{A3}}} | {{#switch: {{{ | + | |
− | {{#if: {{{A4}}} | {{#switch: {{{ | + | |{{#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: {{{A5}}} | {{#switch: {{{ | + | |{{#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: {{{B1}}} | {{#switch: {{{ | + | |{{#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: {{{B2}}} | {{#switch: {{{ | + | |{{#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: {{{B3}}} | {{#switch: {{{ | + | |{{#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: {{{B4}}} | {{#switch: {{{ | + | |- |
− | {{#if: {{{B5}}} | {{#switch: {{{ | + | |{{#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: {{{C1}}} | {{#switch: {{{ | + | |{{#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: {{{C2}}} | {{#switch: {{{ | + | |{{#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: {{{C3}}} | {{#switch: {{{ | + | |{{#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: {{{C4}}} | {{#switch: {{{ | + | |{{#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: {{{C5}}} | {{#switch: {{{ | + | |- |
− | {{#if: {{{D1}}} | {{#switch: {{{ | + | |{{#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: {{{D2}}} | {{#switch: {{{ | + | |{{#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: {{{D3}}} | {{#switch: {{{ | + | |{{#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: {{{D4}}} | {{#switch: {{{ | + | |{{#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: {{{D5}}} | {{#switch: {{{ | + | |{{#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: {{{E1}}} | {{#switch: {{{ | + | |- |
− | {{#if: {{{E2}}} | {{#switch: {{{ | + | |{{#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: {{{E3}}} | {{#switch: {{{ | + | |{{#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: {{{E4}}} | {{#switch: {{{ | + | |{{#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: {{{E5}}} | {{#switch: {{{ | + | |{{#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: {{{D5|}}} | {{#switch: {{{D5|}}} | 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}}}}}} | ||
+ | |{{#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: {{{E3|}}} | {{#switch: {{{E3|}}} | 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}}}}}} | ||
+ | |{{#if: {{{E5|}}} | {{#switch: {{{E5|}}} | rock = {{Grid|class="generic"|Rock}} | leather = {{Grid|class="generic"|Leather}} | clay = {{Grid|class="generic"|Clay}} | clayDark = {{Grid|class="generic"|ClayDark}}}}}} | ||
+ | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
This is still WIP I have no idea how this works I'm just tryna help okay | This is still WIP I have no idea how this works I'm just tryna help okay | ||
</noinclude> | </noinclude> |
Revision as of 18:49, 11 July 2020
This is still WIP I have no idea how this works I'm just tryna help okay