Help:Editing

From NPOWiki
Revision as of 10:42, 3 July 2020 by Bobogoobo (talk | contribs) (added some basics)
Jump to navigation Jump to search

For more detail, see mw:Help:Editing.

Wikicode

  • '''bold text''' produces: bold text; ''italic text'' produces: italic text
  • To create a heading, use multiple equals signs: ==Heading== (this is the highest level of heading). The number of signs on each side must match, and they determine the level of the heading; more signs means a smaller heading, sorted under higher headings. Headings on a page automatically create a table of contents.
  • To create a link to another page on the wiki: [[page name]] or [[page name|display text]]
    • If the second portion is omitted, the display text will be the same as the first portion. Underscores are not required.
    • Note that the first character of a page's title is not case sensitive; this can be used to make it lowercase if necessary for grammar.
    • Any letters placed immediately after the link will automatically become part of the display text. For example, [[toaster]]s will link to "Toaster" but display "toasters" as a link.
    • To link to a non-main namespace, add the namespace prefix before the link. [[Template:Main]] produces: Template:Main. To link to a category, you must put a colon : at the beginning of the link, or it will actually add the category to the page.
  • To link to Wikipedia or other wikis, you can often use a prefix. [[wikipedia:Main Page]] produces: wikipedia:Main Page
    • To link to Wikia (Fandom), the format is "wikia:w:c:<wiki name>:<page name>". So [[wikia:w:c:cybernations:NPO]] produces: wikia:w:c:cybernations:NPO.
  • For external links, use a single bracket. [http://www.google.com/ Google] produces: Google.
  • To use a template: {{CN|Lord of Darkness}}
    • This template uses an unnamed parameter. To use a named parameter, place the name after the pipe ( | ) followed by an equals sign: {{Template|param=value}}.
    • Templates can combine any number of named and unnamed parameters. The order of unnamed parameters matters, but named parameters can be specified anywhere, including between unnamed parameters.
    • Some templates might have no parameters at all.
    • Template pages contain explanations of their parameters and intended usage.
  • To create a list, put each item on a new line preceded by an asterisk * (unordered list, bullet points) or a number sign # (order list, numbered). Use multiple of the symbol to create a sub-list; list types can be mixed. Putting an extra line break in between lines will create a separate list.
  • MediaWiki is very sensitive to whitespace (spaces and line breaks). A line starting with a space will be displayed as a code box instead of as text or formatting. Using too many line breaks will create excessive space - use only two line breaks (i.e. one blank line) in between paragraphs.
    • However, white space surrounding template parameters and the like is stripped, so this can be used for formatting that is easier to read.

Templates

Commonly used templates on the wiki: