Difference between revisions of "UniWiki:Editing commands visual guide"

From EVE University Wiki
Jump to: navigation, search
 
(48 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, 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.)
+
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 9: Line 9:
 
*The next line must follow with no blank lines
 
*The next line must follow with no blank lines
 
**Use more * to indent
 
**Use more * to indent
#Use # for numbered lists - note that this is part of the same list
+
**Good practice is to use a header to head a list
##More # to indent
+
 
 +
 
 +
#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<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 - 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 ==
 
== Emphasis ==
{{hatnote|This is a "hat note"; used for 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}}.
  
  
{{Note box|This is a "note box". also used for emphasis.}}
+
<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>
  
  
{{Color box | color=#0B2161 | border=#F4FA58 | This is a color box. ''Color'' will be the background color; ''border'' will be the border color. The numbered code determines an [https://html-color-codes.info HTML color]. FFFFFF is white; 000000 is black; 888888 is middle grey}}
+
{{hatnote|This is a "hat note"; used for emphasis. Indentation and italics are automatic.}}
  
  
<span style="color:#53B14E">This is how you make colored text.</span> .
+
{{Note box|This is a "note box"; also used for emphasis. Italics are automatic. It's always grey.}}
{{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 links - and there is a general "style" used in [[UniWiki:Manual_of_Style|UniWiki editing]].}}
 
  
  
<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>
+
{{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.}}
  
  
== Templates ==
+
{{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.}}
{{icon|caldari2|22|Caldari}} Icons have [[UniWiki:Icons|their own special codes]].
 
{{sk|Capacitor Management}} As to links to skills.
 
These are called "templates". You can view a [[UniWiki:Templates#Templates_on_the_UniWiki|list of UniWiki templates]].
 
  
 
== Images ==
 
== Images ==
[[File:TemperateLarge.png|thumb]]
 
 
The standard image appears on the right.
 
The standard image appears on the right.
[[File:TemperateLarge.png|left|thumb]][[File:TemperateLarge.png|center|upright=0.2|thumb]]
+
[[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| ... make the number bigger or smaller - 2.0 will be bigger; 0.5 will be smaller.  
+
Use |left| to put it on the left. Use |center| to center it.  
{{clear}} Use the clear command to start the next text line AFTER the image.  
+
[[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.
 +
 
 +
==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


  1. Use # for numbered lists
    1. Space the first line to start a new list if you do not head it
    2. Use more # to indent further
  2. Note that numbered lists are indented to start


  1. A line break (blank line or break command) ends a list

    To put items in columns

    Use the paragraph command

  2. Next numbered line starts here


Use : to indent without a label
And more - see Wikipedia's List Help page

Templates

Torpedo 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.


The div code pair is used to center text. Note that this is an operation and not a built-in formatting command.


This is a "hat note"; used for emphasis. Indentation and italics are automatic.


This is a "note box"; also used for emphasis. Italics are automatic. It's always grey.


This is a color box. Color will be the background color; border will be the border color. You can put colored text in here, too.


Be very careful with colored text and boxes. Some colors are special for UniWiki - like orange links and grey selections. There is also a general style used in UniWiki editing. It is a good idea to stick with UniWiki templates when you first start editing.

Images

The standard image appears on the right.

default

Use |left| to put it on the left. Use |center| to center it.

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).

center, smaller

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.