Resources/wikicheatsheet

From DigitalCraft_Wiki
Jump to navigation Jump to search

what was the syntax again?

Working with wikis can be confusing because they have their own peculiar syntax. Additionally to confuse things more it is possible to use some HTML tags and additional CSS next to the wiki syntax. The good thing of that is that it allows for

creative expression


The following stuff is borrowed from the wikipedia cheatsheet and adapted for our purposes.

This mediawiki cheatsheet is more extensive and will answer specific questions

Wikipedia Cheatsheet

Works anywhere in the text        
Description You type You get
Italics, bold, and both

''italics'', '''bold''', and '''''both'''''

italics, bold, and both

Link to another page

[[people]]
[[people]]s

people
peoples

"Pipe" a link to change the link's destination

[[People | The People involved in Digital Craft]]

The People involved in Digital Craft

Link to a section

[[People#Students]]
[[People#Students | Students of Digital Craft]]

People#Students
Students of Digital Craft

Red link
Red links show references to pages that don't exist yet ( they don't have content). Click them to add content to that page.

[[something missing]]

something missing

References and footnotes
sources in the article will appear where <references /> is put, typically under a level 2 section heading (see below) towards the bottom of the page.

Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref>

References: <references />


Hello,[1] World.[2]

References:

SignatureTemplate:Anchor
sign your contributions when posting to a talk page

~~~~

Username (talk) 20:42, 20 October 2019 (UTC)

Plain website

http://www.wikipedia.org

http://www.wikipedia.org

Link a website

[http://www.wikipedia.org]

[1]

Link and name a website

[http://www.wikipedia.org Wikipedia]

Wikipedia

Strike your talk page comment
to show your previous comment is outdated

<s>This topic isn't [[WP:N|notable]].</s>

This topic isn't notable.

Hide text somewhere for editors
consensus is how things are decided

<!--This had consensus, discuss at talk page-->

Show an image
for uploading, use Upload File in the menu on the top left of the page

[[File:SteveUrkel.jpg|thumb|Caption]]

caption
Add a page to a category [[Category:Category name]]

place near the bottom of a page
shows "Category name" in a bar at bottom when the page is previewed or saved
Works only at the beginning of lines    
Description You type You get
Section headings
a Table of Contents will automatically be generated when four headings are added to an article

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

do not use  =Level 1=  as it is for page titles

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text
this is used when replying on a talk page, to make it easier to follow conversations.

no indent (normal)
:first indent
::second indent
:::third indent
::::fourth indent

no indent (normal)

first indent
second indent
third indent
fourth indent