Difference between revisions of "Template:AR Equipment extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
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| | {{#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|}}}| | |||
| 1 | 2 = background- | | 1 | 2 = background-color: rgb(224, 192, 160); | ||
| 3 = background- | | 3 = background-color: rgb(224, 224, 224); | ||
| 4 = background- | | 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));--> | ||
}} | }} | ||
} | } | ||
Revision as of 16:47, 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.