"ഫലകം:SSKBoxItem" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
ദൃശ്യരൂപം
(ചെ.)No edit summary റ്റാഗ്: Reverted |
(ചെ.)No edit summary റ്റാഗ്: Reverted |
||
| വരി 1: | വരി 1: | ||
<div style="display: flex; flex-flow: row wrap; justify-content: space-evenly; width: 95%" role="navigation"> | <div style="display: flex; flex-flow: row wrap; justify-content: space-evenly; width: 95%" role="navigation"> | ||
{{#if:{{{G1|}}}{{{G2|}}}{{{G3|}}}{{{G4|}}}| | {{#if:{{{G1|}}}{{{G2|}}}{{{G3|}}}{{{G4|}}}| | ||
{{#if:{{{G1|}}}| | <!-- Display the grade sections if any of G1, G2, G3, or G4 is available --> | ||
<div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | {{#if:{{{G1|}}}| | ||
{{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/A ഗ്രേഡ്| | <div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | ||
<span aria-hidden="true" role="presentation">[[File:MedelA.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/A ഗ്രേഡ്|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/A ഗ്രേഡ്|'''A ഗ്രേഡ്''']] | {{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/A ഗ്രേഡ്| | ||
}} | <span aria-hidden="true" role="presentation">[[File:MedelA.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/A ഗ്രേഡ്|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/A ഗ്രേഡ്|'''A ഗ്രേഡ്''']] | ||
</div> | }} | ||
</div> | |||
{{#if:{{{G2|}}}| | }} | ||
<div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | |||
{{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/B ഗ്രേഡ്| | {{#if:{{{G2|}}}| | ||
<span aria-hidden="true" role="presentation">[[File:MedelB.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/B ഗ്രേഡ്|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/B ഗ്രേഡ്|'''B ഗ്രേഡ്''']] | <div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | ||
}} | {{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/B ഗ്രേഡ്| | ||
</div> | <span aria-hidden="true" role="presentation">[[File:MedelB.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/B ഗ്രേഡ്|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/B ഗ്രേഡ്|'''B ഗ്രേഡ്''']] | ||
}} | |||
{{#if:{{{G3|}}}| | </div> | ||
<div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | }} | ||
{{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/C ഗ്രേഡ്| | |||
<span aria-hidden="true" role="presentation">[[File:MedelC.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/C ഗ്രേഡ്|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/C ഗ്രേഡ്|'''C ഗ്രേഡ്''']] | {{#if:{{{G3|}}}| | ||
}} | <div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | ||
</div> | {{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/C ഗ്രേഡ്| | ||
<span aria-hidden="true" role="presentation">[[File:MedelC.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/C ഗ്രേഡ്|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/C ഗ്രേഡ്|'''C ഗ്രേഡ്''']] | |||
{{#if:{{{G4|}}}| | }} | ||
<div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | </div> | ||
{{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/മറ്റുള്ളവ| | }} | ||
<span aria-hidden="true" role="presentation">[[File:MedelO.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/മറ്റുള്ളവ|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/മറ്റുള്ളവ|'''മറ്റുള്ളവ''']] | |||
}} | {{#if:{{{G4|}}}| | ||
</div> | <div style="text-align: center; padding: 0.75em; font-weight: normal; line-height: 1.15; font-size: 1.05em; margin-bottom: 0.2em; min-width: 120px; max-width: 250px; flex: 1 1 0px; margin-right: 1px"> | ||
{{#ifexist:{{{MainUrl}}}/{{{ItemName}}}/മറ്റുള്ളവ| | |||
<span aria-hidden="true" role="presentation">[[File:MedelO.svg|45px|link={{{MainUrl}}}/{{{ItemName}}}/മറ്റുള്ളവ|frameless|center]]</span>[[{{{MainUrl}}}/{{{ItemName}}}/മറ്റുള്ളവ|'''മറ്റുള്ളവ''']] | |||
}} | |||
</div> | |||
}} | |||
| | | | ||
<!-- Display "Not available" if none of G1, G2, G3, or G4 is available --> | <!-- Display "Not available" if none of G1, G2, G3, or G4 is available --> | ||