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/Lists: Difference between revisions

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


In particular, '''do not double-space the lines of the list''' by leaving blank lines or extra HTML <nowiki><br></nowiki> tags after them.
In particular, '''do not double-space the lines of the list''' by leaving blank lines or extra HTML <nowiki><br></nowiki> tags after them.
== Title of list ==
* Example 1
* Example 2
* Example 3
</source>
| <syntaxhighlight lang="html">
<p><a name="Title_of_list" id="Title_of_list"></a></p>
<h2><span class="mw-headline">Title of list</span></h2>
<ul>
<li>Example 1</li>
</ul>
<ul>
<li>Example 2</li>
</ul>
<ul>
<li>Example 3</li>
</ul>
</syntaxhighlight>
| style="white-space:nowrap; padding:1em;" | {{fake heading|sub=2|Title of list}}
* Example 1
* Example 2
* Example 3
|}
{| class="infobox wikitable" style="margin-left:1em;"
|-
! style="background:#bfffbf;" | A
| <source lang="moin" style="margin:0px; background:#cfffcf;">
[[File:Example.jpg|thumb|Caption text]]
* Example 1
* Example 2
* Example 3
* Example 4
</source>
|-
! style="background:#ffbfbf;" | B
| <source lang="moin" style="margin:0px; background:#ffcfcf;">
* Example 1
* Example 2
[[File:Example.jpg|thumb|Caption text]]
* Example 3
* Example 4
</source>
|-
! style="background:#bfffbf;" | C
| <source lang="moin" style="margin:0px; background:#cfffcf;">
* Example 1
* Example 2
* [[File:Example.jpg|thumb|Caption text]] Example 3
* Example 4
</source>
|}


Doing this actually produces three lists with one item each! Notice the rendered HTML in which there are as many &lt;ul&gt; tags as &lt;li&gt; tags. This can adversely affect machine-readability of the content if a continuous list is expected.<ref>Blank lines cause particular problems for users of [[screen reader]]s. The badly formatted example above is read out loud like this: "List of 1 items: Example 1, list end. List of 1 items: Example 2, list end. List of 1 items: Example 3, list end." Improper formatting can more than triple the length of time it takes to read the list.</ref> Moreover in certain web browsers, the extra white-space between one singular list and the next can have a visually jarring effect.
Doing this actually produces three lists with one item each! Notice the rendered HTML in which there are as many &lt;ul&gt; tags as &lt;li&gt; tags. This can adversely affect machine-readability of the content if a continuous list is expected.<ref>Blank lines cause particular problems for users of [[screen reader]]s. The badly formatted example above is read out loud like this: "List of 1 items: Example 1, list end. List of 1 items: Example 2, list end. List of 1 items: Example 3, list end." Improper formatting can more than triple the length of time it takes to read the list.</ref> Moreover in certain web browsers, the extra white-space between one singular list and the next can have a visually jarring effect.
Line 175: Line 118:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| <source lang="moin" style="margin:0px;">
| <source lang="moin" style="margin:0px;">
== Title of list ==
== Title of list ==
{{Plainlist|
{{Plainlist|