Templat: FloatImage: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
kTidak ada ringkasan suntingan |
kTidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
<includeonly>{{#ifeq:{{{templatetype|card}}}|card|<div class="card clearfix {{{float|float-end float-end}}} {{{overridecol|col-md-4 p-2 p-sm-2}}} rounded mb-3 ms-sm-2" style="clear: both; {{{style|}}}">[[File:{{{filename|{{{1}}}}}}|{{{caption|{{{2|}}}}}}|class=card-img-top img-fluid {{{class|}}}|{{{size|768px}}}|{{#ifeq: {{{link|}}}|no|link=|{{#if:{{{link|}}}|link={{{link|}}} }} }}|center]]<!-- | <includeonly>{{#ifeq:{{{templatetype|card}}}|card|<div class="card clearfix {{{float|float-end float-end}}} {{{overridecol|col-md-4 p-2 p-sm-2}}} rounded mb-3 ms-sm-2" style="clear: both; {{{style|}}}">[[File:{{{filename|{{{1}}}}}}|{{{caption|{{{2|}}}}}}|class=card-img-top img-fluid {{{class|}}}|{{{size|768px}}}|{{#ifeq: {{{link|}}}|no|link=|{{#if:{{{link|}}}|link={{{link|}}} }} }}|center]]<!-- | ||
-->{{#ifeq: {{{showcaption|}}}|false||<div class="card-body p-0"><p class="card-text mt-1 {{{captionclass|}}}" style="font-size: 80%; line-height: 1.2;">{{{caption|{{{2|}}}}}}</p> | -->{{#ifeq:{{{caption|}}}|||{{#ifeq:{{{showcaption|}}}|false||<div class="card-body p-0"><p class="card-text mt-1 {{{captionclass|}}}" style="font-size: 80%; line-height: 1.2;">{{{caption|{{{2|}}}}}}</p> | ||
</div>}} | </div>}}}} | ||
</div> | </div> | ||
| <div class="ps-md-1 mb-md-1 p-sm-0 m-sm-0 p-xs-0 m-xs-0 {{{overridecol|col-md-5 col-sm-12 col-xs-12}}} {{{float|float-end float-end}}} clearfix" style="clear:both; float:right; {{{style|{{{3|}}}}}}"> | | <div class="ps-md-1 mb-md-1 p-sm-0 m-sm-0 p-xs-0 m-xs-0 {{{overridecol|col-md-5 col-sm-12 col-xs-12}}} {{{float|float-end float-end}}} clearfix" style="clear:both; float:right; {{{style|{{{3|}}}}}}"> |
Revisi per 18 November 2024 13.58
{{ FloatImage | filename= | caption= | showcaption= | size= | overridecol= | style= }}
Isian
- showcaption
- Default: true. Isi false bila caption tidak akan ditampilkan
- size
- Default: 768px
- overridecol
- Default: col-md-5 col-sm-12 (standar responsive column bootstrap)
- style
- Tambahan style pada . Default: tidak diisi.