Template:LineageGraphNode: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<div class="lineage-graph-node row offwhite-bg position-relative pop-hover overflow-hidden rounded-xl mx-0 h-100">{{#widget:TsdwikiImgDiv | <div class="lineage-graph-node row offwhite-bg position-relative pop-hover overflow-hidden rounded-xl mx-0 h-100">{{#widget:TsdwikiImgDiv | ||
|classes=position-absolute h-100 w-100 | |classes=position-absolute h-100 w-100 | ||
|src={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ figure | }}}|?FirstImage#}}}}}}| | |src={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ figure | }}}|?FirstImage#}}}}}}|500}} | ||
|bgPosition=10% 20% | |bgPosition={{{ bgPosition | 10% 20% }}} | ||
|bgSize=cover | |bgSize=cover | ||
|styles=left: 0px; top: 0px; margin-left: -8rem; | |styles=left: 0px; top: 0px; margin-left: -8rem; | ||
|content=<div class="position-absolute w-100 h-100" style="background: linear-gradient(to right, rgba(255, 252, 245, 0), rgba(255, 252, 245, .2), rgba(255, 252, 245, .7), rgba(255, 252, 245, 1));"></div> | |content=<div class="position-absolute w-100 h-100" style="background: linear-gradient(to right, rgba(255, 252, 245, 0), rgba(255, 252, 245, .2), rgba(255, 252, 245, .7), rgba(255, 252, 245, 1));"></div> | ||
}} | }} | ||
<div class="col-9 offset-3 pr-3 py-3"> | <div class="col-9 offset-3 pr-3 py-3 text-right"> | ||
<div class="h6 mb-1">{{{ figure | }}}</div> | <div class="h6 mb-1">{{{ figure | }}}</div> | ||
<div class="text-article text-100">{{{ text | }}}</div> | <div class="text-article text-100">{{{ text | }}}</div> | ||