Difference between revisions of "UniWiki:Editing commands visual guide"
Line 34: | Line 34: | ||
== Emphasis == | == Emphasis == | ||
+ | <span style="color:#53B14E">This is how you make colored text.</span> The numbered code determines an [https://html-color-codes.info HTML color]. FFFFFF is white; 000000 is black; 888888 is middle grey. You can also use the CO Template which uses {{co|yellow|| color words instead}} of HTML codes and also allows you to {{co|yellow|grey|color the background}}. | ||
+ | |||
<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">The '''div''' code pair is used to center text. Note that this is an operation, and not a built-in formatting command.</div> | <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">The '''div''' code pair is used to center text. Note that this is an operation, and not a built-in formatting command.</div> | ||
− | |||
− | |||
− | |||
Revision as of 02:00, 22 November 2020
- Main article: UniWiki:Editing Guide
- Main article: UniWiki:Manual of Style
- Wikipedia Foundation Manual of Style
This page shows a small number of commonly used, though somewhat more advanced, uniwiki styling commands. Edit this page to see the coded version. (It can help to open this page in two windows; one with the code.)
Lists and Indentation
- Lists are made with * or #
- The next line must follow with no blank lines
- Use more * to indent
- Good practice is to use a header to head a list
- Use # for numbered lists
- Space the first line to start a new list if you do not head it
- Use more # to indent further
- Note that numbered lists are indented to start
- A line break (blank line or break command) ends a list
To put items in columns
Use the paragraph command
- Next numbered line starts here
- Use : to indent without a label
- And more - see Wikipedia's List Help page
Templates
Icons have their own special codes. The first item is the icon name and must NOT be capitalized; second is the pixel size; last is the mouseover display.
Links to skills (e.g., Capacitor Management) also have a special code. It is easier to learn this linking method than to have to type a standard link each time you reference a skill.
These are called "templates". You can view a list of common UniWiki templates.
Emphasis
This is how you make colored text. The numbered code determines an HTML color. FFFFFF is white; 000000 is black; 888888 is middle grey. You can also use the CO Template which uses color words instead of HTML codes and also allows you to color the background.
- This is a "hat note"; used for emphasis. Indentation and italics are automatic.
Images
The standard image appears on the right.
Use |left| to put it on the left. Use |center| to center it.
To change the size, use |upright=1.0| ... 1.0 will be standard, 2.0 will be bigger, 0.5 will be smaller. Upright uses percentages, which is much easier than trying to figure out pixel sizes (the other way of doing it).
Use the clear command to start the next text line AFTER the image.
Math
- Super- and subscript: [math]2^3 = b^{x+2}[/math]
- Infinity: [math]speed = \infty[/math]
- Fractions: [math]\frac{x^3+y^3}{2}[/math]
- Roots: [math]\sqrt{2}[/math]
- Combinations: [math]\sqrt[2]{\frac{x^3+y^3}{2}} = \int_0^\pi \sin x\,dx[/math]
Very complex mathematical expressions are possible, but require some study. The Wikimedia Help guide is a good place to start.
Miscellaneous
Use break (br) to
split a line in two.
Superscript and subscript in text are different than they are in Math.
- Itemsee below
- Carbon C14
Tables are easier than they look. The basics are shown in the UniWiki Editing Guide. Details for more complex tables are at the WIKI help center.