Editing
Template:HTML lists
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{navbox top |name= HTML lists |title=HTML lists |state=<includeonly>collapsed</includeonly> |above = More information: {{hlist | [[Help:List]] | [[WP:List dos and don'ts]] | [[WP:Manual of Style/Embedded lists]] | {{section link|WP:Manual of Style/Accessibility#Lists}} | [[WP:WikiProject Lists]] }} }} {|style="width:100%" | style="vertical-align:top; width:32%" | {| class="wikitable" style="width:100%" |- ! Horizontal list |- | {{mono|{{tl|hlist}}}} |- | {{tlx|hlist |item1 |item2 |...}} |- | {{hlist |item1 |item2 |...}} |} | rowspan=4 style="width:2%"| | style="vertical-align:top; width:32%"| {| class="wikitable" style="width:100%" |- ! Horizontal list |- | {{mono|{{tl|flatlist}}}} |- | {{tlx|flatlist|<br />* item1<br />* item2<br />* ...}} |- | {{flatlist| * item1 * item2 * ... }} |} | rowspan=4 style="width:2%" | | style="vertical-align:top; width:32%"| {| class="wikitable" style="width:100%" |- ! Horizontal list |- | {{mono|{{tl|cslist}}}} |- | {{tlx|cslist |item1 |item2 |...}} |- | {{cslist |item1 |item2 |...}} |} |- | style="vertical-align:top;"| {| class="wikitable" style="width:100%" |- ! Bulleted list |- | {{mono|{{tl|bulleted list}}}} |- | {{tlx|bulleted list |item1 |item2 |...}} |- | {{bulleted list |item1 |item2 |...}} |} | style="vertical-align:top;"| {| class="wikitable" style="width:100%" |- ! Numeric ordered list |- | {{mono|{{tl|ordered list}}}} |- | {{tlx|Ordered list |first |second |...}} |- | {{Ordered list |first |second |...}} |} | style="vertical-align:top;"| {| class="wikitable" style="width:100%" |- ! Alphabetic ordered list |- | {{mono|{{tl|ordered list}}}} |- | {{tlx|Ordered list |list_style_type{{=}}lower-alpha |first |second |...}} |- | {{Ordered list |list_style_type=lower-alpha |first |second |...}} |} |- | style="vertical-align:top"| {| class="wikitable" style="width:100%" |- ! Unbulleted list |- | {{mono|{{tl|unbulleted list}}}} |- | {{tlx|unbulleted list |item1 |item2 |...}} |- | {{unbulleted list|item1|item2|...}} |} | style="vertical-align:top"| {| class="wikitable" style="width:100%" |- ! Unbulleted list |- | {{mono|{{tl|plainlist}}}} |- | {{tlx|plainlist|<br />* item1<br />* item2<br />* ...}} |- | {{plainlist| * item1 * item2 * ... }} |} | style="vertical-align:top" rowspan=2| {| class="wikitable" style="width:100%" |- ! Glossary or definition list |- | {{mono|{{tl|glossary}}}}<br />([[Wikipedia:Manual of Style/Glossaries|glossary]], description, definition, association) |- | {{tlx|glossary}}<br /> {{tlx|term|first term}}{{tlx|defn|first description}}<br /> {{tnull|term|second term}}{{tnull|defn|second description}}<br /> {{tnull|term|...}}{{tnull|defn|....}}<br /> {{mono|{{tl|glossary end}}}} |- | {{glossary}} {{term|first term}}{{defn|first description}} {{term|second term}}{{defn|second description}} {{term|...}}{{defn|....}} {{glossary end}} |} |- | style="vertical-align:top"| {| class="wikitable" style="width:100%" |- ! Bulleted list to flow around an image |- | {{mono|{{tl|flowlist}}}} |- | <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br /> {{tlx|flowlist|<br />*item1<br />*item2<br />*...}} |- | [[File:Bad Title Example.png|left|thumb|100px]] {{flowlist| *item1 *item2 *... }} |} | style="vertical-align:top"| {| class="wikitable" style="width:100%" |- ! Ordered list in columns |- | {{mono|{{tl|columns-list}}}} |- | {{tlx|columns-list|colwidth{{=}}5em|<br /># first<br /># second<br /># third<br /># ...}} |- | {{columns-list|colwidth=5em| # first # second # third # ... }} |} | style="vertical-align:top"| |} {{navbox bottom |below = {{cl|List formatting and function templates}} }}<noinclude> {{documentation}} <!-- Please add categories to the /doc subpage; interwikis go to Wikidata --> </noinclude>
Summary:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Bulleted list
(
edit
)
Template:Category link
(
edit
)
Template:Category link/core
(
edit
)
Template:Cl
(
edit
)
Template:Columns-list
(
edit
)
Template:Cslist
(
edit
)
Template:Cslist/styles.css
(
edit
)
Template:Defn
(
edit
)
Template:Div col
(
edit
)
Template:Div col/styles.css
(
edit
)
Template:Documentation
(
edit
)
Template:Flatlist
(
edit
)
Template:Flowlist
(
edit
)
Template:Flowlist/styles.css
(
edit
)
Template:Glossary
(
edit
)
Template:Glossary/styles.css
(
edit
)
Template:Glossary end
(
edit
)
Template:Hlist
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Ifsubst
(
edit
)
Template:Main other
(
edit
)
Template:Mono
(
edit
)
Template:Mono/styles.css
(
edit
)
Template:Navbox bottom
(
edit
)
Template:Navbox top
(
edit
)
Template:Ordered list
(
edit
)
Template:Plainlist
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Section link
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template link null
(
edit
)
Template:Term
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:Tnull
(
edit
)
Template:Unbulleted list
(
edit
)
Template:Yesno
(
edit
)
Module:Arguments
(
view source
) (protected)
Module:Check for unknown parameters
(
edit
)
Module:Color contrast
(
edit
)
Module:Color contrast/colors
(
edit
)
Module:Cslist
(
edit
)
Module:Delink
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/styles.css
(
edit
)
Module:List
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Navbox
(
edit
)
Module:Navbox/configuration
(
edit
)
Module:Navbox/styles.css
(
edit
)
Module:Navbox top and bottom
(
edit
)
Module:Section link
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Template wrapper
(
edit
)
Module:Yesno
(
view source
) (protected)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Donate
Tools
What links here
Related changes
Upload file
Special pages
Page information