Template:HTML lists: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>DePiep
No edit summary
m (75 revisions imported: importing hlist)
 
(48 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=Flatlist
{| style="width:100%; text-align:left;"
| list1= <code><nowiki>{{flatlist|
! 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&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
* item1
* item2
* item2
* ...
* ...
}}</nowiki></code>
}}
{{flatlist|
|}
| 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 |...}}
|}
| 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 |...}}
|}
|-
! 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|...}}
|}
| 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
* item1
* item2
* item2
* ...
* ...
}}
}}
 
|}
| group3 =Bulleted
| style="vertical-align:top"|
| list3 =
{| style="width:100%"
<code><nowiki>{{bulleted list |item1 |item2 |...}}</nowiki></code>
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|glossary}}}}<br />([[Wikipedia:Manual of Style/Glossaries|glossary]], description, definition, association)
{{bulleted list |item1 |item2 |...}}
|-
 
| {{tlx|glossary}}<br />
| group5 =Unbulleted
{{tlx|term|first term}} {{tlx|defn|first description}}<br />
| list5 =
{{tnull|term|second term}} {{tnull|defn|second description}}<br />
<code><nowiki>{{unbulleted list|item1|item2|...}}</nowiki></code>
{{tnull|term|...}} {{tnull|defn|....}}<br />
{{unbulleted list|item1|item2|...}}
{{mono|{{tl|glossary end}}}}
 
|-
| group7 = Ordered list
| <hr />
|  list7 =<code><nowiki>{{tl|Ordered list|item1|item2|...}}</code></nowiki>
{{glossary}}
{{tl|Ordered list|item1|item2|...}}
{{term|first term}} {{defn|first description}}
 
{{term|second term}} {{defn|second description}}
| group9 =Mult-column list
{{term|...}} {{defn|....}}
| list9 =
{{glossary end}}
<code><nowiki>{{Multi-column numbered list}}</nowiki></code>
|}
{{Multi-column numbered list}}/todo
|-
 
! style="text-align:right;padding-right:0.5em;" | Other
|below = See also:
| style="vertical-align:top"|
{{hlist
{| style="width:100%"
|{{tl|hlist}}
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flowlist}}}}
|{{tl|plainlist}} and {{tl|unbulleted list}}
|-
|tl|bulleted list}}
| <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
|{{tl|pagelist}}
{{tlx|flowlist|<br />*item1<br />*item2<br />*...}}
 
|-
}}<!--
| <hr />
 
[[File:Bad Title Example.png|left|thumb|100px]]
--><noinclude>
{{flowlist|
*{{tlf|BList        }}
*item1
*{{tlf|Blist        }}
*item2
*{{tlf|Bullet list  }}
*...
*{{tlf|Bulleted      }}
}}
*{{tlf|Bulleted list }}
|}
*{{tlf|Bulletedlist  }}
| style="vertical-align:top"|
*{{tlf|Bulletlist    }}
{| style="width:100%"
*{{tlf|Ulist        }}
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|columns-list}}}}
*{{tlf|Unordered list}}
|-
{{clear right}}
| {{tlx|columns-list|colwidth{{=}}5em|<br /># first<br /># second<br /># third<br /># ...}}
*[[Help:List]]
|-
*{{tl|multi-column numbered list}}
| <hr />
 
{{columns-list|colwidth=5em|
== Redirects ==
# first
 
# second
{{navbox lists}}
# third
 
# ...
== See also ==
}}
* {{tl|unbulleted list}}{{\}}{{tl|plainlist}}, templates producing vertical lists without prefixes (e.g. without bullets, other shapes, numbering).
|}
* {{tl|ordered list}}, a template producing a vertical list whose items are prefixed by incremental numbers or letters.
| style="vertical-align:top"|
* {{tl|hlist}}{{\}}{{tl|flatlist}}, templates producing horizontal lists (strings of items separated by [[interpunct]]s).
|}
 
{{navbox bottom
<br>{{documentation}}</noinclude>
|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