Audiobox NDrops: Difference between revisions
(Added CSS class to enable different widths for mobile & desktop) |
(Center align all but ND text) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div align="{{LangDirection}}"> | <div align="{{LangDirection}}"> | ||
<div class="NectarDropBox" style=" | <div class="NectarDropBox" style="min-width: 20em; border:thin solid #000000; border-radius: 1em; box-shadow: 0.5em 0.5em 1em #bcbcbc; background: #<choose> | ||
<option>E6EBFA</option> | <option>E6EBFA</option> | ||
<option>CCEBF5</option> | <option>CCEBF5</option> | ||
Line 31: | Line 31: | ||
</choose>;"> | </choose>;"> | ||
{| border="0" style="margin: auto; width: 97%;" | {| border="0" style="margin: auto; width: 97%;" | ||
|- style="vertical-align:bottom;" | |- style="vertical-align:bottom; text-align: center" | ||
| style="height:30px;" | <big>'''[[:Category:{{{1}}}|{{{1}}}]]'''</big><br/><!-- main nectardrop category --> | | style="height:30px;" | <big>'''[[:Category:{{{1}}}|{{{1}}}]]'''</big><br/><!-- main nectardrop category --> | ||
|- | |- style="text-align: center" | ||
|{{{2}}}<!-- Amazon audio link --> | |{{{2}}}<!-- Amazon audio link --> | ||
|- | |- | ||
| align="{{LangDirection}}" | <span class="nectardroptext" dir="{{#ifeq: {{LangDirection}} | left | ltr | rtl}}">{{{3}}}</span> | | align="{{LangDirection}}" | <span class="nectardroptext" dir="{{#ifeq: {{LangDirection}} | left | ltr | rtl}}">{{{3}}}</span> | ||
|- style="vertical-align:top;" | |- style="vertical-align:top; text-align: center" | ||
| style="height:30px;" | '''[[{{{4}}}|{{{5}}}]]'''<!-- Vanisource page --> | | style="height:30px;" | '''[[{{{4}}}|{{{5}}}]]'''<!-- Vanisource page --> | ||
|} | |} |
Latest revision as of 18:14, 22 November 2020
[[:Category:{{{1}}}|{{{1}}}]] |
{{{2}}} |
{{{3}}} |
[[{{{4}}}|{{{5}}}]] |
Nectar Drop Box for Audio player, Quote and Vanisource page link Place this code on a page: {{Audiobox_NDrops|NECTARDROPCATEGORYin-specific-language|<mp3player>AMAZONAUDIOURL</mp3player>|"NECTARDROPTEXT"|VANISOURCEPAGELINK|VANISOURCEPAGETEXTin-specific-language}}