|
|
(69 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| {{Welcome}}
| | [[File:BergsbrukPic1.png|thumb|768x768px|Bergsbruk's Open world ]] |
| | Bergsbruk wiki page is a collection of information about [https://store.steampowered.com/app/1458990/North_Modding_Company_Bergsbruk North Modding Company: Bergsbruk] |
|
| |
|
| Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.
| | <br />Bergsbruk is taking open world simulation to new heights with exavators, wheelloaders, graders, crushers, trucks and much more |
|
| |
|
| <languages/>
| | that lets you mine gold, crush gravel, build roads, tunnels or just play around with heavy equipment but they will breakdown and need repairs. |
| {{PD Help Page}}
| |
| <!-- Only simply copy from https://meta.wikimedia.org/wiki/Help:List -->
| |
|
| |
|
| <translate>
| | All Vehicles behave diffrently with diffrent engines and depending on the condition of the machine. |
| <!--T:1-->
| |
| This page deals with creating lists in MediaWiki.
| |
|
| |
|
| == List basics == <!--T:2-->
| | The entire world is diggable and destructive, so everything you can see you can dig. |
|
| |
|
| <!--T:3-->
| | Buy new equipment from selling gold, gravel and send invoices for the work you done to build your fleet of machines. |
| <tvar name=mw>{{ll|MediaWiki}}</tvar> offers three types of lists: '''ordered lists''', '''unordered lists''', and '''description''' or '''definition''' lists. In the following sections, ordered lists are used for examples. Unordered lists would give corresponding results.
| |
| </translate>
| |
|
| |
|
| {|class="wikitable"
| | Tune and repaint machines to make them personal and fancy. |
| ! <translate><!--T:4--> Wikitext</translate> !! <translate><!--T:5--> Rendering</translate>
| |
| |- <ins>Sandbox</ins>
| |
| |<pre><translate>
| |
| <!--T:6-->
| |
| * Lists are easy to do:
| |
| ** start every line
| |
| * with a star
| |
| ** more stars mean
| |
| *** deeper levels</translate></pre>
| |
| ||
| |
| <translate>
| |
| <!--T:7-->
| |
| * Lists are easy to do:
| |
| ** start every line
| |
| * with a star
| |
| ** more stars mean
| |
| *** deeper levels</translate>
| |
| |-
| |
| |<pre><translate>
| |
| <!--T:8-->
| |
| * A newline
| |
| * in a list
| |
| marks the end of the list.
| |
| Of course
| |
| * you can
| |
| * start again.</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:9-->
| |
| * A newline
| |
| * in a list
| |
| marks the end of the list.
| |
| Of course
| |
| * you can
| |
| * start again.</translate>
| |
| |-
| |
| |<pre><translate>
| |
| <!--T:10-->
| |
| # Numbered lists are good
| |
| ## very organized
| |
| ## easy to follow</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:11-->
| |
| # Numbered lists are good
| |
| ## very organized
| |
| ## easy to follow</translate>
| |
| |-
| |
| |<pre><translate>
| |
| <!--T:12-->
| |
| * You can also
| |
| ** break lines
| |
| ** like this</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:13-->
| |
| * You can also
| |
| **break lines
| |
| **like this</translate>
| |
| |-
| |
| |<pre><translate>
| |
| <!--T:14-->
| |
| ; Description or definition lists
| |
| ; item : definition
| |
| ; semicolon plus term
| |
| : colon plus definition</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:15-->
| |
| ; Definition lists
| |
| ; item : definition
| |
| ; semicolon plus term
| |
| : colon plus definition</translate>
| |
| |-
| |
| |<pre><translate>
| |
| <!--T:16-->
| |
| ; Mixed definition lists
| |
| ; item 1 : definition
| |
| :; sub-item 1 plus term
| |
| :: two colons plus definition
| |
| :; sub-item 2 : colon plus definition
| |
| ; item 2
| |
| : back to the main list</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:17-->
| |
| ; Mixed definition lists
| |
| ; item 1 : definition
| |
| :; sub-item 1 plus term
| |
| :: two colons plus definition
| |
| :; sub-item 2 : colon plus definition
| |
| ; item 2
| |
| : back to the main list</translate>
| |
| |-
| |
| |<pre><translate>
| |
| <!--T:18-->
| |
| * Or create mixed lists
| |
| *# and nest them
| |
| *#* like this
| |
| *#*; definitions
| |
| *#*: work:
| |
| *#*; apple
| |
| *#*; banana
| |
| *#*: fruits</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:19-->
| |
| * Or create mixed lists
| |
| *# and nest them
| |
| *#* like this
| |
| *#*; definitions
| |
| *#*: work:
| |
| *#*; apple
| |
| *#*; banana
| |
| *#*: fruits</translate>
| |
| |}{{-}}
| |
|
| |
|
| <translate> | | And you are free to roam around the world and just have fun!<br /><br /> |
| == Paragraphs in lists == <!--T:20-->
| |
|
| |
|
| <!--T:21--> | | <templatestyles src="Template:Main_page/styles.css" /> |
| For simplicity, list items in wiki markup cannot be longer than a paragraph. A following blank line will end the list and reset the counter on ordered lists. Separating unordered list items usually has no noticeable effects.
| | <div> |
| | <div id="audiences" class="mainpage_row"><div class="mainpage_box"> |
| | <h3><span> |
| | [[Bergsbruk]] |
| | </span> </h3> |
| | <div id="mainpage-admins" class="items"><ul> |
| | <li>[[How to enter beta testing|'''How to enter beta testing''']]</li> |
| | <li>[[How to modify vehicle speeds|'''How to modify vehicle speeds''']]</li> |
| | <li>[[How to set up joysticks|'''How to set up joysticks''']]</li><li>[[Fixes for Common issues|'''Fixes for Common issues''']] |
| | </li><li>[[How to build buildings|'''How to build buildings''']] |
| | </li><li>[[Custom Logo|'''Add''' '''Custom Logo''']] |
| | </li> </ul> |
|
| |
|
| <!--T:22-->
| |
| Paragraphs can be forced in lists by using HTML tags. Two line break symbols, <tvar name=brtags><source lang=html inline><br /><br /></source></tvar>, will create the desired effect. So will enclosing all but the first paragraph with <tvar name=ptag>{{tag|p}}</tvar>.
| |
|
| |
|
| ==Continuing a list item after a sub-item== <!--T:24-->
| |
|
| |
| <!--T:25-->
| |
| In HTML, a list item may contain several sublists, not necessarily adjacent; thus there may be parts of the list item not only before the first sublist, but also between sublists, and after the last one. However, in wiki-syntax, sublists follow the same rules as sections of a page: the only possible part of the list item not in sublists is before the first sublist.
| |
|
| |
| <!--T:26-->
| |
| In the case of an unnumbered first-level list in wikitext code this limitation can be overcome by splitting the list into multiple lists; indented text between the partial lists may visually serve as part of a list item after a sublist; however, this may give, depending on CSS, a blank line before and after each list, in which case, for uniformity, every first-level list item could be made a separate list.
| |
|
| |
| <!--T:27-->
| |
| Numbered lists illustrate that what should look like one list may, for the software, consist of multiple lists; unnumbered lists give a corresponding result, except that the problem of restarting with 1 is not applicable.
| |
| </translate>
| |
|
| |
| {| style="border:1px;border-spacing:1px;background-color:black;" class="sortable" cellpadding="5"
| |
| |- style="background-color:white;"
| |
| |
| |
| <source lang=html><ol>
| |
| <li><translate><!--T:28--> list item</translate> A1
| |
| <ol>
| |
| <li><translate><!--T:29--> list item</translate> B1</li>
| |
| <li><translate><!--T:30--> list item</translate> B2</li>
| |
| </ol><translate><!--T:31--> continuing list item</translate> A1
| |
| </li>
| |
| <li><translate><!--T:32--> list item</translate> A2</li>
| |
| </ol></source>
| |
| | <ol>
| |
| <li><translate><!--T:33--> list item</translate> A1
| |
| <ol>
| |
| <li><translate><!--T:34--> list item</translate> B1</li>
| |
| <li><translate><!--T:35--> list item</translate> B2</li>
| |
| </ol><translate><!--T:36--> continuing list item</translate> A1
| |
| </li>
| |
| <li><translate><!--T:37--> list item</translate> A2</li>
| |
| </ol>
| |
| |- style="background-color:#E0E0E0;font-weight:bold;text-align:center;"
| |
| | colspan="2" | vs.
| |
| |- style="background-color:white;"
| |
| |<pre><translate>
| |
| <!--T:38-->
| |
| #list item A1
| |
| ##list item B1
| |
| ##list item B2
| |
| #:continuing list item A1
| |
| #list item A2</translate></pre>
| |
| |
| |
| <translate>
| |
| <!--T:39-->
| |
| #list item A1
| |
| ##list item B1
| |
| ##list item B2
| |
| #:continuing list item A1
| |
| #list item A2</translate>
| |
| |}
| |
|
| |
| <translate>
| |
| <!--T:40-->
| |
| One level deeper, with a sublist item continuing after a sub-sublist, one gets even more blank lines; however, the continuation of the first-level list is not affected:
| |
| </translate>
| |
|
| |
| <pre><translate>
| |
| <!--T:41-->
| |
| #list item A1
| |
| ##list item B1
| |
| ###list item C1
| |
| ##:continuing list item B1
| |
| ##list item B2
| |
| #list item A2
| |
| </translate></pre>
| |
|
| |
| <translate>
| |
| <!--T:42-->
| |
| gives
| |
| #list item A1
| |
| ##list item B1
| |
| ###list item C1
| |
| ##:continuing list item B1
| |
| ##list item B2
| |
| #list item A2
| |
|
| |
| <!--T:43-->
| |
| See also <tvar name=1>{{tim|List demo}}</tvar>.
| |
| </translate>
| |
|
| |
| It is possible to embed unnumbered bullets inside enclosing numbered items:
| |
|
| |
| <pre>
| |
| # list item A
| |
| #* nested bullet A1
| |
| #* nested bullet A2
| |
| # continuing list item B
| |
| #* nested bullet B1
| |
| #* nested bullet B2
| |
| </pre>
| |
|
| |
| gives
| |
| # list item A
| |
| #* nested bullet A1
| |
| #* nested bullet A2
| |
| # continuing list item B
| |
| #* nested bullet B1
| |
| #* nested bullet B2
| |
|
| |
| <translate>
| |
| == Changing the list type == <!--T:44-->
| |
|
| |
| === Per list === <!--T:134-->
| |
|
| |
| <!--T:45-->
| |
| The list type (which type of marker appears before the list item) can be changed in CSS by setting the <tvar name=list-style-type>[http://www.w3.org/TR/REC-CSS2/generate.html#lists list-style-type]</tvar> property:
| |
| </translate>
| |
|
| |
| {|class="wikitable"
| |
| ! <translate><!--T:46--> Wikitext</translate> !! <translate><!--T:47--> Rendering</translate>
| |
| |-
| |
| |
| |
| <source lang=html><ol style="list-style-type:lower-roman">
| |
| <li><translate><!--T:48--> About the author</translate></li>
| |
| <li><translate><!--T:49--> Foreword to the first edition</translate></li>
| |
| <li><translate><!--T:50--> Foreword to the second edition</translate></li>
| |
| </ol></source>
| |
| |<ol style="list-style-type:lower-roman">
| |
| <li><translate><!--T:51--> About the author</translate></li>
| |
| <li><translate><!--T:52--> Foreword to the first edition</translate></li>
| |
| <li><translate><!--T:53--> Foreword to the second edition</translate></li>
| |
| </ol>
| |
| |-
| |
| |
| |
| <source lang=html><ol style="list-style-type:lower-alpha">
| |
| <li><translate><!--T:54--> About the author</translate></li>
| |
| <li><translate><!--T:55--> Foreword to the first edition</translate></li>
| |
| <li><translate><!--T:56--> Foreword to the second edition</translate></li>
| |
| </ol></source>
| |
| |<ol style="list-style-type:lower-alpha">
| |
| <li><translate><!--T:57--> About the author</translate></li>
| |
| <li><translate><!--T:58--> Foreword to the first edition</translate></li>
| |
| <li><translate><!--T:59--> Foreword to the second edition</translate></li>
| |
| </ol>
| |
| |}
| |
|
| |
| === Site-wide ===
| |
|
| |
| The standard #, ##, ### wikitext can be used alongisde CSS in [[MediaWiki:Common.css]] to produce the usual system of numbered lists (1, 2, 3; then a, b, c; then i, ii, iii):
| |
|
| |
| <syntaxhighlight lang="css">
| |
| ol {
| |
| list-style-type: decimal;
| |
| }
| |
| ol li > ol {
| |
| list-style-type: lower-alpha;
| |
| }
| |
| ol li > ol li > ol {
| |
| list-style-type: lower-roman;
| |
| }
| |
| </syntaxhighlight>
| |
|
| |
| The first <code>ol</code> above is the default, so not necessary unless some other list-style-type is required.
| |
|
| |
| {| class="wikitable"
| |
| !Wikitext
| |
| !Rendering
| |
| |-
| |
| |
| |
| <pre>
| |
| #list item A1
| |
| ##list item B1
| |
| ###list item C1
| |
| ###list item C2
| |
| ##list item B2
| |
| #list item A2
| |
| </pre>
| |
| |
| |
| <ol style="list-style-type: decimal"><li>list item A1
| |
| <ol style="list-style-type: lower-alpha"><li>list item B1
| |
| <ol style="list-style-type: lower-roman"><li>list item C1</li>
| |
| <li>list item C2</li></ol>
| |
| <li>list item B2</li></ol></li>
| |
| <li>list item A2</li></ol>
| |
| |}
| |
|
| |
| <translate>
| |
| ==Extra indentation of lists== <!--T:60-->
| |
|
| |
| <!--T:61-->
| |
| In a numbered list in a large font, some browsers do not show more than two digits, unless extra indentation is applied (if there are multiple columns: for each column). This can be done with CSS:</translate>
| |
| ol { margin-left: 2cm}
| |
| <translate><!--T:62-->
| |
| or alternatively, like below.
| |
| </translate>
| |
|
| |
| {|class="wikitable"
| |
| ! <translate><!--T:63--> Wikitext</translate> !! <translate><!--T:64--> Rendering</translate>
| |
| ! style="width: 40%" | <translate><!--T:65--> Comments</translate>
| |
| |-
| |
| |
| |
| <pre>
| |
| :#abc
| |
| :#def
| |
| :#ghi
| |
| </pre>
| |
| |
| |
| :#abc
| |
| :#def
| |
| :#ghi
| |
| | <translate><!--T:66--> A list of one or more lines starting with a colon creates a [<tvar name=link1>http://www.w3.org/TR/html4/struct/lists.html#edef-DL</tvar> description list] without definition terms, and with the items as definition descriptions, hence indented. However, if the colons are in front of the codes "*" or "#" of an unordered or ordered list, the list is treated as one definition description, so the whole list is indented.</translate>
| |
| |-
| |
| |
| |
| <source lang=html>
| |
| <ul>
| |
| <ol>
| |
| <li>abc</li>
| |
| <li>def</li>
| |
| <li>ghi</li>
| |
| </ol>
| |
| </ul>
| |
| </source>
| |
| |
| |
| <ul>
| |
| <ol>
| |
| <li>abc</li>
| |
| <li>def</li>
| |
| <li>ghi</li>
| |
| </ol>
| |
| </ul>
| |
| | <translate><!--T:67--> MediaWiki translates an unordered list (ul) without any list items (li) into a div with a <tvar name=margin-left><code>style="margin-left: 2em"</code></tvar>, causing indentation of the contents. This is '''the most versatile method''', as it allows starting with a number other than 1, see below.</translate>
| |
| |-
| |
| |
| |
| <source lang=html>
| |
| <ul>
| |
| #abc
| |
| #def
| |
| #ghi
| |
| </ul>
| |
| </source>
| |
| |
| |
| <ul>
| |
| #abc
| |
| #def
| |
| #ghi
| |
| </ul>
| |
| |<translate><!--T:68--> Like above, with the content of the "unordered list without any list items", which itself is an ordered list, expressed with # codes. The HTML produced, and hence the rendering, is the same. This is the '''recommended''' method when starting the list at 1.</translate>
| |
| |}
| |
|
| |
| <translate>
| |
| <!--T:69-->
| |
| To demonstrate that all three methods show all digits of 3-digit numbers, see [[<tvar name=metalink1>m:Help:List demo</tvar>|List demo]].
| |
|
| |
| == Specifying a starting value == <!--T:70-->
| |
|
| |
| <!--T:71-->
| |
| Specifying a starting value is possible with HTML syntax.
| |
| </translate>
| |
|
| |
| {| style="width:100%"
| |
| | style="width: 50%" |
| |
| <source lang=html>
| |
| <ol start="9">
| |
| <li><translate><!--T:72--> Amsterdam</translate></li>
| |
| <li><translate><!--T:73--> Rotterdam</translate></li>
| |
| <li><translate><!--T:74--> The Hague</translate></li>
| |
| </ol>
| |
| </source>
| |
| |
| |
| <ol start="9">
| |
| <li><translate><!--T:75--> Amsterdam</translate></li>
| |
| <li><translate><!--T:76--> Rotterdam</translate></li>
| |
| <li><translate><!--T:77--> The Hague</translate></li>
| |
| </ol>
| |
| |}
| |
|
| |
| <translate><!--T:78--> Or:</translate>
| |
|
| |
| {| style="width:100%"
| |
| | style="width: 50%" |
| |
| <source lang=html>
| |
| <ol>
| |
| <li value="9"><translate><!--T:79--> Amsterdam</translate></li>
| |
| <li value="8"><translate><!--T:80--> Rotterdam</translate></li>
| |
| <li value="7"><translate><!--T:81--> The Hague</translate></li>
| |
| </ol>
| |
| </source>
| |
| |
| |
| <ol>
| |
| <li value="9"><translate><!--T:82--> Amsterdam</translate></li>
| |
| <li value="8"><translate><!--T:83--> Rotterdam</translate></li>
| |
| <li value="7"><translate><!--T:84--> The Hague</translate></li>
| |
| </ol>
| |
| |}
| |
| <!--
| |
| FIXME: this is just a hack and doesn't always work, see https://bugzilla.wikimedia.org/show_bug.cgi?id=21631
| |
|
| |
| The HTML <code><li value="</code>...<code>"></code> syntax may be combined with the wikicode <code>#</code> markup, as follows:
| |
|
| |
| {| style="width:100%"
| |
| | style="width: 50%" |
| |
| <pre>
| |
| #<li value=10>Saint Petersburg
| |
| #Petrograd
| |
| #Leningrad
| |
| </pre>
| |
| |
| |
| #<li value=10>Saint Petersburg
| |
| #Petrograd
| |
| #Leningrad
| |
| |}
| |
| -->
| |
|
| |
| <translate>
| |
| == Comparison with a table == <!--T:85-->
| |
|
| |
| <!--T:86-->
| |
| Apart from providing automatic numbering, the numbered list also aligns the contents of the items, comparable with using table syntax:
| |
| </translate>
| |
|
| |
| <pre>
| |
| {|
| |
| |-
| |
| | align=right | 9.|| <translate><!--T:87--> Amsterdam</translate>
| |
| |-
| |
| | align=right | 10.|| <translate><!--T:88--> Rotterdam</translate>
| |
| |-
| |
| | align=right | 11.|| <translate><!--T:89--> The Hague</translate>
| |
| |}
| |
| </pre>
| |
|
| |
| <translate><!--T:133--> gives:</translate>
| |
|
| |
| {|
| |
| |-
| |
| | align=right | 9.|| <translate><!--T:90--> Amsterdam</translate>
| |
| |-
| |
| | align=right | 10.|| <translate><!--T:91--> Rotterdam</translate>
| |
| |-
| |
| | align=right | 11.|| <translate><!--T:92--> The Hague</translate>
| |
| |}
| |
|
| |
| <translate>
| |
| <!--T:93-->
| |
| This non-automatic numbering has the advantage that if a text refers to the numbers, insertion or deletion of an item does not disturb the correspondence.
| |
|
| |
| == Multi-column lists == <!--T:94-->
| |
|
| |
| <!--T:95-->
| |
| See also <tvar name=coltemplates>[[:Template:Col-begin]], [[:Template:Col-break]], [[:Template:Col-end]]</tvar>.
| |
|
| |
| === Multi-column bulleted list === <!--T:96-->
| |
| </translate>
| |
|
| |
| <source lang=html>
| |
| <div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
| |
| <translate>
| |
| <!--T:97-->
| |
| * apple
| |
| * carpet
| |
| * geography
| |
| * mountain
| |
| * nowhere
| |
| * postage
| |
| * ragged
| |
| * toast
| |
| </translate>
| |
| </div>
| |
| </source>
| |
|
| |
| <translate><!--T:98--> gives:</translate>
| |
|
| |
| <div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
| |
| <translate>
| |
| <!--T:99-->
| |
| * apple
| |
| * carpet
| |
| * geography
| |
| * mountain
| |
| * nowhere
| |
| * postage
| |
| * ragged
| |
| * toast
| |
| </translate>
| |
| </div>
| |
|
| |
| <source lang=html>
| |
| <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
| |
| <translate>
| |
| <!--T:100-->
| |
| * apple
| |
| * carpet
| |
| * geography
| |
| * mountain
| |
| * nowhere
| |
| * postage
| |
| * ragged
| |
| * toast
| |
| </translate>
| |
| </div> | | </div> |
| </source> | | </div></div> |
| | |
| <translate><!--T:101--> gives:</translate>
| |
| | |
| <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
| |
| <translate>
| |
| <!--T:102-->
| |
| * apple
| |
| * carpet
| |
| * geography
| |
| * mountain
| |
| * nowhere
| |
| * postage
| |
| * ragged
| |
| * toast
| |
| </translate>
| |
| </div> | | </div> |
|
| |
| <translate>
| |
| ===Multi-column numbered list=== <!--T:103-->
| |
| </translate>
| |
|
| |
| <source lang=html>
| |
| <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
| |
| <translate>
| |
| <!--T:104-->
| |
| #apple
| |
| #carpet
| |
| #geography
| |
| #mountain
| |
| #nowhere
| |
| #postage
| |
| #ragged
| |
| #toast
| |
| </translate>
| |
| </div>
| |
| </source>
| |
|
| |
| <translate><!--T:105--> gives:</translate>
| |
|
| |
| <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
| |
| <translate>
| |
| <!--T:106-->
| |
| #apple
| |
| #carpet
| |
| #geography
| |
| #mountain
| |
| #nowhere
| |
| #postage
| |
| #ragged
| |
| #toast
| |
| </translate>
| |
| </div>
| |
|
| |
| <translate>
| |
| <!--T:107-->
| |
| Below a starting value is specified, with HTML-syntax (for the first column either wiki-syntax or HTML-syntax can be used).
| |
|
| |
| <!--T:108-->
| |
| In combination with the extra indentation explained in the previous section:
| |
| </translate>
| |
|
| |
| <source lang=html>
| |
| {| valign="top"
| |
| |-
| |
| |<ul><ol start="125"><li>a<li>bb<li>ccc</ol></ul>
| |
| |<ul><ol start="128"><li>ddd<li>ee<li>f</ol></ul>
| |
| |}
| |
| </source>
| |
|
| |
| <translate><!--T:109--> gives</translate>
| |
|
| |
| {| valign="top"
| |
| |-
| |
| |<ul><ol start="125"><li>a<li>bb<li>ccc</ol></ul>
| |
| |<ul><ol start="128"><li>ddd<li>ee<li>f</ol></ul>
| |
| |}
| |
|
| |
| <translate>
| |
| <!--T:110-->
| |
| Using <tvar name=templatelink1>{{tim|multi-column numbered list}}</tvar> the computation of the starting values can be automated, and only the first starting value and the number of items in each column except the last has to be specified. Adding an item to, or removing an item from a column requires adjusting only one number, the number of items in that column, instead of changing the starting numbers for all subsequent columns.
| |
| </translate>
| |
|
| |
| <source lang=html>
| |
| {{Multi-column numbered list|125|a<li>bb<li>ccc|3|<li>ddd<li>ee<li>f}}
| |
| </source>
| |
|
| |
| <translate><!--T:111--> gives:</translate>
| |
|
| |
| {{Multi-column numbered list|125|a<li>bb<li>ccc|3|<li>ddd<li>ee<li>f}}
| |
|
| |
| <source lang=html>
| |
| {{Multi-column numbered list|lst=lower-alpha|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}
| |
| </source>
| |
|
| |
| <translate><!--T:112--> gives:</translate>
| |
|
| |
| {{Multi-column numbered list|lst=lower-alpha|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}
| |
|
| |
| <source lang=html>
| |
| {{Multi-column numbered list|lst=lower-roman|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}
| |
| </source>
| |
|
| |
| <translate><!--T:113--> gives:</translate>
| |
|
| |
| {{Multi-column numbered list|lst=lower-roman|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}
| |
|
| |
| <source lang=html>
| |
| {{Multi-column numbered list|lst=disc||a<li>bb<li>ccc||<li>ddd<li>ee||<li>f}}
| |
| </source>
| |
|
| |
| <translate><!--T:114--> gives:</translate>
| |
|
| |
| {{Multi-column numbered list|lst=disc||a<li>bb<li>ccc||<li>ddd<li>ee||<li>f}}
| |
|
| |
| <translate>
| |
| == Streamlined style or horizontal style == <!--T:115-->
| |
|
| |
| <!--T:116-->
| |
| It is also possible to present short lists using very basic formatting, such as:
| |
| </translate>
| |
|
| |
| <pre><translate><!--T:117--> ''Title of list:'' example 1, example 2, example 3</translate></pre>
| |
|
| |
| <translate><!--T:118--> ''Title of list:'' example 1, example 2, example 3</translate>
| |
|
| |
| <translate>
| |
| <!--T:119-->
| |
| This style requires less space on the page, and is preferred if there are only a few entries in the list, it can be read easily, and a direct edit point is not required. The list items should start with a lowercase letter unless they are proper nouns.
| |
|
| |
| ==Tables== <!--T:120-->
| |
|
| |
| <!--T:121-->
| |
| A one-column table is very similar to a list, but it allows sorting. If the wikitext itself is already sorted with the same sortkey, this advantage does not apply.
| |
| A multiple-column table allows sorting on any column.
| |
|
| |
| <!--T:122-->
| |
| See also [[<tvar name=wikipedialink1>:en:Wikipedia:When to use tables</tvar>|When to use tables]].
| |
|
| |
| == Changing unordered lists to ordered ones == <!--T:123-->
| |
|
| |
| <!--T:124-->
| |
| With the CSS</translate>
| |
| ul { list-style: decimal }
| |
| <translate>
| |
| <!--T:125-->
| |
| unordered lists are changed to ordered ones. This applies (as far as the CSS selector does not restrict this) to all ul-lists in the HTML source code:
| |
|
| |
| <!--T:126-->
| |
| *those produced with *
| |
| *those with <tvar name=ul>{{tag|ul|open}}</tvar> in the wikitext
| |
| *those produced by the system
| |
|
| |
| <!--T:127-->
| |
| Since each special page, like other pages, has a class based on the pagename, one can separately specify for each type whether the lists should be ordered, see [[<tvar name=link1>Help:User contributions#User styles</tvar>|User contributions]] and [[<tvar name=link2>Help:What links here#User styles</tvar>|What links here]].
| |
|
| |
| <!--T:128-->
| |
| However, it does not seem possible to make all page history lists ordered (unless one makes ''all'' lists ordered), because the class name is based on the page for which the history is viewed.
| |
|
| |
| ==See also== <!--T:129-->
| |
|
| |
| <!--T:130-->
| |
| *[[w:Help:List]]
| |
| </translate>
| |
| * [[d:Module:Sort_definition_list|Module:Sort definition list]] - <translate><!--T:132--> A [[Scribunto]] module that allows to sort definition lists by the term defined, useful on multilingual wikis. </translate>
| |
|
| |
| [[Category:List{{#translation:}}]]
| |
| [[Category:Help{{#translation:}}]]
| |