Template:HTML lists: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Jonesey95
(Undid revision 954119293 by Milker (talk). Consensus is that these edits are harmful.)
en>Ahecht
(Consolidate single-item groups, replace deprecated {{Multi-column numbered list}} with {{Columns-list}})
Line 45: Line 45:
{{cslist |item1 |item2 |...}}
{{cslist |item1 |item2 |...}}
{{!}}}
{{!}}}
| group3 =Bulleted
| group3 =Bulleted and Ordered
|  list3 ={{{!}}  
|  list3 ={{{!}}  
{{!}}-
{{!}}-
! 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}}}}
! 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 |item2 |...}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|bulleted list |item1 |item2 |...}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|Ordered list |list_style_type{{=}}lower-alpha |first |second |...}}
 
{{!}}-
{{!}}-
{{!}}<hr />
{{!}}<hr />
{{bulleted list |item1 |item2 |...}}
{{bulleted list |item1 |item2 |...}}
{{!}}<hr />
{{Ordered list |list_style_type=lower-alpha |first |second |...}}
{{!}}}
{{!}}}


Line 63: Line 71:
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|plainlist}}}}
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|plainlist}}}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
! 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;" {{!}}
{{!}} style="vertical-align: top;" {{!}}
Line 72: Line 82:
<nowiki />*...<br />
<nowiki />*...<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}}}}
{{!}}-
{{!}}-
{{!}}<hr />
{{!}}<hr />
Line 82: Line 98:
*...
*...
}}
}}
{{!}}}
| group7 = Ordered
|  list7 ={{{!}}
{{!}}-
! class="navbox-group" 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 |...}}
{{!}}}
| group9 = [[Wikipedia:Manual of Style/Glossaries|Glossary]]<br />(description,<br />definition,<br />association)
|  list9 ={{{!}}
{{!}}-
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|glossary}}}}
{{!}}-
{{!}}{{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 />
{{!}}<hr />
{{glossary}}
{{glossary}}
Line 114: Line 106:
{{!}}}
{{!}}}


| group11 = Floating
| group16 = Other
| list11={{{!}}  
| list16 = {{{!}}
{{!}}-
{{!}}-
! 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}}}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|columns-list}}}}
! rowspan=3 style="width:2em; background-color:transparent;" {{!}}
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|colored list}}}}
{{!}}-
{{!}}-
{{!}}<code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
{{!}} 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 />}}
{{tlx|flowlist|<br />*item1<br />*item2<br />*...<br />}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|columns-list|colwidth{{=}}5em|
<br />
<nowiki />#first<br />
<nowiki />#second<br />
<nowiki />#third<br />
<nowiki />#...<br />}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{!}}-
{{!}}-
{{!}}<hr />
{{!}}<hr />
Line 129: Line 135:
*...
*...
}}
}}
{{!}}}
| group15 = Multi-column
|  list15 ={{{!}}
{{!}}-
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|multi-column numbered list}}}}
{{!}}-
{{!}}
{{tlx|multi-column numbered list |first&nbsp;|second&nbsp;|...}}
{{!}}-
{{!}}<hr />
{{!}}<hr />
This table-based template does not work nested inside other templates, only in the main body of a page. Do not attempt to use it in [[WP:Manual of Style/Infoboxes|infoboxes]], [[Wikipedia:Categories, lists, and navigation templates#Navigation templates|navboxes]], etc.
{{columns-list|colwidth=5em|
{{!}}}
#first
 
#second
| group16 = Other
#third
| list16 = {{{!}}
#...
{{!}}-
}}
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|colored list}}}}
{{!}}-
{{!}}
{{tlx|colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{!}}-
{{!}}<hr />
{{!}}<hr />
{{colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{colored list |item1&nbsp;|item2&nbsp;|item3&nbsp;|...}}
{{!}}}
{{!}}}


|below = {{cl|List templates}}
|below = {{cl|List templates}}

Revision as of 15:10, 25 May 2020