Predloga:Unbulleted list

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

This template is used (primarily in infoboxes) to create unbulleted lists using the correct HTML mark-up using CSS to hide the bullets. Up to 50 entries are supported. Each item in the list may have styles added to it individually, by appending a numbered parameter. The parameter li_style1 formats the first item, li_style2 the second, and so on.

Usage[uredi kodo]

{{Unbulleted list|entry1|entry2|entry3}}
{{Unbulleted list|entry1|entry2|entry3|li_style1=css-style-a;css-style-b;|li_style3=css-style-x;css-style-y;}}

Example[uredi kodo]

Code Result
{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}
  • entry1
  • entry2
  • entry3
  • entry4
  • entry5
  • entry6
  • entry7
  • entry8
  • entry9
{{Unbulleted list|Winner|Runner-up|Third place|li_style=color:blue;}}
  • Winner
  • Runner-up
  • Third place
{{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:yellow;|li_style2=background-color:silver;}}
  • Winner
  • Runner-up
  • Third place

Redirects[uredi kodo]

See also[uredi kodo]