Template:HTML lists: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Frietjes
No edit summary
en>Ahecht
(add flowlist, use consistent formatting)
Line 21: Line 21:
{{!}}-
{{!}}-
{{!}} style="vertical-align: top;" {{!}}
{{!}} style="vertical-align: top;" {{!}}
{{tlx|hlist |item1 |item2 |...}}
{{tnull|hlist |item1 |item2 |...}}
{{!}} style="vertical-align: top;" {{!}}
{{!}} style="vertical-align: top;" {{!}}
<code style="padding-left: 0;"><nowiki>{{flatlist|</nowiki><br />
<code style="padding-left: 0;"><nowiki>{{flatlist|</nowiki><br />
Line 40: Line 40:
{{!}}}
{{!}}}
| group3 =Bulleted
| group3 =Bulleted
|  list3 =
|  list3 ={{{!}}
{{tlx|bulleted list |item1&nbsp;|item2&nbsp;|...}}<hr />
{{!}}-
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|bulleted list}}}}
{{!}}-
{{!}}{{tnull|bulleted list |item1&nbsp;|item2&nbsp;|...}}
{{!}}-
{{!}}<hr />
{{bulleted list |item1 |item2 |...}}
{{bulleted list |item1 |item2 |...}}
{{!}}}


| group5 =Unbulleted
| group5 =Unbulleted
Line 73: Line 79:


| group7 = Ordered
| group7 = Ordered
|  list7 ={{tlx|ordered list |list_style_type{{=}}lower-alpha&nbsp;|first&nbsp;|second&nbsp;|...}}<hr />
|  list7 ={{{!}}
{{!}}-
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|ordered list}}}}
{{!}}-
{{!}}{{tnull|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 |...}}
{{!}}}


| group9 = [[Wikipedia:Manual of Style/Glossaries|Glossary]]<br />(description,<br />definition,<br />association)
| group9 = [[Wikipedia:Manual of Style/Glossaries|Glossary]]<br />(description,<br />definition,<br />association)
|  list9 =
|  list9 ={{{!}}
{{tlx|glossary}}<br />
{{!}}-
{{tlx|term|first term}} {{tlx|defn|first description}}<br />
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|glossary}}}}
{{!}}-
{{!}}{{tnull|glossary}}<br />
{{mono|{{tl|term|first term}}}} {{mono|{{tl|defn|first description}}}}<br />
{{tnull|term|second term}} {{tnull|defn|second description}}<br />
{{tnull|term|second term}} {{tnull|defn|second description}}<br />
{{tnull|term|...}} {{tnull|defn|....}}<br />
{{tnull|term|...}} {{tnull|defn|....}}<br />
{{tlx|glossary end}}<hr />
{{mono|{{tl|glossary end}}}}
{{!}}-
{{!}}<hr />
{{glossary}}
{{glossary}}
{{term|first term}} {{defn|first description}}
{{term|first term}} {{defn|first description}}
Line 88: Line 106:
{{term|...}} {{defn|....}}
{{term|...}} {{defn|....}}
{{glossary end}}
{{glossary end}}
{{!}}}
| group11 = Floating
| list11={{{!}}
{{!}}-
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|flowlist}}}}
{{!}}-
{{!}}<code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
{{tnull|flowlist|<br />*item1<br />*item2<br />*...<br />}}
{{!}}-
{{!}}<hr />
[[File:Bad Title Example.png|left|thumb|100px]]
{{flowlist|
*item1
*item2
*...
}}
{{!}}}


| group15 = Multi-column
| group15 = Multi-column
|  list15 =
|  list15 ={{{!}}
{{tlx|multi-column numbered list |first&nbsp;|second&nbsp;|...}}<hr />
{{!}}-
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|multi-column numbered list}}}}
{{!}}-
{{!}}
{{tnull|multi-column numbered list |first&nbsp;|second&nbsp;|...}}
{{!}}-
{{!}}<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.
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.
{{!}}}


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

Revision as of 19:45, 30 May 2018