Template:HTML lists: Difference between revisions
en>Frietjes No edit summary |
en>Ahecht (add flowlist, use consistent formatting) |
||
Line 21: | Line 21: | ||
{{!}}- | {{!}}- | ||
{{!}} style="vertical-align: top;" {{!}} | {{!}} style="vertical-align: top;" {{!}} | ||
{{ | {{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 ={{{!}} | ||
{{ | {{!}}- | ||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|bulleted list}}}} | |||
{{!}}- | |||
{{!}}{{tnull|bulleted list |item1 |item2 |...}} | |||
{{!}}- | |||
{{!}}<hr /> | |||
{{bulleted list |item1 |item2 |...}} | {{bulleted list |item1 |item2 |...}} | ||
{{!}}} | |||
| group5 =Unbulleted | | group5 =Unbulleted | ||
Line 73: | Line 79: | ||
| group7 = Ordered | | group7 = Ordered | ||
| list7 ={{ | | list7 ={{{!}} | ||
{{!}}- | |||
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|ordered list}}}} | |||
{{!}}- | |||
{{!}}{{tnull|ordered list |list_style_type{{=}}lower-alpha |first |second |...}} | |||
{{!}}- | |||
{{!}}<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 ={{{!}} | ||
{{ | {{!}}- | ||
{{ | ! 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 /> | ||
{{ | {{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 ={{{!}} | ||
{{ | {{!}}- | ||
! class="navbox-group" style="font-weight: normal; text-align:center;" {{!}} {{mono|{{tl|multi-column numbered list}}}} | |||
{{!}}- | |||
{{!}} | |||
{{tnull|multi-column numbered list |first |second |...}} | |||
{{!}}- | |||
{{!}}<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
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]