Template:HTML lists: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>DePiep
No edit summary
m (75 revisions imported: importing hlist)
 
(52 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{navbox
{{navbox top
|name=Template:Navbox lists  
|name= HTML lists
|title=HTML listings
|title=HTML lists
|state=uncollapsed
|state=<includeonly>collapsed</includeonly>


|above = {{hlist
|above = More information: {{hlist
| [[Help:List]]
| [[Help:List]]
| {{tl|hlist}}
| [[WP:List dos and don'ts]]
| {{tl|plainlist}} and {{tl|unbulleted list}}
| [[WP:Manual of Style/Embedded lists]]
| {{tl|bulleted list}}
| {{section link|WP:Manual of Style/Accessibility#Lists}}
| {{tl|ordered list}}
| [[WP:WikiProject Lists]]
| {{tl|multi-column numbered list}}
}}
}}
 
}}
| group1 =Bulleted
{| style="width:100%; text-align:left;"
| list1 =
! style="text-align:right;padding-right:0.5em;" | Flat
<code><nowiki>{{bulleted list |item1 |item2 |...}}</nowiki></code>
| style="vertical-align:top; width:30%"|
{| style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|hlist}}}}
|-
| {{tlx|hlist |item1&nbsp;|item2&nbsp;|...}}
|-
| <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&nbsp;|item2&nbsp;|...}}
|-
| <hr />
{{cslist |item1 |item2 |...}}
|-
!style="font-weight: normal; text-align:center;" | {{mono|{{tl|bold list}}}}
|-
| {{tlx|bold list |item1&nbsp;|item2&nbsp;|...}}
|-
| <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&nbsp;|item2&nbsp;|...}}
|-
| <hr />
{{bulleted list |item1 |item2 |...}}
{{bulleted list |item1 |item2 |...}}
 
|}
| group2 =Unbulleted
| style="vertical-align:top;"|
| list2 =
| style="vertical-align:top;"|
<code><nowiki>{{unbulleted list|item1|item2|...}}</nowiki></code>
{| 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 |...}}
|}
|-
! 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&nbsp;|item2&nbsp;|...}}
|-
| <hr />
{{unbulleted list|item1|item2|...}}
{{unbulleted list|item1|item2|...}}
 
|}
| group3 = Ordered list
| style="vertical-align:top"|
| list3 ={{tl|Ordered list}}
{| style="width:100%"
 
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|plainlist}}}}
| group4 =Mult-column list
|-
| list4 =
| {{tlx|plainlist|<br />* item1<br />* item2<br />* ...}}
<code><nowiki>{{Multi-column numbered list}}</nowiki></code>
|-
{{Multi-column numbered list}}/todo
| <hr />
 
{{plainlist|
|below = See also:  
* item1
{{hlist
* item2
|{{tl|hlist}}
* ...
|{{tl|plainlist}} and {{tl|unbulleted list}}
}}
|tl|bulleted list}}
|}
|{{tl|pagelist}}
| 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)
 
|-
--><noinclude>
| {{tlx|glossary}}<br />
*{{tlf|BList        }}
{{tlx|term|first term}} {{tlx|defn|first description}}<br />
*{{tlf|Blist        }}
{{tnull|term|second term}} {{tnull|defn|second description}}<br />
*{{tlf|Bullet list  }}
{{tnull|term|...}} {{tnull|defn|....}}<br />
*{{tlf|Bulleted      }}
{{mono|{{tl|glossary end}}}}
*{{tlf|Bulleted list }}
|-
*{{tlf|Bulletedlist  }}
| <hr />
*{{tlf|Bulletlist    }}
{{glossary}}
*{{tlf|Ulist        }}
{{term|first term}} {{defn|first description}}
*{{tlf|Unordered list}}
{{term|second term}} {{defn|second description}}
{{clear right}}
{{term|...}} {{defn|....}}
*[[Help:List]]
{{glossary end}}
*{{tl|multi-column numbered list}}
|}
 
|-
== Redirects ==
! style="text-align:right;padding-right:0.5em;" | Other
 
| style="vertical-align:top"|
{{navbox lists}}
{| style="width:100%"
 
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flowlist}}}}
== See also ==
|-
* {{tl|unbulleted list}}{{\}}{{tl|plainlist}}, templates producing vertical lists without prefixes (e.g. without bullets, other shapes, numbering).
| <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
* {{tl|ordered list}}, a template producing a vertical list whose items are prefixed by incremental numbers or letters.
{{tlx|flowlist|<br />*item1<br />*item2<br />*...}}
* {{tl|hlist}}{{\}}{{tl|flatlist}}, templates producing horizontal lists (strings of items separated by [[interpunct]]s).
|-
 
| <hr />
<br>{{documentation}}</noinclude>
[[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>

Latest revision as of 20:51, 14 October 2022