Template:HTML lists: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
m (Undid edits by 220.83.191.190 (talk) to last revision by Ingenuity)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
}}
}}
}}
}}
{| style="width:100%; text-align:left;"
{|style="width:100%"
! style="text-align:right;padding-right:0.5em;" | Flat
| style="vertical-align:top; width:32%" |
| style="vertical-align:top; width:30%"|
{| class="wikitable" style="width:100%"
{| style="width:100%"
|-
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|hlist}}}}
! Horizontal list
|-
| {{mono|{{tl|hlist}}}}
|-
|-
| {{tlx|hlist |item1 |item2 |...}}
| {{tlx|hlist |item1 |item2 |...}}
|-
|-
| <hr />
|
{{hlist |item1 |item2 |...}}
{{hlist |item1 |item2 |...}}
|}
|}
| style="vertical-align:top; width:30%"|
| rowspan=4 style="width:2%"|
{| style="width:100%"
| style="vertical-align:top; width:32%"|
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flatlist}}}}
{| class="wikitable" style="width:100%"
|-
! Horizontal list
|-
| {{mono|{{tl|flatlist}}}}
|-
|-
| {{tlx|flatlist|<br />* item1<br />* item2<br />* ...}}
| {{tlx|flatlist|<br />* item1<br />* item2<br />* ...}}
|-
|-
| <hr />
|
{{flatlist|
{{flatlist|
* item1
* item1
Line 36: Line 42:
}}
}}
|}
|}
| style="vertical-align:top; width:30%"|
| rowspan=4 style="width:2%" |
{| style="width:100%"
| style="vertical-align:top; width:32%"|
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|cslist}}}}
{| class="wikitable" style="width:100%"
|-
! Horizontal list
|-
| {{mono|{{tl|cslist}}}}
|-
|-
| {{tlx|cslist |item1&nbsp;|item2&nbsp;|...}}
| {{tlx|cslist |item1&nbsp;|item2&nbsp;|...}}
|-
|-
| <hr />
|
{{cslist |item1 |item2 |...}}
{{cslist |item1 |item2 |...}}
|-
|-
Line 49: Line 59:
| {{tlx|bold list |item1&nbsp;|item2&nbsp;|...}}
| {{tlx|bold list |item1&nbsp;|item2&nbsp;|...}}
|-
|-
| <hr />
|
{{bold list |item1 |item2 |...}}
{{bold list |item1 |item2 |...}}
|}
|}
|-
|-
! style="text-align:right;padding-right:0.5em;" | Bulleted and Ordered
| style="vertical-align:top;"|
| style="vertical-align:top;"|
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|bulleted list}}}}
|-
! Bulleted list
|-
| {{mono|{{tl|bulleted list}}}}
|-
|-
| {{tlx|bulleted list |item1&nbsp;|item2&nbsp;|...}}
| {{tlx|bulleted list |item1&nbsp;|item2&nbsp;|...}}
|-
|-
| <hr />
|
{{bulleted list |item1 |item2 |...}}
{{bulleted list |item1 |item2 |...}}
|}
|}
| style="vertical-align:top;"|
| style="vertical-align:top;"|
{| class="wikitable" style="width:100%"
|-
! Numeric ordered list
|-
| {{mono|{{tl|ordered list}}}}
|-
| {{tlx|Ordered list |first&nbsp;|second&nbsp;|...}}
|-
|
{{Ordered list |first |second |...}}
|}
| style="vertical-align:top;"|
| style="vertical-align:top;"|
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|ordered list}}}}
|-
! Alphabetic ordered list
|-
| {{mono|{{tl|ordered list}}}}
|-
|-
| {{tlx|Ordered list |list_style_type{{=}}lower-alpha&nbsp;|first&nbsp;|second&nbsp;|...}}
| {{tlx|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 |...}}
|}
|}
|-
|-
! style="text-align:right;padding-right:0.5em;" | Unbulleted
| style="vertical-align:top"|  
| style="vertical-align:top"|  
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|unbulleted list}}}}
|-
! Unbulleted list
|-
| {{mono|{{tl|unbulleted list}}}}
|-
|-
| {{tlx|unbulleted list |item1&nbsp;|item2&nbsp;|...}}
| {{tlx|unbulleted list |item1&nbsp;|item2&nbsp;|...}}
|-
|-
| <hr />
|
{{unbulleted list|item1|item2|...}}
{{unbulleted list|item1|item2|...}}
|}
|}
| style="vertical-align:top"|
| style="vertical-align:top"|
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|plainlist}}}}
|-
! Unbulleted list
|-
| {{mono|{{tl|plainlist}}}}
|-
|-
| {{tlx|plainlist|<br />* item1<br />* item2<br />* ...}}
| {{tlx|plainlist|<br />* item1<br />* item2<br />* ...}}
|-
|-
| <hr />
|
{{plainlist|
{{plainlist|
* item1
* item1
Line 97: Line 128:
}}
}}
|}
|}
| style="vertical-align:top"|
| style="vertical-align:top" rowspan=2|
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|glossary}}}}<br />([[Wikipedia:Manual of Style/Glossaries|glossary]], description, definition, association)
|-
! Glossary or definition list
|-
| {{mono|{{tl|glossary}}}}<br />([[Wikipedia:Manual of Style/Glossaries|glossary]], description, definition, association)
|-
|-
| {{tlx|glossary}}<br />
| {{tlx|glossary}}<br />
{{tlx|term|first term}} {{tlx|defn|first description}}<br />
{{tlx|term|first term}}{{tlx|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}}}}
{{mono|{{tl|glossary end}}}}
|-
|-
| <hr />
|
{{glossary}}
{{glossary}}
{{term|first term}} {{defn|first description}}
{{term|first term}}{{defn|first description}}
{{term|second term}} {{defn|second description}}
{{term|second term}}{{defn|second description}}
{{term|...}} {{defn|....}}
{{term|...}}{{defn|....}}
{{glossary end}}
{{glossary end}}
|}
|}
|-
|-
! style="text-align:right;padding-right:0.5em;" | Other
| style="vertical-align:top"|
| style="vertical-align:top"|
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|flowlist}}}}
|-
! Bulleted list to flow around an image
|-
| {{mono|{{tl|flowlist}}}}
|-
|-
| <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
| <code><nowiki>[[File:Bad Title Example.png|left|thumb|100px]]</nowiki></code><br />
{{tlx|flowlist|<br />*item1<br />*item2<br />*...}}
{{tlx|flowlist|<br />*item1<br />*item2<br />*...}}
|-
|-
| <hr />
|
[[File:Bad Title Example.png|left|thumb|100px]]
[[File:Bad Title Example.png|left|thumb|100px]]
{{flowlist|
{{flowlist|
Line 132: Line 168:
|}
|}
| style="vertical-align:top"|
| style="vertical-align:top"|
{| style="width:100%"
{| class="wikitable" style="width:100%"
! style="font-weight: normal; text-align:center;" | {{mono|{{tl|columns-list}}}}
|-
! Ordered list in columns
|-
| {{mono|{{tl|columns-list}}}}
|-
|-
| {{tlx|columns-list|colwidth{{=}}5em|<br /># first<br /># second<br /># third<br /># ...}}
| {{tlx|columns-list|colwidth{{=}}5em|<br /># first<br /># second<br /># third<br /># ...}}
|-
|-
| <hr />
|
{{columns-list|colwidth=5em|
{{columns-list|colwidth=5em|
# first
# first

Latest revision as of 16:57, 8 June 2023