Jump to content

Template:Unbulleted list/doc: Difference between revisions

no edit summary
(Created page with "{{Documentation subpage}} {{Lua|Module:List}}{{Uses TemplateStyles|Template:Plainlist/styles.css}} {{Code from Wikipedia}} This template creates unbulleted lists. Each item in the list may have CSS styles added to it individually, by appending a numbered parameter. == Usage == '''Basic usage''' <pre> <nowiki>{{</nowiki>unbulleted list<nowiki>|</nowiki>''first item''<nowiki>|</nowiki>''second item''<nowiki>|</nowiki>''third item''<nowiki>|</nowiki>...<n...")
 
No edit summary
 
Line 2: Line 2:
{{Lua|Module:List}}{{Uses TemplateStyles|Template:Plainlist/styles.css}}
{{Lua|Module:List}}{{Uses TemplateStyles|Template:Plainlist/styles.css}}
{{Code from Wikipedia}}
{{Code from Wikipedia}}
This template creates [[WP:UBLIST|unbulleted lists]]. Each item in the list may have [[CSS]] styles added to it individually, by appending a numbered parameter.
This template creates unbulleted lists. Each item in the list may have CSS styles added to it individually, by appending a numbered parameter.


== Usage ==
== Usage ==
Line 37: Line 37:
! style="width: 80%;" | Code !! Result
! style="width: 80%;" | Code !! Result
|-
|-
| <code><nowiki>{{Unbulleted list|entry1|entry2|entry3|entry4|entry5</nowiki>{{wbr}}<nowiki>|entry6|entry7|entry8|entry9}}</nowiki></code>
| <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}}
| {{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}
|-
|-
Line 48: Line 48:


=== Controlling line-breaking ===
=== Controlling line-breaking ===
Template {{tlx|nbsp}} may be used with {{tlx|wbr}} and {{tlx|nowrap}} to control line-breaking in bulletless lists, to prevent wrapped long entries from being confused with multiple entries. See [[Template:Wbr/doc#Controlling line-breaking in infoboxes]] for details.
Template {{tlx|nbsp}} may be used with {{tlx|wbr}} and {{tlx|nowrap}} to control line-breaking in bulletless lists, to prevent wrapped long entries from being confused with multiple entries. See [[Wikipedia:Template:Wbr/doc#Controlling line-breaking in infoboxes]] for details.


Wrapping this entire template with {{tlx|nowrap}} causes syntax errors. Use {{para|class|nowrap}} instead.
Wrapping this entire template with {{tlx|nowrap}} causes syntax errors. Use {{para|class|nowrap}} instead.