Templat:Suara: Perbedaan antara revisi

k Melindungi "Templat:Suara" ([Sunting=Hanya untuk pengurus] (selamanya) [Pindahkan=Hanya untuk pengurus] (selamanya))
Tanda: Suntingan perangkat seluler Suntingan peramban seluler
Tanda: Suntingan perangkat seluler Suntingan peramban seluler
 
(5 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
<includeonly><div class="mw-suara-container {{{posisi|kanan}}}">
<includeonly><div class="mw-suara-box {{{posisi|kanan}}}" style="border: {{{border|1px solid #c8ccd1}}}; background: {{{bg|#fdfdfd}}}; padding: 10px 14px; margin: 12px 0; border-radius: 6px; box-sizing: border-box; width: {{{width|320px}}}; max-width: 100%; {{#switch:{{{posisi|kanan}}}|kiri=float: left; clear: left; margin-right: 20px;|tengah=float: none; margin-left: auto; margin-right: auto; display: block;|float: right; clear: right; margin-left: 20px;}} {{{style|}}}">
    <div class="mw-suara-icon">
{{#if:{{{judul|}}}|<div style="font-weight: bold; margin-bottom: 2px; font-size: 13px; color: #202122; line-height: 1.3;">{{{judul}}}</div>}}
        <!-- Ikon Gelombang Suara / Speaker SVG Modern -->
{{#if:{{{ket|}}}|<div style="font-size: 11px; color: #54595d; margin-bottom: 6px; line-height: 1.3;">{{{ket}}}</div>}}
        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<div style="font-size: 90%;">
            <path d="M2 10V14H6L11 19V5L6 10H2Z" fill="#36c" />
{{#if:{{{1|}}}|{{#ifexist:Media:{{{1}}}|{{#tag:phonos|{{{teks|{{{judul|{{{1}}}}}}}}}|file={{{1}}}}}|{{error{{main other||-small}}|Berkas audio "{{{1}}}" tidak ditemukan}}<!-- tracking category begin -->{{Category handler|[[Category:Halaman dengan pranala berkas tidak ada]]}}<!-- tracking category end -->}}}}
            <path d="M15.54 8.46C16.48 9.4 17 10.66 17 12C17 13.34 16.48 14.6 15.54 15.54L16.95 16.95C18.23 15.67 18.95 13.89 18.95 12C18.95 10.11 18.23 8.33 16.95 7.05L15.54 8.46Z" fill="#36c" />
</div>
            <path d="M19.07 4.93L17.66 6.34C19.46 8.14 20.45 10.55 20.45 12C20.45 13.45 19.46 15.86 17.66 17.66L19.07 19.07C21.2 16.94 22.35 14.47 22.35 12C22.35 9.53 21.2 7.06 19.07 4.93Z" fill="#36c" />
{{#if:{{{catatan|}}}|<div style="font-size: 10px; color: #72777d; margin-top: 6px; border-top: 1px solid #eaecf0; padding-top: 4px;">{{{catatan}}}</div>}}
        </svg>
</div><div style="clear: both;"></div></includeonly><noinclude>{{Documentation}}</noinclude>
    </div>
    <div class="mw-suara-content">
        {{#if:{{{judul|{{{title|}}}}}}|<strong>{{{judul|{{{title|}}}}}}</strong><br>}}
        <span class="mw-suara-desc">{{{ket|{{{caption|Suara / Audio}}}}}}</span>
        <div class="mw-suara-player">
            [[File:{{{1}}}|frameless|noicon]]
        </div>
    </div>
</div></includeonly>
<noinclude>{{Documentation}}</noinclude>