Template:Plainlist: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Created page with "<div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}| {{{..." |
Chalochatu (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
< | <includeonly> | ||
<ul class="plainlist"> | |||
</ | {{{1|}}} | ||
</ul> | |||
</includeonly> | |||
<noinclude> | |||
== Usage == | |||
This template generates a plain list without bullets or extra indentation. | |||
=== Syntax === | |||
<pre> | |||
{{Plainlist| | |||
* Item 1 | |||
* Item 2 | |||
* Item 3 | |||
}} | |||
</pre> | |||
The items must be prefixed with `*` for each list element. | |||
=== Notes === | |||
- The list uses the "plainlist" CSS class defined in MediaWiki:Common.css. | |||
- Do not include HTML `<ul>` or `<li>` tags inside the template call. | |||
[[Category:List templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 16:31, 31 August 2025
Usage
This template generates a plain list without bullets or extra indentation.
Syntax
{{Plainlist|
* Item 1
* Item 2
* Item 3
}}
The items must be prefixed with `*` for each list element.
Notes
- The list uses the "plainlist" CSS class defined in MediaWiki:Common.css.
- Do not include HTML `
- ` or `
- ` tags inside the template call.