Difference between revisions of "Template:List item box"

From LFS Manual
Jump to navigationJump to search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<li style="display: inline-block; list-style: none; padding: 16px; border: 1px solid #c8ccd1; background-color: #FAFAFA;">
+
<includeonly><li style="list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden">
<div style="font-size: 210%; line-height: 1.4; margin-bottom: 14px">{{{2}}}</div>
+
{{#if:{{{3|}}}|<div style="overflow: hidden;display: flex; justify-content: center;">[[File:{{{3}}}|link=|{{{1}}}]]</div>}}
<div style="font-size: 115%;">{{{3}}}</div>
+
<div style="padding: 16px">
</li><noinclude>
+
<div style="font-size: 210%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div>
 
+
<div style="font-size: 115%;">{{{2}}}</div>
== Documentation ==
+
</div>
 
+
</li></includeonly><noinclude>
{{list item box|300|Getting started|
+
{{documentation}}
Learn how to
 
* test
 
* test
 
}}
 
 
 
[[Category:Layout templates]]
 

Latest revision as of 01:36, 6 December 2023

Template Info-Icon.png

Template documentation

View - Edit

Basic example

Markup Renders as
{{list item box|Getting started|
Learn how to
* test
* test
}}
  • Getting started

    Learn how to

    • test
    • test
  • With image

    Markup Renders as
    {{list item box|Getting started|
    Learn how to
    * test
    * test
    |Modeller load and save objects.jpg|44}}
  • Getting started
    Getting started

    Learn how to

    • test
    • test
  • Getting started
    Getting started

    Learn how to

    • test
    • test