Editing Template:Unbulleted list/doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |
− | + | ||
− | + | 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 <tt>li_style1</tt> formats the first item, <tt>li_style2</tt> the second, and so on. | |
− | <! | ||
− | This template | ||
== Usage == | == Usage == | ||
+ | :<code><nowiki>{{Unbulleted list|entry1|entry2|entry3}}</nowiki></code> | ||
+ | :<code><nowiki>{{Unbulleted list|entry1|entry2|entry3|li_style1=css-style-a;css-style-b;|li_style3=css-style-x;css-style-y;}}</nowiki></code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Example == | |
{| class="wikitable" | {| class="wikitable" | ||
! Code !! Result | ! Code !! Result | ||
|- | |- | ||
− | | <code><nowiki>{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}</nowiki></code> | + | | <code><nowiki>{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}</nowiki></code> || {{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}} |
− | | {{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}} | ||
|- | |- | ||
− | | <code><nowiki>{{Unbulleted list|Winner|Runner-up|Third place| | + | | <code><nowiki>{{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}}</nowiki></code> || {{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}} |
− | | {{Unbulleted list|Winner|Runner-up|Third place| | ||
|- | |- | ||
− | | <code><nowiki>{{Unbulleted list| | + | | <code><nowiki>{{Unbulleted list| |entry2|entry3}}</nowiki></code> || {{Unbulleted list| |entry2|entry3}} |
− | | {{Unbulleted list| | + | |- |
+ | | <code><nowiki>{{Unbulleted list|entry1| |entry3}}</nowiki></code> || {{Unbulleted list|entry1| |entry3}} | ||
+ | |- | ||
+ | | <code><nowiki>{{Unbulleted list|entry1|entry2| }}</nowiki></code> || {{Unbulleted list|entry1|entry2| }} | ||
+ | |- | ||
+ | | <code><nowiki>{{Unbulleted list|entry1| | }}</nowiki></code> || {{Unbulleted list|entry1| | }} | ||
+ | |- | ||
+ | | <code><nowiki>{{Unbulleted list| |entry2| }}</nowiki></code> || {{Unbulleted list| |entry2| }} | ||
+ | |- | ||
+ | | <code><nowiki>{{Unbulleted list| | |entry3}}}</nowiki></code> || {{Unbulleted list| | |entry3}} | ||
+ | |- | ||
+ | | <code><nowiki>{{Unbulleted list| | | }}}</nowiki></code> || {{Unbulleted list| | | }} | ||
|} | |} | ||
− | == | + | == Redirects == |
− | + | * {{Tl|ubl}} | |
== See also == | == See also == | ||
+ | * {{tl|nowrap begin}}/{{tl|nowrap end}} | ||
* {{tl|plainlist}} | * {{tl|plainlist}} | ||
− | * {{tl| | + | * {{tl|multi-column numbered list}} |
− | |||
− | |||
* {{tl|pagelist}} | * {{tl|pagelist}} | ||
<includeonly> | <includeonly> | ||
− | + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | |
− | <! | + | [[Category:Wikipedia list formatting templates]] |
− | [[Category: | + | |
− | [[ | + | [[es:Plantilla:Lista sin viñetas]] |
− | + | [[ja:Template:Unbulleted list]] | |
+ | [[sl:Predloga:Unbulleted list]] | ||
</includeonly> | </includeonly> |