This is a sample template implementing some of the basic styling used on the ONOS wiki. This page is also meant to be viewed from the editor so that someone trying to write a page can see the macros and settings that they use. From the editor, double click on any macro to see its settings.
...
A larger image or figure's size is also usually adjusted to about 650px wide by entering a custom size. The settings can be accessed by clicking on the image after it's added.
Lists
The list macro is probably the easiest to use if each item is a single line of text. If images, macros, or multiple lines are involved, it can get finicky (e.g. start numbering again from 1). Some tips are:
- Add a line. Hitting enter creates a new bullet or numbered entry.
- If another line is needed under the same number, hit shift+enter
to get to the
next line to prevent it from being numbered or bulleted. - Repeating shift+enter will continue adding newlines under the current bullet or number.
Macros and images added under a newline created by shift+enter will also be indented.shift by itself will indent the list. The same technique with shift+enter works for indented portions of a list, with a matching level of indentation.
Code Block $ printf '%s\n' $((1+2)) 3
The list implicitly ends when enter is hit twice.
Footer
Any links back to the parent, previous, or next page in the guide book are added as a footer with centered links, between two Horizontal Rulelines, as below:
...