Template:HTML lists: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>ExE Boss
(Consistently use `style="vertical‑align: top;"`)
en>Frietjes
No edit summary
Line 1: Line 1:
{{navbox
{{navbox top
|name=Template:HTML lists  
|name= HTML lists
|title=HTML lists
|title=HTML lists
|state=<includeonly>collapsed</includeonly>
|state=<includeonly>collapsed</includeonly>
Line 11: Line 11:
| [[WP:WikiProject Lists]]
| [[WP:WikiProject Lists]]
}}
}}
 
}}
| group1=Flat
{| style="width:100%; text-align:left;"
|  list1= <nowiki />
! style="text-align:right;padding-right:0.5em;" | Flat
{{(!}}
| style="vertical-align:top; width:30%"|
{{!}}-
{| style="width:100%"
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|hlist}}}}
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|hlist}}}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
|-
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|flatlist}}}}
| {{tlx|hlist |item1&nbsp;|item2&nbsp;|...}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
|-
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|cslist}}}}
| <hr />
{{!}}-
{{!}} style="vertical-align: top;" {{!}}
{{tlx|hlist |item1&nbsp;|item2&nbsp;|...}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|flatlist|<br />* item1<br />* item2<br />* ...<br />}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|cslist |item1&nbsp;|item2&nbsp;|...}}
{{!}}-
{{!}} style="vertical-align: top;" {{!}}<hr />
{{hlist |item1 |item2 |...}}
{{hlist |item1 |item2 |...}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| 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|
{{flatlist|
* item1
* item1
Line 37: Line 35:
* ...
* ...
}}
}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| style="vertical-align:top; width:30%"|
{| style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|cslist}}}}
|-
| {{tlx|cslist |item1&nbsp;|item2&nbsp;|...}}
|-
| <hr />
{{cslist |item1 |item2 |...}}
{{cslist |item1 |item2 |...}}
{{!)}}
|}
| group3 =Bulleted and Ordered
|-
|  list3 = <nowiki />
! style="text-align:right;padding-right:0.5em;" | Bulleted and Ordered
{{(!}}
| style="vertical-align:top;"|
{{!}}-
{| style="width:100%"
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|bulleted list}}}}
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|bulleted list}}}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
|-
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|ordered list}}}}
| {{tlx|bulleted list |item1&nbsp;|item2&nbsp;|...}}
{{!}}-
|-
{{!}} style="vertical-align: top;" {{!}}
| <hr />
{{tlx|bulleted list |item1&nbsp;|item2&nbsp;|...}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|Ordered list |list_style_type{{=}}lower-alpha&nbsp;|first&nbsp;|second&nbsp;|...}}
 
{{!}}-
{{!}} style="vertical-align: top;" {{!}}<hr />
{{bulleted list |item1 |item2 |...}}
{{bulleted list |item1 |item2 |...}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| 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&nbsp;|first&nbsp;|second&nbsp;|...}}
|-
| <hr />
{{Ordered list |list_style_type=lower-alpha |first |second |...}}
{{Ordered list |list_style_type=lower-alpha |first |second |...}}
{{!)}}
|}
 
|-
| group5 =Unbulleted
! style="text-align:right;padding-right:0.5em;" | Unbulleted
| list5 = <nowiki />
| style="vertical-align:top"|  
{{(!}}
{| style="width:100%"
{{!}}-
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|unbulleted list}}}}
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|unbulleted list}}}}
|-
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
| {{tlx|unbulleted list |item1&nbsp;|item2&nbsp;|...}}
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|plainlist}}}}
|-
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
| <hr />
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|glossary}}}}<br />([[Wikipedia:Manual of Style/Glossaries|glossary]], description, definition, association)
{{!}}-
{{!}} style="vertical-align: top;" {{!}}
{{tlx|unbulleted list |item1&nbsp;|item2&nbsp;|...}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|plainlist|<br />* item1<br />* item2<br />* ...<br />}}
{{!}} style="vertical-align: top;" {{!}}
{{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}}}}
{{!}}-
{{!}} style="vertical-align: top;" {{!}}<hr />
{{unbulleted list|item1|item2|...}}
{{unbulleted list|item1|item2|...}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| 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|
{{plainlist|
* item1
* item1
Line 89: Line 89:
* ...
* ...
}}
}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| 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}}
{{glossary}}
{{term|first term}} {{defn|first description}}
{{term|first term}} {{defn|first description}}
Line 95: Line 106:
{{term|...}} {{defn|....}}
{{term|...}} {{defn|....}}
{{glossary end}}
{{glossary end}}
{{!)}}
|}
 
|-
| group16 = Other
! style="text-align:right;padding-right:0.5em;" | Other
| list16 = <nowiki />
| style="vertical-align:top"|
{{(!}}
{| style="width:100%"
{{!}}-
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flowlist}}}}
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|flowlist}}}}
|-
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
| <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|columns-list}}}}
{{tlx|flowlist|<br />*item1<br />*item2<br />*...}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
|-
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|colored list}}}}
| <hr />
{{!}}-
{{!}} style="vertical-align: top;" {{!}}
<code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
{{tlx|flowlist|<br />*item1<br />*item2<br />*...<br />}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|columns-list|colwidth{{=}}5em|<br /># first<br /># second<br /># third<br /># ...<br />}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{!}}-
{{!}} 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 123:
*...
*...
}}
}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| 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|
{{columns-list|colwidth=5em|
# first
# first
Line 129: Line 137:
# ...
# ...
}}
}}
{{!}} style="vertical-align: top;" {{!}}<hr />
|}
| style="vertical-align:top"|
{| style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|colored list}}}}
|-
| {{tlx|colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
|-
| <hr />
{{colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{!)}}
|}
 
|}
{{navbox bottom
|below = {{cl|List formatting and function templates‎}}
|below = {{cl|List formatting and function templates‎}}
}}<!--
}}<noinclude>
 
{{documentation}}
--><noinclude>
{{Documentation}}
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata -->
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata -->
</noinclude>
</noinclude>

Revision as of 15:46, 9 November 2021