Template:HTML lists: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>DePiep
No edit summary
m (75 revisions imported: importing hlist)
 
(35 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>{{ordered list|a|b|...}}</code></nowiki>
{{glossary}}
{{ordered list|a|b|...}}
{{term|first term}} {{defn|first description}}
 
{{term|second term}} {{defn|second description}}
| group9 =Multi-column
{{term|...}} {{defn|....}}
| list9 =
{{glossary end}}
<code><nowiki>{{multi-column numbered list|1|2|3|4}}
|}
</nowiki></code>
|-
{{multi-column numbered list|1|2|3|4}}
! style="text-align:right;padding-right:0.5em;" | Other
 
| style="vertical-align:top"|
|below =
{| style="width:100%"
}}<!--
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flowlist}}}}
 
|-
--><noinclude>{{documentation}}</noinclude>
| <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>

Latest revision as of 20:51, 14 October 2022