Template:InlineImage: Difference between revisions

From Bodhicitta
((by SublimeText.Mediawiker))
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="float-{{{ float | }}} text-center mx-3" style="width: {{{ width | }}};">[[File:{{{ img | }}}|class=rounded tsdwiki-depth-1 mb-2|{{{ width | }}}|link=|]]
<includeonly><div class="{{#ifeq:{{{float|}}}|center|d-flex justify-content-center|float-sm-{{{float|}}}}} text-center mx-md-3 px-0 {{#ifeq:{{{float|}}}|center|col-12|col-sm-6 px-sm-3 col-lg-4}} {{{wrapperClasses|}}}">
<div class="text-80 font-italic">{{{ caption | }}}</div>
{{#ifeq:{{{float|}}}|center|<div class="d-flex flex-column align-items-center">|}}
{{#widget:InlineFancyBoxImg
|srcFullSize={{filepath:{{#titleparts:{{{img|}}}}}|1200}}
|src={{filepath:{{#titleparts:{{{img|}}}}}|600}}
}}<div class="text-80 font-italic">{{{caption|}}}</div>
{{#ifeq:{{{float|}}}|center|</div>|}}
</div></includeonly>
</div></includeonly>

Latest revision as of 16:10, 28 January 2026