Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Plainlist/doc: Difference between revisions

Template page
No edit summary
Fix language-code links to use Wikipedia interwiki prefixes
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
{{Uses TemplateStyles|Template:Plainlist/styles.css}}
{{Uses TemplateStyles|Template:Plainlist/styles.css}}


This template provides a [[:en:Web Content Accessibility Guidelines|WCAG]]/ISO-standards-compliant accessible alternative to {{tag|br|s}} separated lists, which should not be used.
This template provides a [[w:Web Content Accessibility Guidelines|WCAG]]/ISO-standards-compliant accessible alternative to {{tag|br|s}} separated lists, which should not be used.


== Usage ==
== Usage ==
{{tld|plainlist}} starts a plain (i.e. unbulleted) list. <!-- apparently this does not work on the template page at Commons
{{tld|Plainlist}} starts a plain (i.e. unbulleted) list. <!-- apparently this does not work on the template page at Commons
{{plainlist|
{{Plainlist|
* [[cat]]
* [[cat]]
* [[dog]]
* [[dog]]
Line 14: Line 14:
* [[sheep]]
* [[sheep]]
* [[pig]]
* [[pig]]
}}-->It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with {{tag|br|s}}. Detailed reasons for using this template can be found at [[:en:WP:UBLIST|WP:UBLIST]].
}}-->It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with {{tag|br|s}}. Detailed reasons for using this template can be found at [[w:WP:UBLIST|WP:UBLIST]].


== Examples ==
== Examples ==
<pre><nowiki>
<syntaxhighlight lang="wikitext">
{{plainlist|
{{Plainlist|
* [[cat]]
* [[cat]]
* [[dog]]
* [[dog]]
Line 26: Line 26:
* [[pig]]
* [[pig]]
}}
}}
</nowiki></pre>
</syntaxhighlight>
<!--{{plainlist|
<!--{{Plainlist|
* [[cat]]
* [[cat]]
* [[dog]]
* [[dog]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.