Template:Lua and Template:HTML lists: Difference between pages

From Frontierpedia, the Microsoft Agent encyclopedia
(Difference between pages)
en>Sardanaphalus
(Update from sandbox (icononly option))
 
en>Frietjes
No edit summary
 
Line 1: Line 1:
{{Mbox
{{navbox
| type = notice
|name=Template:Navbox lists
| small = yes
|title=HTML lists
| image = [[File:Lua-logo-nolabel.svg|30px|alt=Lua logo|link=Wikipedia:Lua]]
|state=<includeonly>collapsed</includeonly>
| text = {{#if:{{{icononly|}}} | |'''Uses''' [[Wikipedia:Lua|Lua]]:}}
 
  {{Bulleted list
|above = More information: {{hlist
    | {{#if:{{{1|<noinclude>1</noinclude>}}} |[[:{{{1}}}]]}}
| [[Help:List]]
    | {{#if:{{{2|}}} |[[:{{{2}}}]]}}
| [[WP:List dos and don'ts]]
    | {{#if:{{{3|}}} |[[:{{{3}}}]]}}
| [[WP:Manual of Style/Embedded lists]]
    | {{#if:{{{4|}}} |[[:{{{4}}}]]}}
| {{section link|WP:Manual of Style/Accessibility#Lists}}
    | {{#if:{{{5|}}} |[[:{{{5}}}]]}}
| [[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&nbsp;|item2&nbsp;|...}}
{{!}} 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&nbsp;|item2&nbsp;|...}}<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&nbsp;|item2&nbsp;|...}}
{{!}} 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&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 =
{{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&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.
 
|below = {{cl|List templates}}
}}<!--
}}<!--
--><includeonly><!--
    ----------Categorization----------
    -->{{#ifeq:{{{nocat|}}}|true | <!--(suppress categorization)-->
        | {{template other
          | {{#switch:{{SUBPAGENAME}}
              | doc |sandbox |sandbox2 |testcases = <!--(don't categorize these subpages)-->
              | #default = [[Category:{{#if:{{{category|}}} |{{{category}}}
                                      | {{#switch:{{{1|}}}
                                          | Module:String = Lua String-based templates
                                          | Module:Math = Templates based on the Math Lua module
                                          | Module:BaseConvert = Templates based on the BaseConvert Lua module
                                          | Module:Citation |Module:Citation/CS1 = Lua-based citation templates
                                          | #default = Lua-based templates
                                        }}
                                      }}|{{PAGENAME}}<!--
                        -->]]
      }} }} }}<!--
    -->{{#if:{{{2|}}}{{#if:{{{1|}}} | |(first parameter absent)}}
        | [[Category:Lua templates with deprecated parameters]]
      }}<!--


--></includeonly><noinclude>{{Documentation}}</noinclude>
--><noinclude>{{documentation}}</noinclude>

Revision as of 15:19, 20 December 2017