Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Manual of Style/Accessibility: Difference between revisions

From EVE University Wiki
Djavin novienta (talk | contribs)
Djavin novienta (talk | contribs)
Line 123: Line 123:


Do not separate list items with line breaks ({{tag|br|o}}).
Do not separate list items with line breaks ({{tag|br|o}}).
==== Unbulleted vertical lists ====
For unbulleted lists running down the page, the templates {{tl|plainlist}} and {{tl|unbulleted list}} are available, to improve accessibility and semantic meaningfulness by marking up what is clearly a list rather than including {{Tag|br|single}} line breaks, which should not be used—see above. They differ only in the wiki-markup used to create the list. Note that because these are templates, the text of each list item cannot contain the vertical bar symbol ( | ) unless it is replaced by <code><nowiki>{{!}}</nowiki></code> or is contained within {{tag|nowiki}} tags.
{| class="wikitable"
|+ Example of plainlist
! style="width:11.7em;" | Wikitext
! style="width:11.7em;" | Renders as
|-
| <pre style="line-height:1.2em;">{{plainlist |
* White rose
* Yellow rose
* Pink rose
* Red rose
}}</pre>
| {{plainlist |
* White rose
* Yellow rose
* Pink rose
* Red rose
}}
|}
{| class="wikitable"
|+ Example of unbulleted list
! style="width:11.7em;" | Wikitext
! style="width:11.7em;" | Renders as
|-
| <pre style="line-height:1.2em;">{{unbulleted list
| White rose
| Yellow rose
| Pink rose
| Red rose
}}</pre>
| {{unbulleted list
| White rose
| Yellow rose
| Pink rose
| Red rose
}}
|}
Alternatively, in templates such as Navboxes and the like, or any suitable container, such lists may be styled with the class "<code>plainlist</code>", thus:
{{plainlist |
* <code><nowiki>| listclass = plainlist</nowiki></code> or
* <code><nowiki>| bodyclass = plainlist</nowiki></code>
}}
In infoboxes:
{{plainlist |
* <code><nowiki>| rowclass = plainlist</nowiki></code> or
* <code><nowiki>| bodyclass = plainlist</nowiki></code>
}}
may be used. See also [[Wikipedia:Manual of Style/Lists#Unbulleted lists|Manual of Style: Lists § Unbulleted lists]]. See [[WP:NAV]] for more details on Navigation templates.


==== Horizontal lists ====
==== Horizontal lists ====