Editing
Template:Unbulleted indent list/doc
From Thetacola Wiki
Jump to navigation
Jump to search
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!
{{Documentation subpage}} {{Template shortcut|ubil|ubli|UBLI}} {{Stack|{{Lua|Module:List}}}} This template is very similar to {{tlx|unbulleted list}}, except that it automatically indents parts of long items that are wrapped onto a new line. This makes it easier to tell apart multiple such items when width is limited—e.g. in an {{tlx|infobox}}—and eliminates the need for a bulleted list. {{tld|Unbulleted indent list}} provides a [[WCAG]]-compliant and accessible alternative to <code><nowiki><br /></nowiki></code>-separated lists, per [[MOS:UBLIST]] and [[MOS:PLIST]]. === Usage === {{Infobox |bodystyle = width:21em |title = Example |label1 = First label | data1 = Some data |label2 = Awards | data2 = {{unbulleted indent list |[[Royal Geographical Society's Founder's Medal]] (1888) |[[Knight Commander of the Order of the Bath]] (1896) |[[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899) }} |label3 = Second label | data3 = Some more data }} <syntaxhighlight lang="wikitext">{{Infobox |label1 = Some data |awards = {{unbulleted indent list |[[Royal Geographical Society's Founder's Medal]] (1888) |[[Knight Commander of the Order of the Bath]] (1896) |[[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899) }} |label2 = Some more data }}</syntaxhighlight> ==== Custom indentation ==== {{Infobox |bodystyle = width:21em |title = Example |label1 = First label | data1 = Some data |label2 = Awards | data2 = {{unbulleted indent list|indent=2em |[[Royal Geographical Society's Founder's Medal]] (1888) |[[Knight Commander of the Order of the Bath]] (1896) |[[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899) }} |label3 = Second label | data3 = Some more data }} {{pre|<nowiki>{{Infobox |label1 = Some data |awards = {{unbulleted indent list|</nowiki>{{bg|lightgreen|indent=2em}}<nowiki> |[[Royal Geographical Society's Founder's Medal]] (1888) |[[Knight Commander of the Order of the Bath]] (1896) |[[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899) }} |label2 = Some more data }}</nowiki> }} === TemplateData === {{collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} {{TemplateData header|noheader=1}} <templatedata> { "description": "An automatically indented unbulleted list variant.", "params": { "1": { "label": "Content", "description": "Every line should start with a pipe character.", "type": "content", "required": true }, "class": { "label": "Class", "description": "Adds a CSS class to the containing div.", "type": "string", "default": "The class \"plainlist\" is always applied.", "example": "nowrap" }, "style": { "label": "Style", "description": "Adds CSS style options. Complex styles should not be used in articles—per [[WP:Deviations]]—but may be acceptable on user, project, and talk pages.", "type": "string", "example": "border:solid 1px silver; background:lightyellow;" }, "in": { "label": "Indentation", "description": "Sets a custom indentation width for the lists' items.", "type": "string", "default": "1em", "aliases": [ "indent" ] } } } </templatedata> {{collapse bottom}} === See also === * {{tl|unbulleted list}} * {{tl|indented plainlist}} <includeonly>{{Sandbox other|| {{DEFAULTSORT:Unbulleted indent list}} [[Category:List formatting and function templates]] [[Category:Semantic markup templates]] [[Category:Typing-aid templates]] }}</includeonly>
Summary:
Please note that all contributions to Thetacola Wiki 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
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Background color
(
edit
)
Template:Bg
(
edit
)
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Collapse top/styles.css
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Ensure AAA contrast ratio
(
edit
)
Template:Ifsubst
(
edit
)
Template:Infobox
(
edit
)
Template:Lua
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:No redirect
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Pre
(
edit
)
Template:Pre/styles.css
(
edit
)
Template:Sandbox other
(
edit
)
Template:Stack
(
edit
)
Template:Stack/styles.css
(
edit
)
Template:Str left
(
edit
)
Template:Strong
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template link code
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Template shortcut
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tld
(
edit
)
Template:Tlx
(
edit
)
Template:Unbulleted indent list
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Color contrast
(
edit
)
Module:Color contrast/colors
(
edit
)
Module:Infobox
(
view source
) (protected)
Module:Infobox/styles.css
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Redirect
(
edit
)
Module:Shortcut
(
edit
)
Module:Shortcut/config
(
edit
)
Module:Shortcut/styles.css
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Page actions
Template
Discussion
Read
Edit source
History
Page actions
Template
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information