Template:TermBox: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) |
(VSCode edit) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="px-4 pt-1 pb-3 text-80 rounded tsdwiki-pop-off offwhite-bg my-2 {{{ classes | }}} {{#switch: {{{ side | }}} | <includeonly><div class="px-4 pt-1 pb-3 text-80 rounded tsdwiki-pop-off offwhite-bg my-2 col-sm-6 col-md-4 {{{ classes | }}} {{#switch: {{{ side | }}} | ||
|right=float-right ml-3 | |right=float-right ml-3 | ||
|left=float-left mr-3 | |left=float-left mr-3 | ||
| Line 8: | Line 8: | ||
|title={{{ term | }}} | |title={{{ term | }}} | ||
}} | }} | ||
<noglossary><h5 class="mb-2">{{{ term | }}}</h5> | <noglossary><h5 class="mb-2">{{#if:{{#show:Key Terms/{{{ term | }}}|?Glossary-English}} | ||
|{{#show:Key Terms/{{{ term | }}}|?Glossary-English}} | |||
|{{#if:{{#show:Key Terms/{{{ term | }}}|?Glossary-English}} | |||
|{{#show:Key Terms/{{{ term | }}}|?Glossary-English}} | |||
|{{{ term | }}} | |||
}} | |||
}}</h5> | |||
<div class="line13 text-95 clipped-5-lines" style="max-height: 125px !important;">{{#if:{{{ definition | }}} | <div class="line13 text-95 clipped-5-lines" style="max-height: 125px !important;">{{#if:{{{ definition | }}} | ||
|{{{ definition | }}} | |{{{ definition | }}} | ||