Template:Lua and Template:HTML lists: Difference between pages
(Difference between pages)
en>Sardanaphalus (Update from sandbox (icononly option)) |
en>Frietjes No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{navbox | ||
| | |name=Template:Navbox lists | ||
| | |title=HTML lists | ||
| | |state=<includeonly>collapsed</includeonly> | ||
| | |||
|above = More information: {{hlist | |||
| [[Help:List]] | |||
| [[WP:List dos and don'ts]] | |||
| [[WP:Manual of Style/Embedded lists]] | |||
| {{section link|WP:Manual of Style/Accessibility#Lists}} | |||
| [[WP:WikiProject Lists]] | |||
}} | |||
| group1=Flat | |||
| list1=<nowiki /> | |||
{{{!}} | |||
{{!}}- | |||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|hlist}}}} | |||
! rowspan=3 style="width:2em; background-color:transparent;" {{!}} | |||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|flatlist}}}} | |||
{{!}}- | |||
{{!}} style="vertical-align: top;" {{!}} | |||
{{tlx|hlist |item1 |item2 |...}} | |||
{{!}} style="vertical-align: top;" {{!}} | |||
<code style="padding-left: 0;"><nowiki>{{flatlist|</nowiki><br /> | |||
<nowiki />* item1<br /> | |||
<nowiki />* item2<br /> | |||
<nowiki />* ...<br /> | |||
<nowiki>}}</nowiki></code> | |||
{{!}}- | |||
{{!}}<hr /> | |||
{{hlist |item1 |item2 |...}} | |||
{{!}} style="vertical-align: top;" {{!}} | |||
<hr /> | |||
{{flatlist| | |||
* item1 | |||
* item2 | |||
* ... | |||
}} | |||
{{!}}} | |||
| group3 =Bulleted | |||
| list3 = | |||
{{tlx|bulleted list |item1 |item2 |...}}<hr /> | |||
{{bulleted list |item1 |item2 |...}} | |||
| group5 =Unbulleted | |||
| list5 =<nowiki /> | |||
{{{!}} | |||
{{!}}- | |||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|unbulleted list}}}} | |||
! rowspan=3 style="width:2em; background-color:transparent;" {{!}} | |||
! class="navbox-group" style="font-weight: normal; width:25em; text-align:center;" {{!}} {{mono|{{tl|plainlist}}}} | |||
{{!}}- | |||
{{!}} style="vertical-align: top;" {{!}} | |||
{{tnull|unbulleted list |item1 |item2 |...}} | |||
{{!}} style="vertical-align: top;" {{!}} | |||
<code style="padding-left: 0;"><nowiki>{{plainlist|</nowiki><br /> | |||
<nowiki />*item1<br /> | |||
<nowiki />*item2<br /> | |||
<nowiki />*...<br /> | |||
<nowiki>}}</nowiki></code> | |||
{{!}}- | |||
{{!}}<hr /> | |||
{{unbulleted list|item1|item2|...}} | |||
{{!}} style="vertical-align: top;" {{!}} | |||
<hr /> | |||
{{plainlist| | |||
*item1 | |||
*item2 | |||
*... | |||
}} | |||
{{!}}} | |||
| group7 = Ordered | |||
| list7 ={{tlx|ordered list |list_style_type{{=}}lower-alpha |first |second |...}}<hr /> | |||
{{ordered list|list_style_type=lower-alpha |first |second |...}} | |||
| group9 = [[Wikipedia:Manual of Style/Glossaries|Glossary]]<br />(description,<br />definition,<br />association) | |||
| list9 = | |||
{{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 /> | |||
{{tlx|glossary end}}<hr /> | |||
{{glossary}} | |||
{{term|first term}} {{defn|first description}} | |||
{{term|second term}} {{defn|second description}} | |||
{{term|...}} {{defn|....}} | |||
{{glossary end}} | |||
| group15 = Multi-column | |||
| list15 = | |||
{{tlx|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. | |||
|below = {{cl|List templates}} | |||
}}<!-- | }}<!-- | ||
-- | --><noinclude>{{documentation}}</noinclude> |
Revision as of 15:19, 20 December 2017
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]