Template:Unbulleted list/doc: Difference between revisions
From Video Credit Archive
Content deleted Content added
imported>Bjankuloski06en~enwiki mk |
imported>Majed mNo edit summary |
||
Line 54: | Line 54: | ||
[[Category:Wikipedia list formatting templates]] |
[[Category:Wikipedia list formatting templates]] |
||
[[ar:قالب:Unbulleted list]] |
|||
[[es:Plantilla:Lista sin viñetas]] |
[[es:Plantilla:Lista sin viñetas]] |
||
[[mk:Шаблон:Список без потточки]] |
[[mk:Шаблон:Список без потточки]] |
Revision as of 01:01, 11 August 2012
File:Edit-copy green.svg | This is a documentation subpage for Template:Unbulleted list. It contains usage information, categories and other content that is not part of the original template page. |
This template creates unbulleted lists. Up to 50 entries are supported. Each item in the list may have CSS 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.
Syntax
- Simple
{{Unbulleted list|entry1|entry2 ...|entry50}}
- With CSS style
{{Unbulleted list|entry1|entry2 ...|entry50|li_style=CSS-all}}
- With separate CSS styles for each item
{{Unbulleted list|entry1|entry2 ...|entry50|li_style1=CSS1|li_style2=CSS2 ...|li_style50=CSS50}}
Paramter | Description |
---|---|
entry1 ... entry50 | These unnamed parameters are individual list items that appear as separate lines. They can be words or full sentences. However, all instance of equal sign (=) must be replaced with "{{=}}"; otherwise, the affected line will not appear. |
CSS1 ... CSS50 | Standard Cascading Style Sheet (CSS) styles that change the look of each line. (User must know CSS syntax.) |
CSS-all | Standard CSS styles that change the look of all entries. (User must know CSS syntax.) When present, CSS1 through CSS5 are disregarded. |
Example
Code | Result |
---|---|
{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}
|
|
{{Unbulleted list|Winner|Runner-up|Third place|li_style=color:blue;}}
|
|
{{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:yellow;|li_style2=background-color:silver;}}
|
|
Redirects
- {{ubl}}
See also
- {{nowrap begin}}/{{nowrap end}}
- {{plainlist}}
- {{multi-column numbered list}}
- {{pagelist}}