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

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 85: Line 85:
     background-color: #ddf;
     background-color: #ddf;
{{#switch:{{{rarity|}}}|
{{#switch:{{{rarity|}}}|
| 1 | 2 = background-color: rgb(224, 192, 160);
| 1 | 2 = background-color: rgb(240, 208, 176);
| 3 = background-color: rgb(224, 224, 224);
| 3 = background-color: rgb(224, 224, 224);
| 4 = background-color: rgb(255, 192, 96);
| 4 = background-color: rgb(255, 208, 112);
| 5 = background-image: linear-gradient(to right, rgb(255, 224, 224), rgb(255, 255, 224), rgb(224, 255, 224), rgb(224, 255, 255), rgb(224, 224, 255));
| 5 = background-image: linear-gradient(to right, rgb(255, 224, 224), rgb(255, 255, 224), rgb(224, 255, 224), rgb(224, 255, 255), rgb(224, 224, 255));
}}
}}

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