| 
				     | 
				
| Line 6: | 
Line 6: | 
 | == Parameter ==  |  | == Parameter ==  | 
 | {{TemplateData|  |  | {{TemplateData|  | 
 | {{TemplateData/entry|name=listType|param=1|desc=List type|example=  |  | {{TemplateData/entry|name=Entries|param=1|desc=Parameter list|def=NULL|type=1 {[[Template:TemplateData/entry]]}|status=Required}}  | 
 | <pre>{{#invoke:list|bulleted|a|b|c}}</pre>
  |  | 
 | {{#invoke:list|bulleted|a|b|c}}
  |  | 
 | <pre>{{#invoke:list|unbulleted|a|b|c}}</pre>
  |  | 
 | {{#invoke:list|unbulleted|a|b|c}}
  |  | 
 | <pre>{{#invoke:list|horizontal|a|b|c}}</pre>
  |  | 
 | {{#invoke:list|horizontal|a|b|c}}
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c}}
  |  | 
 | <pre>{{#invoke:list|horizontal_ordered|a|b|c}}</pre>
  |  | 
 | {{#invoke:list|horizontal_ordered|a|b|c}}
  |  | 
 | |def=NULL|type=<nowiki>[ "bulleted" | "unbulleted" | "horizontal" | "ordered" | "horizontal_ordered" ]</nowiki>|status=Required}}  |  | 
 | {{TemplateData/entry|name=listEntries|param=2...x|desc=List entries|def=NULL|type=WikiCode|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=olStart|param=start|desc=Start entry. <pre><ol start=""></pre> [https://developer.mozilla.org/de/docs/Web/HTML/Element/ol#Attribute MDN (ol)]. Requires <code>listType</code> <nowiki>[ "ordered" | "horizontal_ordered" ]</nowiki>|example=  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|start=5}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|start=5}}
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|start=-5}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|start=-5}}
  |  | 
 | |def=1|type=SignedNumber|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=olType|param=type|desc=Ordered list type. <pre><ol type=""></pre>  [https://developer.mozilla.org/de/docs/Web/HTML/Element/ol#Attribute MDN (ol)]. Requires <code>listType</code> <nowiki>[ "ordered" | "horizontal_ordered" ]</nowiki>. It's recommended to use <code>style</code>,<code>class</code> or param <code>list_style_type</code> instead|example=
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|type=i}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|type=i}}
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|type=a}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|type=a}}
  |  | 
 | |def=1|type=<nowiki>[ "1" | "a" | "A" | "i" | "I" ]</nowiki>|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=cssType|param=list_style_type|desc=Recommended list style type. Uses the css attribute <code>list-style-type</code>|example=
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|list_style_type=lower-alpha}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|list_style_type=lower-alpha}}
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|list_style_type=lower-greek}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|list_style_type=lower-greek}}
  |  | 
 | <pre>{{#invoke:list|ordered|a|b|c|list_style_type=decimal-leading-zero}}</pre>
  |  | 
 | {{#invoke:list|ordered|a|b|c|list_style_type=decimal-leading-zero}}
  |  | 
 | |def=NULL|type=[https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type MDN (list-style-type)]|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=divClass|param=class|desc=<code>class</code> attribute for the <pre><div>...</div></pre> surrounding the list|def=NULL|type=String|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=divStyle|param=style|desc=<code>style</code> attribute for the <pre><div>...</div></pre> surrounding the list|def=NULL|type=String|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=listStyle|param=list_style|desc=<code>style</code> attribute for the list|def=NULL|type=String|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=itemStyle|param=item_style|desc=<code>style</code> attribute for the list items|def=NULL|type=String|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=itemXStyle|param=item1_style...itemX_style|desc=<code>style</code> attribute for item x in list|def=NULL|type=String|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=itemXValue|param=item1_value...itemX_value|desc=<code>value</code> attribute for item x in list|def=NULL|type=String|status=Optional}}
  |  | 
 | {{TemplateData/entry|name=listIndent|param=indent|desc=Set <code>margin-left</code> for list (<code>intent * 1.6 em</code>)|def=NULL|type=String|status=Optional}}
  |  | 
 | }}  |  | }}  | 
 | 
  |  | 
  | 
 | == Examples ==  |  | == Examples ==  | 
 | 
  |  | 
  | 
 | {{#invoke:list|bulleted|First item|Second item|Third item|item1_style=background-color:yellow;|item2_style=background-color:silver;color:black;}}  |  | '''Complete example:'''  | 
 |  |    | 
 |  | {{TemplateData|  | 
 |  | {{TemplateData/entry|name=Example name|alias1=Example alias 1|alias2=Example alias 2|alias3=Example alias 3|param=example param|desc=example description|def=NULL|example=xyz|type=String|status=Required}}  | 
 |  | }}  | 
 | 
  |  | 
  | 
 | <pre>  |  | <pre>  | 
 | {{#invoke:list|bulleted|First item|Second item|Third item|item1_style=background-color:yellow;|item2_style=background-color:silver;color:black;}}  |  | {{TemplateData|  | 
 |  | {{TemplateData/entry|name=Example name|alias1=Example alias 1|alias2=Example alias 2|alias3=Example alias 3|param=example param|desc=example description|def=NULL|example=xyz|type=String|status=Required}}  | 
 |  | }}  | 
 | </pre>  |  | </pre>  | 
Template for creating a unified parameter format for templates
About
Creates a list that displays Template parameter in a unified format.
Parameter
Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
Examples
Complete example:
Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.
| Parameter
 | 
Description
 | 
Type
 | 
Status
 | 
| Example name
 | 
example param
 Example alias 1
 Example alias 2
 Example alias 3
 | 
example description
 Default:
NULL
 Example:
xyz
 
 | 
String
 | 
Required
 | 
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
{{TemplateData|
{{TemplateData/entry|name=Example name|alias1=Example alias 1|alias2=Example alias 2|alias3=Example alias 3|param=example param|desc=example description|def=NULL|example=xyz|type=String|status=Required}}
}}