Templat: Bootstrap card columns/Card1: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
k upd |
k upd |
||
(3 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
<div class="card {{{cardclass|{{{addclass|}}}}}}" style="{{{addstyle|}}}"><!-- | <div class="card {{{cardclass|{{{addclass|}}}}}}" style="{{{addstyle|}}}"><!-- | ||
-->{{#if:{{{cardheader|}}}|<div class="card-header {{{cardheaderclass|}}}">{{{cardheader|}}}</div>}}<!-- | -->{{#if:{{{cardheader|}}}|<div class="card-header {{{cardheaderclass|}}}">{{{cardheader|}}}</div>}}<!-- | ||
-->{{#if:{{{embedvideoid|}}}|{{# | -->{{#if:{{{embedvideoid|}}}|{{#ev:{{{embedvideoservice|youtube}}}|{{{embedvideoid}}}}}}}<!-- | ||
-->{{#if:{{{filename|}}}|[[File:{{{filename|Example 01.jpg}}}|512px|class=img-fluid card-img-top {{{fileclass|rounded}}}|{{#if:{{{filelink|}}}|link={{{filelink|}}}}}|{{{filecaption|}}}]]}}<!-- | -->{{#if:{{{filename|}}}|<div class="container-image-zoom rounded">[[File:{{{filename|Example 01.jpg}}}|512px|class=img-fluid card-img-top {{{fileclass|rounded}}}|{{#if:{{{filelink|}}}|link={{{filelink|}}}}}|{{{filecaption|}}}]]</div>}}<!-- | ||
-->{{#if:{{{cardtitle|{{{cardtext|{{{cardsupporttext|{{{cardsubtitle|}}}}}}}}}}}}|<div class="card-body"> | -->{{#if:{{{cardtitle|{{{cardtext|{{{cardsupporttext|{{{cardsubtitle|}}}}}}}}}}}}|<div class="card-body"> | ||
<p class="h5 card-title">{{{cardtitle|Card title that wraps to a new line}}}</p><!-- | <p class="h5 card-title">{{{cardtitle|Card title that wraps to a new line}}}</p><!-- | ||
-->{{#if:{{{cardsubtitle|}}}|<p class="h6 card-subtitle mb-2 text- | -->{{#if:{{{cardsubtitle|}}}|<p class="h6 card-subtitle mb-2 text-body-secondary">{{{cardsubtitle|}}}</p>}}<!-- | ||
-->{{#if:{{{cardtext|}}}|<p class="card-text"> | -->{{#if:{{{cardtext|}}}|<p class="card-text"> | ||
{{{cardtext|This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}}}</p>}}<!-- | {{{cardtext|This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.}}}</p>}}<!-- | ||
-->{{#if:{{{cardsupporttext|}}}|<p class="card-text"><small class="text- | -->{{#if:{{{cardsupporttext|}}}|<p class="card-text"><small class="text-body-secondary">{{{cardsupporttext|Last updated 3 mins ago}}}</small></p>}}</div>}}</div><!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |
Revisi terkini sejak 11 Oktober 2024 05.44
Dokumentasi templat
Pemakaian
{{ Bootstrap card columns/Card1 | filename= | size= 512px | filelink= | filecaption= | cardtitle= | cardsubtitle= | cardtext= | cardsupporttext= }}