Difference between revisions of "Template:List item box"
From LFS Manual
Jump to navigationJump to search| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><li style="list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden"> | <includeonly><li style="list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden"> | ||
| − | {{#if:{{{3|}}}|<div style="overflow: hidden;display: flex; justify-content: center;">[[File:{{{3}}}|link=|{{{1}}}]]</div>}} | + | {{#if:{{{3|}}}|<div style="overflow: hidden;display: flex; justify-content: center;">[[File:{{{3}}}|link={{{imagelink|}}}|{{{4}}}|{{{1}}}]]</div>}} |
<div style="padding: 16px"> | <div style="padding: 16px"> | ||
<div style="font-size: 190%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div> | <div style="font-size: 190%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div> | ||
<div style="font-size: 115%;">{{{2}}}</div> | <div style="font-size: 115%;">{{{2}}}</div> | ||
| − | {{#if:{{{button|}}}|<div style="background: | + | {{#if:{{{button|}}}|<div style="font-size: 0.9rem; background: #F3D263; border: 1px solid #ECC969; padding: 0.35rem 0.8rem; text-align: center; margin-top: 1rem">{{{button}}}</div>|<!-- no button -->}} |
</div> | </div> | ||
</li></includeonly><noinclude> | </li></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
Latest revision as of 13:53, 20 February 2026
Template documentation
Basic example
| Markup | Renders as |
|---|---|
{{list item box|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}}
|
|
With button
| Markup | Renders as |
|---|---|
{{list item box|Getting started|
Learn how to
* test
* test
|button=[[Introduction|Get started]]}}
|
|