Help:List: Difference between revisions

Xenwolf (talk | contribs)
added complex description list examples and referred to the list templates
ArrowHead294 (talk | contribs)
m Spaced <nowiki> is harder to read than <pre>
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
:''See [[Help:Editing #Lists]] for basic list syntax.''
: ''See [[Help:Editing #Lists]] for basic list syntax.''


Lists can get complicated, if they are nested in other lists, items get longer than just one line, for instance whole paragraphs. Items contain images and so on. The wiki markup is optimized for simple lists, for complex lists MediaWiki allows for embedding HTML all three types of lists.
Lists can get complicated, if they are nested in other lists, items get longer than just one line, for instance whole paragraphs. Items contain images and so on. The wiki markup is optimized for simple lists, for complex lists MediaWiki allows for embedding HTML all three types of lists.


== Unordered lists ==
== Unordered lists ==
<nowiki><ul>
<pre>
<ul>
<li>
<li>
One item that contains much text even if it isn't really interesting to read all of it:  
One item that contains much text even if it isn't really interesting to read all of it:  
Line 17: Line 18:
At vero eos et accusam et justo duo dolores  
At vero eos et accusam et justo duo dolores  
</li>
</li>
</ul></nowiki>
</ul>
</pre>


<ul>
<ul>
Line 38: Line 40:
Numbered (or ordered) list show an ascending number for each item by default. It is possible to change this style, see sections [[#roman numbers]] or [[#latin letters]] for how.
Numbered (or ordered) list show an ascending number for each item by default. It is possible to change this style, see sections [[#roman numbers]] or [[#latin letters]] for how.


<nowiki><ol>
<pre>
<ol>
<li>
<li>
One item that contains much text even if it isn't really interesting to read all of it:  
One item that contains much text even if it isn't really interesting to read all of it:  
Line 51: Line 54:
accusam et justo duo dolores  
accusam et justo duo dolores  
</li>
</li>
</ol></nowiki>
</ol>
</pre>


<ol>
<ol>
Line 109: Line 113:
Here are examples for huge descriptions for terms in definition lists that contain floating images as illustrations and tables.
Here are examples for huge descriptions for terms in definition lists that contain floating images as illustrations and tables.


<nowiki><dl>
<pre>
<dl>
<dt>Cent</dt>
<dt>Cent</dt>
<dd>[[File:Test-120x60px.png|right|60px]] The cent is a logarithmic unit of measure used for musical intervals. Twelve-tone equal temperament divides the octave into 12 semitones of 100 cents each. Typically, cents are used to express small intervals, or to compare the sizes of comparable intervals in different tuning systems, and in fact the interval of one cent is too small to be heard between successive notes.
<dd>[[File:Test-120x60px.png|right|60px]] The cent is a logarithmic unit of measure used for musical intervals. Twelve-tone equal temperament divides the octave into 12 semitones of 100 cents each. Typically, cents are used to express small intervals, or to compare the sizes of comparable intervals in different tuning systems, and in fact the interval of one cent is too small to be heard between successive notes.
Line 121: Line 126:
Here are some common 5-limit monzos, for your reference:
Here are some common 5-limit monzos, for your reference:


{| class="wikitable"
{| class="wikitable center-1"
|-
|-
! Ratio
! Ratio
! Monzo
! Monzo
|-
|-
| style="text-align:center;" | [[3/2]]
| [[3/2]]
| {{Monzo| -1 1 0 }}
| {{Monzo| -1 1 0 }}
|-
|-
| style="text-align:center;" | [[5/4]]
| [[5/4]]
| {{Monzo| -2 0 1 }}
| {{Monzo| -2 0 1 }}
|-
|-
| style="text-align:center;" | [[9/8]]
| [[9/8]]
| {{Monzo| -3 2 0 }}
| {{Monzo| -3 2 0 }}
|-
|-
| style="text-align:center;" | [[81/80]]
| [[81/80]]
| {{Monzo| -4 4 -1 }}
| {{Monzo| -4 4 -1 }}
|}
|}
</dd>
</dd>
</dl></nowiki>
</dl>
</pre>


<dl>
<dl>
Line 153: Line 159:
Here are some common 5-limit monzos, for your reference:
Here are some common 5-limit monzos, for your reference:


{| class="wikitable"
{| class="wikitable center-1"
|-
|-
! Ratio
! Ratio
! Monzo
! Monzo
|-
|-
| style="text-align:center;" | [[3/2]]
| [[3/2]]
| {{Monzo| -1 1 0 }}
| {{Monzo| -1 1 0 }}
|-
|-
| style="text-align:center;" | [[5/4]]
| [[5/4]]
| {{Monzo| -2 0 1 }}
| {{Monzo| -2 0 1 }}
|-
|-
| style="text-align:center;" | [[9/8]]
| [[9/8]]
| {{Monzo| -3 2 0 }}
| {{Monzo| -3 2 0 }}
|-
|-
| style="text-align:center;" | [[81/80]]
| [[81/80]]
| {{Monzo| -4 4 -1 }}
| {{Monzo| -4 4 -1 }}
|}
|}
</dd>
</dd>
</dl>
</dl>
== List Templates ==
There are two templates in this wiki for building HTML lists.
; [[Template:List]]
: for creating an unordered list with up to 50 items.
; [[Template:Numlist]]
: for creating a numbered list with up to 50 items.
Both templates were created by [[User:PiotrGrochowski]], please ask him for help and improvements.


== See also ==
== See also ==
* [[Help:Editing]]
* [[Help:Editing]]
* [https://en.wikipedia.org/wiki/Help:List Help&#58;List &#45; Wikipedia]
* [https://en.wikipedia.org/wiki/Help:List Help&#58;List &#45; Wikipedia]


[[Category:Help]]
[[Category:Help]]
[[Category:todo:expand]]
[[Category:todo:expand|?]]