Editing
Help:List
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Extra indentation of lists== 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: <pre>ol { margin-left: 2cm}</pre> or alternatively, like below. {|class="wikitable" ! Wikitext !! Rendering ! style="width: 40%" |Comments |- | <pre> :# abc :# def :# ghi </pre> | :# abc :# def :# ghi | A list of one or more lines starting with a colon creates a [http://www.w3.org/TR/html4/struct/lists.html#edef-DL definition 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. |- | <pre> <ul> <ol> <li>abc</li> <li>def</li> <li>ghi</li> </ol> </ul> </pre> | <ul> <ol> <li>abc</li> <li>def</li> <li>ghi</li> </ol> </ul> | MediaWiki translates an unordered list (ul) without any list items (li) into a div with a <code>style="margin-left: 2em"</code>, causing indentation of the contents. This is '''the most versatile method''', as it allows starting with a number other than 1, see below. |- | <pre> <ul> # abc # def # ghi </ul> </pre> | <ul> # abc # def # ghi </ul> | 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. |}
Summary:
Please note that all contributions to Brighter Shores Wiki are considered to be released under the CC BY-NC-SA 3.0 (see
Brighter Shores:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Help page
Discussion
British English
Views
Read
Edit source
View history
More
Refresh
Search
Discord
Discord
Navigation
About us
User help
Random page
Recent changes
Stonemason
2m
ago
-
[anonymous]
Den raid
2m
ago
-
Im Wired In
Multiple headed creature
5m
ago
-
Im Wired In
Crime den raids
7m
ago
-
Im Wired In
Show more...
Brighter Shores
Professions
Factions
Episodes
Premium Pass
Monsters
Quests
Community
Policies
Tools
What links here
Related changes
Special pages
Page information