Help:Style manual: Difference between revisions

Jump to navigation Jump to search
Line 431: Line 431:
=== Linking to other wikis ===
=== Linking to other wikis ===
The [[Template:FRWiki|FRWiki]] template should be used to link to the FRWiki when appropriate.
The [[Template:FRWiki|FRWiki]] template should be used to link to the FRWiki when appropriate.
== Lists ==
Lists are commonly used on BG3Wiki. Lists should only be used when the presentation or layout is easier to parse and understand. In other circumstances, prose is preferred.
For accessibility reasons, lists should always be used with care and consideration.
=== Description lists ===
Description lists are used for lists that consist of names and values, terms and definitions, items and descriptions or questions and answers. They are added using semi-colons and colons:
{{comparison table|example=
<pre>Description list:
; Hit points : Determines how much damage a creature can take before being Downed.
; Armour Class : Determines how difficult it is to hit a creature.</pre>|result=
Description list:
; Hit points : Determines how much damage a creature can take before being Downed.
; Armour Class : Determines how difficult it is to hit a creature}}
Description lists can be formatted similar to a table with the {{t link|table list}}, but support for this is limited.
=== Ordered and unordered lists ===
Ordered and unordered lists can be used to list items.
These lists are intended for items that consist largely of names or simple phrases. If a bulleted list item consists of several sentences, it is generally best {{em|not}} to include it on a list, and instead work it into the textual body of the article.
; Important considerations
* Only include a full stop at the end of an item if it consists of a full sentence.
* Do not use '''bold''' typeface to format the list – use a description list instead.
* Do not leave blank spaces between items (asterisks), since this breaks the single list into multiple lists.
==== Bulleted lists ====
Bulleted lists, or ''unordered lists'', are added using asterisks (*):
{{comparison table|example=
<pre>
List of bulleted items:
* unordered item
* unordered item</pre>|result=
List of bulleted items:
* unordered item
* unordered item}}
===== Indented bullets =====
Bulleted list items can be indented using double asterisks:
{{comparison table|example=
<pre>List with indented item:
* unordered item
** indented item</pre>|result=
List with indented item:
* unordered item
** indented item}}
==== Numbered lists ====
Numbered lists, or ''ordered lists'' are used where numerical order (arrangement) is important. They are added using hash symbols (#):
{{comparison table|example=
<pre>List with numbered items:
# numbered item
# numbered item</pre>|result=
List with numbered items:
# numbered item
# numbered item}}
=== Horizontal lists ===
Horizontal lists are used in templates such as navboxes or infoboxes, but can also be used in article contents where a vertical list may be undesirable. They are added simply by listing items in succession, in a single line:
: item 1, item 2, item 3 ...
: or
: item 1 • item 2 • item 3 ...
=== Tables ===
Due to accessibility concerns, tables should generally only be used to list complex data that could not be listed in any other way.
Tables are also used on cargo pages and selectively on project and help pages.
Tables should be avoided for layout or presentation purposes, except when absolutely necessary (such as for navboxes, or infoboxes).
: {{strong|Notice}}: The [[Guide:Guide namespace|guide]] and [[Modding:Modding resources|modding]] namespaces may use tables more freely.


== Templates ==
== Templates ==
8,856
edits

Navigation menu