Help:Style manual: Difference between revisions

Jump to navigation Jump to search
Line 500: Line 500:
: or
: or
: item 1 • item 2 • item 3 ...
: item 1 • item 2 • item 3 ...
The template {{t link|horizontal list}} can also be used to add horizontal lists:
; Using bulleted lists
{{comparison table|example=
Horizontal bulleted list:
<pre>{{horizontal list|
* item 1
* item 2
}}</pre>|result=
Horizontal bulleted list:
{{horizontal list|
* item 1
* item 2
}}}}
; Using description lists
{{comparison table|example=
Horizontal description list:
<pre>{{horizontal list|
; term : definition
; term : definition
}}</pre>|result=
Horizontal description list:
{{horizontal list|
; term : definition
; term : definition
}}}}
Nested lists can also be made horizontal this way:
; Using bulleted lists
{{comparison table|example=
Horizontal bulleted list:
<pre>{{horizontal list|
* item 1
** item 2
}}</pre>|result=
Horizontal bulleted list:
{{horizontal list|
* item 1
** item 2
}}}}


==== Unbulleted lists ====
==== Unbulleted lists ====