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

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 73: Line 73:
     background-color: #ccf;
     background-color: #ccf;
{{#switch:{{{rarity|}}}|
{{#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: linear-gradient(195deg, rgb(192, 160, 128), rgb(240, 224, 192), rgb(192, 160, 128));
| 3 = background-image: repeating-linear-gradient(195deg, rgb(192, 192, 192), rgb(224, 224, 224) 15%, rgb(192, 192, 192) 30%);
| 3 = background-image: linear-gradient(195deg, rgb(192, 192, 192), rgb(224, 224, 224), rgb(192, 192, 192));
| 4 = background-image: repeating-linear-gradient(195deg, rgb(224, 160, 64), rgb(255, 224, 128) 15%, rgb(224, 160, 64) 30%);
| 4 = background-image: linear-gradient(195deg, rgb(224, 160, 64), rgb(255, 224, 128), rgb(224, 160, 64));
| 5 = background-image: linear-gradient(195deg, rgb(255, 128, 128), rgb(255, 255, 128), rgb(128, 255, 128), rgb(128, 255, 255), rgb(128, 128, 255));
| 5 = background-image: linear-gradient(195deg, rgb(255, 128, 128), rgb(255, 255, 128), rgb(128, 255, 128), rgb(128, 255, 255), rgb(128, 128, 255));
}}
}}

Revision as of 17:08, 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.