Difference between revisions of "Template:AR Equipment extended infobox"

no edit summary
Line 72: Line 72:
table.equipment-infobox tr:first-child th {
table.equipment-infobox tr:first-child th {
     background-color: #ccf;
     background-color: #ccf;
{{#switch:{{{rarity|3}}}|
{{#switch:{{{rarity|}}}|
| 1 | 2 = background-image: repeating-linear-gradient(195deg, rgb(192, 160, 128), rgb(240, 224, 192) 15%, rgb(192, 160, 128) 30%);
| 1 | 2 = background-image: repeating-linear-gradient(195deg, rgb(192, 160, 128), rgb(240, 224, 192) 15%, rgb(192, 160, 128) 30%);
| 3 = background-image: repeating-linear-gradient(195deg, rgb(192, 192, 192), rgb(224, 224, 224) 15%, rgb(192, 192, 192) 30%);
| 3 = background-image: repeating-linear-gradient(195deg, rgb(192, 192, 192), rgb(224, 224, 224) 15%, rgb(192, 192, 192) 30%);
Line 84: Line 84:
table.equipment-infobox tr:not(:first-child) th {
table.equipment-infobox tr:not(:first-child) th {
     background-color: #ddf;
     background-color: #ddf;
<!--{{#switch:{{{rarity|3}}}|
{{#switch:{{{rarity|}}}|
| 1 | 2 = background-image: repeating-linear-gradient(195deg, rgb(224, 192, 160), rgb(255, 240, 208) 15%, rgb(224, 192, 160) 30%);
| 1 | 2 = background-color: rgb(224, 192, 160);
| 3 = background-image: repeating-linear-gradient(195deg, rgb(224, 224, 224), rgb(255, 255, 255) 15%, rgb(224, 224, 224) 30%);
| 3 = background-color: rgb(224, 224, 224);
| 4 = background-image: repeating-linear-gradient(195deg, rgb(255, 224, 160), rgb(255, 255, 240) 15%, rgb(255, 224, 160) 30%);
| 4 = background-color: rgb(255, 224, 160);
| 5 = background-image: linear-gradient(195deg, rgb(255, 192, 192), rgb(255, 255, 192), rgb(192, 255, 192), rgb(192, 255, 255), rgb(192, 192, 255));
<!--| 5 = background-image: linear-gradient(195deg, rgb(255, 192, 192), rgb(255, 255, 192), rgb(192, 255, 192), rgb(192, 255, 255), rgb(192, 192, 255));-->
}}-->
}}
}
}


trusted
5,894

edits