Home
Random
Recent changes
Special pages
Community portal
Preferences
About Real-Life Villains
Disclaimers
Real-Life Villains
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:List/doc
(section)
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.
Anti-spam check. Do
not
fill this in!
== Usage == === Quick usage === {{pre|<nowiki>{{</nowiki>#invoke:list<nowiki>|</nowiki>''function''<nowiki>|</nowiki>''first item''<nowiki>|</nowiki>''second item''<nowiki>|</nowiki>''third item''<nowiki>|</nowiki>...<nowiki>}}</nowiki>}} === All parameters === {{pre| <nowiki>{{</nowiki>#invoke:list<nowiki>|</nowiki>''function'' <nowiki>|</nowiki>''first item''<nowiki>|</nowiki>''second item''<nowiki>|</nowiki>''third item''<nowiki>|</nowiki>... <nowiki>|start = </nowiki>''start number for ordered lists'' <nowiki>|type = </nowiki>''type of numbering for ordered lists'' <nowiki>|list_style_type = </nowiki>''type of marker for ordered lists (uses CSS)'' <nowiki>|class = </nowiki>''class'' <nowiki>|style = </nowiki>''style'' <nowiki>|list_style = </nowiki>''style for the list'' <nowiki>|item_style = </nowiki>''style for all list items'' <nowiki>|item1_style = </nowiki>''style for the first list item''<nowiki> |item2_style = </nowiki>''style for the second list item''<nowiki> |</nowiki>... <nowiki>|item1_value = </nowiki>''value for the first list item''<nowiki> |item2_value = </nowiki>''value for the second list item''<nowiki> |</nowiki>... <nowiki>|indent = </nowiki>''indent for horizontal lists'' <nowiki>}}</nowiki> }} === Arguments passed from parent template === {{pre|<nowiki>{{</nowiki>#invoke:list<nowiki>|</nowiki>''function''<nowiki>}}</nowiki>}} === Functions === {| class="wikitable" |- ! Function name ! Produces ! Example output ! Template using the function |- | <code>bulleted</code> | Bulleted lists | {{#invoke:list|bulleted|First item|Second item|Third item}} | {{tlx|bulleted list}} |- | <code>unbulleted</code> | Unbulleted lists | {{#invoke:list|unbulleted|First item|Second item|Third item}} | {{tlx|unbulleted list}} |- | <code>horizontal</code> | Horizontal bulleted lists | {{#invoke:list|horizontal|First item|Second item|Third item}} | {{tlx|hlist}} |- | <code>ordered</code> | Ordered lists (numbered lists and alphabetical lists) | {{#invoke:list|ordered|First item|Second item|Third item}} | {{tlx|ordered list}} |- | <code>horizontal_ordered</code> | Horizontal ordered lists | {{#invoke:list|horizontal_ordered|First item|Second item|Third item}} | {{tlx|horizontal ordered list}} |}
Summary:
Please note that all contributions to Real-Life Villains may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Real-Life Villains:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)