Template:Unbulleted list/doc
Appearance
This is a documentation subpage for Template:Unbulleted list It may contain usage information, categories and other content that is not part of the original template page. |
This template is used (primarily in infoboxes) to create unbulleted lists using the correct HTML mark-up using CSS to hide the bullets. Up to 50 entries are supported. Each item in the list may have styles added to it individually, by appending a numbered parameter. The parameter li_style1 formats the first item, li_style2 the second, and so on.
Usage
[edit source]{{Unbulleted list|entry1|entry2|entry3}}
{{Unbulleted list|entry1|entry2|entry3|li_style1=css-style-a;css-style-b;|li_style3=css-style-x;css-style-y;}}
Examples
[edit source]Code | Result |
---|---|
{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}} |
|
{{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}} |
|
{{Unbulleted list| |entry2|entry3}} |
|
{{Unbulleted list|entry1| |entry3}} |
|
{{Unbulleted list|entry1|entry2| }} |
|
{{Unbulleted list|entry1| | }} |
|
{{Unbulleted list| |entry2| }} |
|
{{Unbulleted list| | |entry3}}} |
|
{{Unbulleted list| | | }}} |