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

From EVE University Wiki
Jump to: navigation, search
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>
 
 
<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}}.
 
  
  

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


  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.