CSWiki:Getting started

From CSWiki
Revision as of 16:01, 16 June 2019 by Wauteurz (talk | contribs) (External thumbnails)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Getting Started

Hi there! You want to add stuff on this wiki? This article sums up the few things you should know before you start. This page contains the essentials of editing. Aside from the information on {{External image}}, all of this applies to pretty much every wiki.

This page can only list so much information before it becomes overwhelming. If you want to know more specific information, then have a look at this page. If text alone doesn't help you out, you can always reach out for help in the various Discord servers.

Happy editing!

Getting Started

Getting Started

First you have to create yourself an account to be able to edit the wiki (in the top right hand corner). To enter the editing section :

  • To create a page : type in the name of the page you want to create, and click 'Create'.
  • Click 'Edit' on existing pages.

Basic formatting

The Cities:Skylines Creators wiki uses MediaWiki as a framework, just like Wikipedia. Here are a few tags that MediaWiki uses:

Description What you type What you get
Character format- applies everywhere
Italic ''Italic Text'' Italic Text
Bold '''Bold text''' Bold text
Bold + Italic '''''Both Bold and Italic''''' Both Bold and Italic
Strikethrough <strike>Striked text</strike> Striked text
Underlined <u>Underlined</u> Underlined
Disable formatting no formatting <nowiki>''here''</nowiki> no formatting ''here''
Big text <big>Big text</big> Big text
Small text <small>Small text</small> Small text
Superscript <sup>Superscript text</sup> Superscript text
Subscript <sub>Subscript text</sub> Subscript text
Section and line format - at the beginning of a line
Headers

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======


  • Level 1 is basically the page name
  • With 4 sections or more, a Table Of Content (TOC) is created.

Level 2

Level 3

Level 4

Level 5
Level 6
Horizontal line

Text above
----
Text below

Text above

Text below

Bulleted list

* Start each line
* by an asterisk (*).
** Every asterisk adds a level
*** deeper and deeper
* Newline beacons <br />do not change the level.
*** But skipping a level creates a spacing.
Beginning the list without an asterisk closes the list.

  • Start each line
  • by an asterisk (*).
    • Every asterisk adds a level
      • deeper and deeper
  • Newline beacons
    do not change the level.
      • But skipping a level creates a spacing.

Beginning the list without an asterisk closes the list.

Numbered list

# Start each line
# with a hashtag character (#).
## Every hashtag adds a level
### deeper and
### deeper
# Newline beacons <br />do not change the level.
### But skipping a level creates a spacing.
#Empty lines

#close the list and open a new one
Beginning the list without the hashtag character closes the list.

  1. Start each line
  2. with a hashtag character (#).
    1. Every hashtag adds a level
      1. deeper and
      2. deeper
  3. Newline beacons
    do not change the level
      1. But skipping a level creates a spacing.
  4. Empty lines
  1. close the list and open a new one

Beginning the list without the hashtag character closes the list.

Quotations list

; article 1
: definition 1
; article 2
: definition 2-1
: definition 2-2

article 1
definition 1
article 2
definition 2-1
definition 2-2
Indented list

: Simple indentation
:: Double identation
:::: Multiple indentations

Simple indentation
Double identation
Multiple indentations
Mixing list types

# one
# two
#* two dot one
#* two dot two
# three
#; three article one
#: three definition one
# four
#: four definition one
#: it goes on
#: it's often used
#: instead <br />of <nowiki><br /></nowiki>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2

  1. one
  2. two
    • two dot one
    • two dot two
  3. three
    three article one
    three definition one
  4. four
    four definition one
    it goes on
    it's often used
    instead
    of <br />
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2

Inserting Links

Description What you type What you get
Links to inside the wiki
Link to an existing wiki page [[Main Page]] Main Page
Link to a non-existing wiki page [[RandomName jkfeije]] RandomName jkfeije
Link to a wiki page with an other text [[Main Page|Text the link is attached to]] Text the link is attached to
Links to outside the wiki
Link to any website [https://www.google.com] [1]
Link to any website with another text [https://www.google.com Text the link is attached to] Text the link is attached to
Link to a Wikipedia page [[w:Google|Google]] Google
Link to a YouTube video [[yt:CpWe03NhXKs|Awesome video]] Awesome video
Link to a Steam Workshop item [[wkitem:639486063|Automatic Bulldoze v2]] Automatic Bulldoze v2

Embedding Images

Please always prefer to use images stored outside the Wiki rather than uploading images to the wiki.

Stored on the Wiki or Wikimedia Commons

Uploads to the wiki are disabled for the time being. Documentation on how to insert local files as well as imagery on Wikimedia Commons can be found here.

Stored outside the Wiki

Images aren't always found on Commons. If you've got the image linked in a Discord server or on external file hosting platforms such as Imgur, then please follow these directions:

External thumbnails

Icon External Link.svg
An example of an image stored on Imgur embedded on the wiki as a thumbnail.

Thumbnails will be displayed in a framed box similar to how local images on this wiki or on Commons will be displayed. Below are your options for adding images from external sources. Do not upload your images to Wikimedia Commons. Images created specifically for this wiki fall outside of Wikimedia Commons' scope, and will most likely be deleted sooner or later. Use file hosting services such as Imgur instead.

Description What you type What you get
Default embedding
(size by default: 310 pixels)
{{external image|https://upload.wikimedia.org/wikipedia/commons/1/14/NYC_fire_1776.jpg}}
Icon External Link.svg
With caption {{external image|https://upload.wikimedia.org/wikipedia/commons/1/14/NYC_fire_1776.jpg|caption=A good caption.}}
Icon External Link.svg
A good caption.
Custom width
(keeps proportions)
{{external image|https://upload.wikimedia.org/wikipedia/commons/1/14/NYC_fire_1776.jpg|width=100}}
Icon External Link.svg

External frameless images

Should you wish to opt-out of the framed box that thumbnails have, then {{External logo}} is the template you'll be working with. It accepts widths and links like the thumbnails do, but does not accept captions or tooltips. Please use this template mainly for logo's and iconography, real-life flags being the sole exception. They require {{Flag}} instead. An instance of External logo without a specified width will display at a width of 25 pixels: {{External logo|https://i.imgur.com/tMFV8IG.png}}