Szablon:Ulepszanie/Zbroja/Layout: Różnice pomiędzy wersjami
[wersja przejrzana] | [wersja przejrzana] |
(Nie pokazano 6 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 1: | Linia 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#vardefine: th | background: #5C3317; color: #dadada; font-weight: bold; border-left: 1px dotted #808080; border-bottom: 1px dotted #808080; }}<!-- | + | -->{{#vardefine: th | background: #5C3317; color: #dadada; font-weight: bold; border-left: 1px dotted #808080; border-bottom: 1px dotted #808080; box-sizing: border-box; }}<!-- |
+ | -->{{#vardefine: th-width | {{#switch: {{{MaxUlepszenie|}}} | 0 = 640 | 15 = 80 | #default = {{#expr: 640 / {{{MaxUlepszenie}}} }} }} }}<!-- | ||
--><table style="cellpadding="3" cellspacing="0" style="width: 100%; text-align: center"> | --><table style="cellpadding="3" cellspacing="0" style="width: 100%; text-align: center"> | ||
<!-- Poziom ulepszenia --> | <!-- Poziom ulepszenia --> | ||
<tr> | <tr> | ||
− | <th style="width: 100px; box-sizing: border-box | + | <th style="width: 100px; box-sizing: border-box;">[[Plik:Metin2Ikona.png|link=]]</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+0</th> |
− | <th style="{{#var: th }} width: | + | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+1</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+2</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+3</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+4</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+5</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+6</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+7</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+8</th> |
+ | <th style="{{#var: th }} width: {{#var: th-width}}px;">+9</th> | ||
{{#ifeq: {{{MaxUlepszenie|}}} | 15 | | {{#ifeq: {{{MaxUlepszenie|}}} | 15 | | ||
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+10</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+11</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+12</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+13</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+14</th> |
− | <th style="{{#var: th }} width: | + | <th style="{{#var: th }} width: {{#var: th-width}}px;">+15</th> |
+ | }} | ||
}} | }} | ||
</tr> | </tr> | ||
Linia 29: | Linia 32: | ||
{{#if: {{{Poziom-0|}}}{{{Poziom-9|}}} | | {{#if: {{{Poziom-0|}}}{{{Poziom-9|}}} | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;">[[Poziom|<span style="color: #dadada;">Wymagany Poziom</span>]]</th> | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;">[[Poziom|<span style="color: #dadada;">Wymagany Poziom</span>]]</th> |
<td>{{#if: {{{Poziom-0|}}} | {{{Poziom-0}}} | - }}</td> | <td>{{#if: {{{Poziom-0|}}} | {{{Poziom-0}}} | - }}</td> | ||
+ | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | | ||
<td>{{#if: {{{Poziom-1|}}} | {{{Poziom-1}}} | - }}</td> | <td>{{#if: {{{Poziom-1|}}} | {{{Poziom-1}}} | - }}</td> | ||
<td>{{#if: {{{Poziom-2|}}} | {{{Poziom-2}}} | - }}</td> | <td>{{#if: {{{Poziom-2|}}} | {{{Poziom-2}}} | - }}</td> | ||
Linia 47: | Linia 51: | ||
<td>{{#if: {{{Poziom-14|}}} | {{{Poziom-14}}} | - }}</td> | <td>{{#if: {{{Poziom-14|}}} | {{{Poziom-14}}} | - }}</td> | ||
<td>{{#if: {{{Poziom-15|}}} | {{{Poziom-15}}} | - }}</td> | <td>{{#if: {{{Poziom-15|}}} | {{{Poziom-15}}} | - }}</td> | ||
+ | }} | ||
}} | }} | ||
</tr> | </tr> | ||
Linia 53: | Linia 58: | ||
<!-- Obrona --> | <!-- Obrona --> | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;">[[Obrona|<span style="color: #dadada;">Obrona</span>]]</th> | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;">[[Obrona|<span style="color: #dadada;">Obrona</span>]]</th> |
<td>{{#if: {{{Obrona-0|}}} | {{{Obrona-0}}} | - }}</td> | <td>{{#if: {{{Obrona-0|}}} | {{{Obrona-0}}} | - }}</td> | ||
+ | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | | ||
<td>{{#if: {{{Obrona-1|}}} | {{{Obrona-1}}} | - }}</td> | <td>{{#if: {{{Obrona-1|}}} | {{{Obrona-1}}} | - }}</td> | ||
<td>{{#if: {{{Obrona-2|}}} | {{{Obrona-2}}} | - }}</td> | <td>{{#if: {{{Obrona-2|}}} | {{{Obrona-2}}} | - }}</td> | ||
Linia 71: | Linia 77: | ||
<td>{{#if: {{{Obrona-14|}}} | {{{Obrona-14}}} | - }}</td> | <td>{{#if: {{{Obrona-14|}}} | {{{Obrona-14}}} | - }}</td> | ||
<td>{{#if: {{{Obrona-15|}}} | {{{Obrona-15}}} | - }}</td> | <td>{{#if: {{{Obrona-15|}}} | {{{Obrona-15}}} | - }}</td> | ||
+ | }} | ||
}} | }} | ||
</tr> | </tr> | ||
Linia 76: | Linia 83: | ||
<!-- Bonus 1 --> | <!-- Bonus 1 --> | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;"><!-- | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;"><!-- |
-->{{#if: {{{NazwaBonusu-1|}}} | [[{{{NazwaBonusu-1}}}|<span style="color: #dadada;">{{{NazwaBonusu-1}}}</span>]] | - }} | -->{{#if: {{{NazwaBonusu-1|}}} | [[{{{NazwaBonusu-1}}}|<span style="color: #dadada;">{{{NazwaBonusu-1}}}</span>]] | - }} | ||
</th> | </th> | ||
Linia 92: | Linia 99: | ||
{{#ifexpr: {{{MaxIlośćBonusów|}}} >= 2 | | {{#ifexpr: {{{MaxIlośćBonusów|}}} >= 2 | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;"><!-- | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;"><!-- |
-->{{#if: {{{NazwaBonusu-2|}}} | [[{{{NazwaBonusu-2}}}|<span style="color: #dadada;">{{{NazwaBonusu-2}}}</span>]] | - }} | -->{{#if: {{{NazwaBonusu-2|}}} | [[{{{NazwaBonusu-2}}}|<span style="color: #dadada;">{{{NazwaBonusu-2}}}</span>]] | - }} | ||
</th> | </th> | ||
Linia 109: | Linia 116: | ||
{{#ifexpr: {{{MaxIlośćBonusów|}}} >= 3 | | {{#ifexpr: {{{MaxIlośćBonusów|}}} >= 3 | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;"><!-- | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;"><!-- |
-->{{#if: {{{NazwaBonusu-3|}}} | [[{{{NazwaBonusu-3}}}|<span style="color: #dadada;">{{{NazwaBonusu-3}}}</span>]] | - }} | -->{{#if: {{{NazwaBonusu-3|}}} | [[{{{NazwaBonusu-3}}}|<span style="color: #dadada;">{{{NazwaBonusu-3}}}</span>]] | - }} | ||
</th> | </th> | ||
Linia 124: | Linia 131: | ||
<!-- Koszt Ulepszenia --> | <!-- Koszt Ulepszenia --> | ||
+ | {{#if: {{{KosztUlepszenia-0|}}} | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;">Koszt Ulepszenia</th> | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;">Koszt Ulepszenia</th> |
<td>{{#if: {{{KosztUlepszenia-0|}}} | {{{KosztUlepszenia-0}}} | - }}</td> | <td>{{#if: {{{KosztUlepszenia-0|}}} | {{{KosztUlepszenia-0}}} | - }}</td> | ||
+ | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | | ||
<td>{{#if: {{{KosztUlepszenia-1|}}} | {{{KosztUlepszenia-1}}} | - }}</td> | <td>{{#if: {{{KosztUlepszenia-1|}}} | {{{KosztUlepszenia-1}}} | - }}</td> | ||
<td>{{#if: {{{KosztUlepszenia-2|}}} | {{{KosztUlepszenia-2}}} | - }}</td> | <td>{{#if: {{{KosztUlepszenia-2|}}} | {{{KosztUlepszenia-2}}} | - }}</td> | ||
Linia 143: | Linia 152: | ||
<td>{{#if: {{{KosztUlepszenia-14|}}} | {{{KosztUlepszenia-14}}} | - }}</td> | <td>{{#if: {{{KosztUlepszenia-14|}}} | {{{KosztUlepszenia-14}}} | - }}</td> | ||
<td>{{#if: {{{KosztUlepszenia-15|}}} | {{{KosztUlepszenia-15}}} | - }}</td> | <td>{{#if: {{{KosztUlepszenia-15|}}} | {{{KosztUlepszenia-15}}} | - }}</td> | ||
+ | }} | ||
}} | }} | ||
</tr> | </tr> | ||
+ | }} | ||
<!-- Ulepszacz 1 --> | <!-- Ulepszacz 1 --> | ||
+ | {{#ifexpr: {{{MaxIlośćUlepszaczy|}}} >= 1 | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;">Potrzebny materiał 1</th> | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;">Potrzebny materiał 1</th> |
<td>{{#if: {{{Ulepszacz-1-0|}}} | {{{Ulepszacz-1-0}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-1-0|}}} | {{{Ulepszacz-1-0}}} | - }}</td> | ||
+ | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | | ||
<td>{{#if: {{{Ulepszacz-1-1|}}} | {{{Ulepszacz-1-1}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-1-1|}}} | {{{Ulepszacz-1-1}}} | - }}</td> | ||
<td>{{#if: {{{Ulepszacz-1-2|}}} | {{{Ulepszacz-1-2}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-1-2|}}} | {{{Ulepszacz-1-2}}} | - }}</td> | ||
Linia 166: | Linia 179: | ||
<td>{{#if: {{{Ulepszacz-1-14|}}} | {{{Ulepszacz-1-14}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-1-14|}}} | {{{Ulepszacz-1-14}}} | - }}</td> | ||
<td>{{#if: {{{Ulepszacz-1-15|}}} | {{{Ulepszacz-1-15}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-1-15|}}} | {{{Ulepszacz-1-15}}} | - }}</td> | ||
+ | }} | ||
}} | }} | ||
</tr> | </tr> | ||
+ | }} | ||
<!-- Ulepszacz 2 --> | <!-- Ulepszacz 2 --> | ||
{{#ifexpr: {{{MaxIlośćUlepszaczy|}}} >= 2 | | {{#ifexpr: {{{MaxIlośćUlepszaczy|}}} >= 2 | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;">Potrzebny materiał 2</th> | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;">Potrzebny materiał 2</th> |
<td>{{#if: {{{Ulepszacz-2-0|}}} | {{{Ulepszacz-2-0}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-2-0|}}} | {{{Ulepszacz-2-0}}} | - }}</td> | ||
+ | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | | ||
<td>{{#if: {{{Ulepszacz-2-1|}}} | {{{Ulepszacz-2-1}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-2-1|}}} | {{{Ulepszacz-2-1}}} | - }}</td> | ||
<td>{{#if: {{{Ulepszacz-2-2|}}} | {{{Ulepszacz-2-2}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-2-2|}}} | {{{Ulepszacz-2-2}}} | - }}</td> | ||
Linia 190: | Linia 206: | ||
<td>{{#if: {{{Ulepszacz-2-14|}}} | {{{Ulepszacz-2-14}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-2-14|}}} | {{{Ulepszacz-2-14}}} | - }}</td> | ||
<td>{{#if: {{{Ulepszacz-2-15|}}} | {{{Ulepszacz-2-15}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-2-15|}}} | {{{Ulepszacz-2-15}}} | - }}</td> | ||
+ | }} | ||
}} | }} | ||
</tr> | </tr> | ||
Linia 197: | Linia 214: | ||
{{#ifexpr: {{{MaxIlośćUlepszaczy|}}} >= 3 | | {{#ifexpr: {{{MaxIlośćUlepszaczy|}}} >= 3 | | ||
<tr> | <tr> | ||
− | <th scope="row" style="{{#var: th }} position: sticky; left: 0px;">Potrzebny materiał 3</th> | + | <th scope="row" style="{{#var: th }} position: sticky; left: 0px; z-index: 1;">Potrzebny materiał 3</th> |
<td>{{#if: {{{Ulepszacz-3-0|}}} | {{{Ulepszacz-3-0}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-3-0|}}} | {{{Ulepszacz-3-0}}} | - }}</td> | ||
+ | {{#ifexpr: {{{MaxUlepszenie|}}} >= 9 | | ||
<td>{{#if: {{{Ulepszacz-3-1|}}} | {{{Ulepszacz-3-1}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-3-1|}}} | {{{Ulepszacz-3-1}}} | - }}</td> | ||
<td>{{#if: {{{Ulepszacz-3-2|}}} | {{{Ulepszacz-3-2}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-3-2|}}} | {{{Ulepszacz-3-2}}} | - }}</td> | ||
Linia 215: | Linia 233: | ||
<td>{{#if: {{{Ulepszacz-3-14|}}} | {{{Ulepszacz-3-14}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-3-14|}}} | {{{Ulepszacz-3-14}}} | - }}</td> | ||
<td>{{#if: {{{Ulepszacz-3-15|}}} | {{{Ulepszacz-3-15}}} | - }}</td> | <td>{{#if: {{{Ulepszacz-3-15|}}} | {{{Ulepszacz-3-15}}} | - }}</td> | ||
+ | }} | ||
}} | }} | ||
</tr> | </tr> |
Aktualna wersja na dzień 08:26, 20 kwi 2020