Difference between revisions of "UniWiki:Editing commands visual guide"
(43 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 13: | Line 13: | ||
#Use # for numbered lists | #Use # for numbered lists | ||
− | #Space the first line to start a new list if you do not head it | + | ##Space the first line to start a new list if you do not head it |
− | ##Use more # to indent | + | ##Use more # to indent further |
+ | #Note that numbered lists are indented to start | ||
+ | |||
+ | |||
+ | # A line break (blank line or break command) ends a list<p>To put items in columns</p><p>Use the paragraph command</p> | ||
+ | # Next numbered line starts here | ||
:Use : to indent without a label | :Use : to indent without a label | ||
− | ::And more | + | ::And more - see [https://en.wikipedia.org/wiki/Help:List Wikipedia's List Help] page |
+ | |||
+ | == Templates == | ||
− | + | {{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. | |
− | {{ | ||
+ | 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]]. | |
+ | == 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> | ||
− | |||
− | {{ | + | {{hatnote|This is a "hat note"; used for emphasis. Indentation and italics are automatic.}} |
− | + | {{Note box|This is a "note box"; also used for emphasis. Italics are automatic. It's always grey.}} | |
− | == | + | {{Color box | color=#0B2161 | border=#F4FA58 | This is a color box. '''Color''' will be the background color; '''border''' will be the border color. You can put {{co|yellow||colored text}} in here, too.}} |
− | {{ | ||
− | |||
− | + | {{Template:Important note box|Be '''very''' careful with colored text and boxes. Some colors are [[UniWiki:Manual_of_Style/Text_formatting#Color|special for UniWiki]] - like orange links and grey selections. There is also a general [[UniWiki:Manual_of_Style|style used in UniWiki editing]]. It is a good idea to stick with [[Templates#Templates_on_the_UniWiki|UniWiki templates]] when you first start editing.}} | |
== Images == | == Images == | ||
− | |||
The standard image appears on the right. | The standard image appears on the right. | ||
− | [[File:TemperateLarge.png | + | [[File:TemperateLarge.png|thumb|default]] |
− | 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. | + | Use |left| to put it on the left. Use |center| to center it. |
+ | [[File:TemperateLarge.png|left|thumb|move to the left]] | ||
+ | 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). | ||
+ | [[File:TemperateLarge.png|center|upright=0.2|thumb|center, smaller]] | ||
{{clear}} Use the clear command to start the next text line AFTER the image. | {{clear}} 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 [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Mathematics Wikimedia Help] guide is a good place to start. | ||
== 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.