Difference between revisions of "Template:List item box"

From LFS Manual
Jump to navigationJump to search
m
m
Line 1: Line 1:
 
<li style="position: relative; display: inline-block; padding-top: {{{4}}}px; list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden">
 
<li style="position: relative; display: inline-block; padding-top: {{{4}}}px; list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden">
{{#if:{{{3|}}}|<div style="position:absolute; top: 0; left: 0; height: {{{4}}}px; overflow: hidden">[[File:{{{3}}}|link=]]</div>}}
+
{{#if:{{{3|}}}|<div style="position:absolute; top: 0; left: 50%;  transform: translate(-50%, 0); height: {{{4}}}px; overflow: hidden">[[File:{{{3}}}|link=]]</div>}}
 
<div style="padding: 16px">
 
<div style="padding: 16px">
 
<div style="font-size: 210%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div>
 
<div style="font-size: 210%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div>
Line 22: Line 22:
 
* test
 
* test
 
|Modeller load and save objects.jpg|44}}
 
|Modeller load and save objects.jpg|44}}
 +
 +
<div style="width: 10%">
 +
 +
{{list item box|Getting started|
 +
Learn how to
 +
* test
 +
* test
 +
|Modeller load and save objects.jpg|44}}
 +
</div>
  
 
[[Category:Layout templates]]
 
[[Category:Layout templates]]

Revision as of 20:46, 2 December 2023

  • {{{1}}}
    {{{2}}}
  • Documentation

  • Getting started

    Learn how to

    • test
    • test
  • With image

  • Modeller load and save objects.jpg
    Getting started

    Learn how to

    • test
    • test
  • Modeller load and save objects.jpg
    Getting started

    Learn how to

    • test
    • test