Difference between revisions of "UniWiki:Editing commands visual guide"
(→Images) |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
:[https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Keep_markup_simple Wikipedia Foundation Manual of Style] | :[https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Keep_markup_simple Wikipedia Foundation Manual of Style] | ||
− | This page shows a small number of commonly used, though somewhat more advanced, | + | This page shows a small number of commonly used, though somewhat more advanced, UniWiki formatting 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 and Indentation == | ||
Line 29: | Line 29: | ||
{{icon|torpedo|32|Torpedo}} Icons have [[UniWiki:Icons|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. | {{icon|torpedo|32|Torpedo}} Icons have [[UniWiki:Icons|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. | ||
− | {{sk|Capacitor Management}} | + | Links to skills (e.g., {{sk|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 [[UniWiki:Templates#Templates_on_the_UniWiki|list of common UniWiki templates]]. | These are called "templates". You can view a [[UniWiki:Templates#Templates_on_the_UniWiki|list of common UniWiki templates]]. | ||
== 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> | |
− | < | ||
Line 62: | Line 61: | ||
==Math== | ==Math== | ||
− | *Super- and subscript: <math>2^3=b^2</math> | + | *Super- and subscript: <math>2^3 = b^{x+2}</math> |
*Infinity: <math>speed = \infty</math> | *Infinity: <math>speed = \infty</math> | ||
*Fractions: <math>\frac{x^3+y^3}{2}</math> | *Fractions: <math>\frac{x^3+y^3}{2}</math> | ||
*Roots: <math>\sqrt{2}</math> | *Roots: <math>\sqrt{2}</math> | ||
− | *Combinations: <math>\sqrt[2]{\frac{x^3+y^3}{2}} = | + | *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 [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Mathematics Wikimedia Help] guide is a good place to start. | Very complex mathematical expressions are possible, but require some study. The [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Mathematics Wikimedia Help] guide is a good place to start. | ||
Line 72: | Line 71: | ||
== Miscellaneous == | == Miscellaneous == | ||
Use break (br) to<br>split a line in two. | Use break (br) to<br>split a line in two. | ||
+ | |||
+ | |||
+ | Superscript and subscript in text are different than they are in Math. | ||
+ | *Item<sup>see below</sup> | ||
+ | *Carbon C<sub>14</sub> | ||
+ | |||
Tables are easier than they look. The basics are shown in the [[UniWiki:Editing_Guide#Tables|UniWiki Editing Guide]]. Details for more complex tables are at the [https://en.wikipedia.org/wiki/Help:Table WIKI help center]. | Tables are easier than they look. The basics are shown in the [[UniWiki:Editing_Guide#Tables|UniWiki Editing Guide]]. Details for more complex tables are at the [https://en.wikipedia.org/wiki/Help:Table WIKI help center]. | ||
+ | [[Category:Editing]] | ||
[[Category:Guides]] | [[Category:Guides]] | ||
[[Category:Wiki Information]] | [[Category:Wiki Information]] |
Latest revision as of 10:16, 9 March 2023
- 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 formatting 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.