|
|
Line 1: |
Line 1: |
| To number nested ordered lists , you can add the following CSS to the page ''MediaWiki:Common.css''.<syntaxhighlight lang="text">
| | { |
| /*Numbering nested ordered lists */
| | "wikipageid": 2042, |
| .mw-content-ltr ol, .ve-ce-branchNode ol{ counter-reset: item; margin-left:1.5em }
| | "namespace": 0, |
| .mw-content-ltr ol li { display: block }
| | "titletext": "Book", |
| .mw-content-ltr ol li:before, .ve-ce-branchNode ol li:before { content: counters(item, ".") "."; counter-increment: item; margin-right:0.5em }
| | "description": "", |
| .ve-ce-branchNode ol li p { display: inline}
| | "parentid": 0, |
| </syntaxhighlight>
| | "id": 403, |
| | | "ownerid": 7, |
| Output:
| | "type": "wikipage", |
| | | "archived": false, |
| # Step 1
| | "tags": [ |
| ## Substep 1
| | "Book" |
| ## Substep 2
| | ], |
| ### Sub-substep 1
| | "resolved": false |
| | | } |
| [[Category:Customization]]
| |
| [[en:{{FULLPAGENAME}}]]
| |
| [[de:Aufzählungslisten_nummerieren]]
| |