|
|
Line 1: |
Line 1: |
| {{navbox top
| | #REDIRECT [[Template:HTML lists]] |
| |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%; text-align:left;"
| |
| ! style="text-align:right;padding-right:0.5em;" | Flat
| |
| | style="vertical-align:top; width:30%"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|hlist}}}}
| |
| |-
| |
| | {{tlx|hlist |item1 |item2 |...}}
| |
| |-
| |
| | <hr />
| |
| {{hlist |item1 |item2 |...}}
| |
| |}
| |
| | style="vertical-align:top; width:30%"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flatlist}}}}
| |
| |-
| |
| | {{tlx|flatlist|<br />* item1<br />* item2<br />* ...}}
| |
| |-
| |
| | <hr />
| |
| {{flatlist|
| |
| * item1
| |
| * item2
| |
| * ...
| |
| }}
| |
| |}
| |
| | style="vertical-align:top; width:30%"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|cslist}}}}
| |
| |-
| |
| | {{tlx|cslist |item1 |item2 |...}}
| |
| |-
| |
| | <hr />
| |
| {{cslist |item1 |item2 |...}}
| |
| |-
| |
| !style="font-weight: normal; text-align:center;" | {{mono|{{tl|bold list}}}}
| |
| |-
| |
| | {{tlx|bold list |item1 |item2 |...}}
| |
| |-
| |
| | <hr />
| |
| {{bold list |item1 |item2 |...}}
| |
| |}
| |
| |-
| |
| ! style="text-align:right;padding-right:0.5em;" | Bulleted and Ordered
| |
| | style="vertical-align:top;"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|bulleted list}}}}
| |
| |-
| |
| | {{tlx|bulleted list |item1 |item2 |...}}
| |
| |-
| |
| | <hr />
| |
| {{bulleted list |item1 |item2 |...}}
| |
| |}
| |
| | style="vertical-align:top;"|
| |
| | style="vertical-align:top;"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|ordered list}}}}
| |
| |-
| |
| | {{tlx|Ordered list |list_style_type{{=}}lower-alpha |first |second |...}}
| |
| |-
| |
| | <hr />
| |
| {{Ordered list |list_style_type=lower-alpha |first |second |...}}
| |
| |}
| |
| |-
| |
| ! style="text-align:right;padding-right:0.5em;" | Unbulleted
| |
| | style="vertical-align:top"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|unbulleted list}}}}
| |
| |-
| |
| | {{tlx|unbulleted list |item1 |item2 |...}}
| |
| |-
| |
| | <hr />
| |
| {{unbulleted list|item1|item2|...}}
| |
| |}
| |
| | style="vertical-align:top"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|plainlist}}}}
| |
| |-
| |
| | {{tlx|plainlist|<br />* item1<br />* item2<br />* ...}}
| |
| |-
| |
| | <hr />
| |
| {{plainlist|
| |
| * item1
| |
| * item2
| |
| * ...
| |
| }}
| |
| |}
| |
| | style="vertical-align:top"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{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}}}}
| |
| |-
| |
| | <hr />
| |
| {{glossary}}
| |
| {{term|first term}} {{defn|first description}}
| |
| {{term|second term}} {{defn|second description}}
| |
| {{term|...}} {{defn|....}}
| |
| {{glossary end}}
| |
| |}
| |
| |-
| |
| ! style="text-align:right;padding-right:0.5em;" | Other
| |
| | style="vertical-align:top"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flowlist}}}}
| |
| |-
| |
| | <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
| |
| {{tlx|flowlist|<br />*item1<br />*item2<br />*...}}
| |
| |-
| |
| | <hr />
| |
| [[File:Bad Title Example.png|left|thumb|100px]]
| |
| {{flowlist|
| |
| *item1
| |
| *item2
| |
| *...
| |
| }}
| |
| |}
| |
| | style="vertical-align:top"|
| |
| {| style="width:100%"
| |
| ! style="font-weight: normal; text-align:center;" | {{mono|{{tl|columns-list}}}}
| |
| |-
| |
| | {{tlx|columns-list|colwidth{{=}}5em|<br /># first<br /># second<br /># third<br /># ...}}
| |
| |-
| |
| | <hr />
| |
| {{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>
| |