Template:Unbulleted list/doc: Difference between revisions
From Video Credit Archive
Content deleted Content added
imported>RexxS Explain previously-undocumented style parameter |
imported>RexxS update documentation to reflect recent changes |
||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS 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. |
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 <tt>li_style1</tt> formats the first item, <tt>li_style2</tt> the second, and so on. |
||
== Usage == |
== Usage == |
||
:<code><nowiki>{{Unbulleted list|entry1|entry2|entry3}}</nowiki></code> |
:<code><nowiki>{{Unbulleted list|entry1|entry2|entry3}}</nowiki></code> |
||
:<code><nowiki>{{Unbulleted list|entry1|entry2|entry3| |
:<code><nowiki>{{Unbulleted list|entry1|entry2|entry3|li_style1=css-style-a;css-style-b;|li_style3=css-style-x;css-style-y;}}</nowiki></code> |
||
Line 15: | Line 15: | ||
| <code><nowiki>{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}</nowiki></code> || {{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}} |
| <code><nowiki>{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}</nowiki></code> || {{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}} |
||
|- |
|- |
||
| <code><nowiki>{{Unbulleted list| |
| <code><nowiki>{{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}}</nowiki></code> || {{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}} |
||
|- |
|- |
||
| <code><nowiki>{{Unbulleted list| |entry2|entry3}}</nowiki></code> || {{Unbulleted list| |entry2|entry3}} |
| <code><nowiki>{{Unbulleted list| |entry2|entry3}}</nowiki></code> || {{Unbulleted list| |entry2|entry3}} |
Revision as of 10:30, 27 August 2011
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 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
{{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;}}
Example
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| | | }}} |
Redirects
- {{ubl}}
See also
- {{nowrap begin}}/{{nowrap end}}
- {{flatlist}}
- {{multi-column numbered list}}
- {{pagelist}}