Template

Audiobox NDrops: Difference between revisions

m (Added support for right-to-left languages, through Template:LangDirection)
(Center align all but ND text)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="text-align: center; min-width: 32em; max-width: 80%; border:thin solid #000000; border-radius: 1em; box-shadow: 0.5em 0.5em 1em #bcbcbc; background: #<choose>
<div align="{{LangDirection}}">
<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 30: 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 -->
|}
|}
</div>
</div></div>
<noinclude>
<noinclude>
  Nectar Drop Box for '''Audio player, Quote and Vanisource page link'''
  Nectar Drop Box for '''Audio player, Quote and Vanisource page link'''

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}}