Template:HTML lists: Difference between revisions
en>Njd-de (fix formatting of plainlist and columns-list display) |
en>ExE Boss (Consistently use `style="vertical‑align: top;"`) |
||
Line 13: | Line 13: | ||
| group1=Flat | | group1=Flat | ||
| list1=<nowiki /> | | list1= <nowiki /> | ||
{{ | {{(!}} | ||
{{!}}- | {{!}}- | ||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|hlist}}}} | ! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|hlist}}}} | ||
Line 29: | Line 29: | ||
{{tlx|cslist |item1 |item2 |...}} | {{tlx|cslist |item1 |item2 |...}} | ||
{{!}}- | {{!}}- | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{hlist |item1 |item2 |...}} | {{hlist |item1 |item2 |...}} | ||
{{!}} style="vertical-align: top;" {{!}} | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
<hr /> | |||
{{flatlist| | {{flatlist| | ||
* item1 | * item1 | ||
Line 38: | Line 37: | ||
* ... | * ... | ||
}} | }} | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{cslist |item1 |item2 |...}} | {{cslist |item1 |item2 |...}} | ||
{{! | {{!)}} | ||
| group3 =Bulleted and Ordered | | group3 =Bulleted and Ordered | ||
| list3 ={{ | | list3 = <nowiki /> | ||
{{(!}} | |||
{{!}}- | {{!}}- | ||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|bulleted list}}}} | ! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|bulleted list}}}} | ||
Line 54: | Line 54: | ||
{{!}}- | {{!}}- | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{bulleted list |item1 |item2 |...}} | {{bulleted list |item1 |item2 |...}} | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{Ordered list |list_style_type=lower-alpha |first |second |...}} | {{Ordered list |list_style_type=lower-alpha |first |second |...}} | ||
{{! | {{!)}} | ||
| group5 =Unbulleted | | group5 =Unbulleted | ||
| list5 =<nowiki /> | | list5 = <nowiki /> | ||
{{ | {{(!}} | ||
{{!}}- | {{!}}- | ||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|unbulleted list}}}} | ! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|unbulleted list}}}} | ||
Line 81: | Line 81: | ||
{{mono|{{tl|glossary end}}}} | {{mono|{{tl|glossary end}}}} | ||
{{!}}- | {{!}}- | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{unbulleted list|item1|item2|...}} | {{unbulleted list|item1|item2|...}} | ||
{{!}} style="vertical-align: top;" {{!}} | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
<hr /> | |||
{{plainlist| | {{plainlist| | ||
* item1 | * item1 | ||
Line 90: | Line 89: | ||
* ... | * ... | ||
}} | }} | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{glossary}} | {{glossary}} | ||
{{term|first term}} {{defn|first description}} | {{term|first term}} {{defn|first description}} | ||
Line 96: | Line 95: | ||
{{term|...}} {{defn|....}} | {{term|...}} {{defn|....}} | ||
{{glossary end}} | {{glossary end}} | ||
{{! | {{!)}} | ||
| group16 = Other | | group16 = Other | ||
| list16 = {{ | | list16 = <nowiki /> | ||
{{(!}} | |||
{{!}}- | {{!}}- | ||
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|flowlist}}}} | ! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|flowlist}}}} | ||
Line 115: | Line 115: | ||
{{tlx|colored list |item1 |item2 |item3 |...}} | {{tlx|colored list |item1 |item2 |item3 |...}} | ||
{{!}}- | {{!}}- | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
[[File:Bad Title Example.png|left|thumb|100px]] | [[File:Bad Title Example.png|left|thumb|100px]] | ||
{{flowlist| | {{flowlist| | ||
Line 122: | Line 122: | ||
*... | *... | ||
}} | }} | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{columns-list|colwidth=5em| | {{columns-list|colwidth=5em| | ||
# first | # first | ||
Line 129: | Line 129: | ||
# ... | # ... | ||
}} | }} | ||
{{!}}<hr /> | {{!}} style="vertical-align: top;" {{!}}<hr /> | ||
{{colored list |item1 |item2 |item3 |...}} | {{colored list |item1 |item2 |item3 |...}} | ||
{{! | {{!)}} | ||
|below = {{cl|List formatting and function templates}} | |below = {{cl|List formatting and function templates}} |
Revision as of 20:42, 12 July 2021
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]