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

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
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|3}}}|
| 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-image: repeating-linear-gradient(195deg, rgb(224, 192, 160), rgb(255, 240, 208) 15%, rgb(224, 192, 160) 30%);
| 3 = background-image: repeating-linear-gradient(195deg, rgb(224, 224, 224), rgb(255, 255, 255) 15%, rgb(224, 224, 224) 30%);
| 3 = background-image: repeating-linear-gradient(195deg, rgb(224, 224, 224), rgb(255, 255, 255) 15%, rgb(224, 224, 224) 30%);
| 4 = background-image: repeating-linear-gradient(195deg, rgb(255, 224, 160), rgb(255, 255, 240) 15%, rgb(255, 224, 160) 30%);
| 4 = background-image: repeating-linear-gradient(195deg, rgb(255, 224, 160), rgb(255, 255, 240) 15%, rgb(255, 224, 160) 30%);
| 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));
}}
}}-->
}
}



Revision as of 16:38, 28 September 2020

Description

Both creates an infobox and defines a subobject for AR Equipment. Additional parameters include:

{{#vardefine:ar equipment acquisition|}}
{{#vardefine:ar equipment en name|}}
{{#vardefine:ar equipment en note|}}
{{#vardefine:ar equipment acquisition|}}

Like other extended infobox templates, invocation of this template is to be done through the corresponding {{#masterdata:Equip|ID}} extension call.