Difference between revisions of "Resources/wikicheatsheet"

From DigitalCraft_Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
what was the syntax again?
+
=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 <div style="color: rgba(0, 0, 0, 0);font-size:36px;text-shadow: 3px 0 0 rgb(217,31,38), 6px 0 0 rgb(226,91,14), 9px 0 0 rgb(245,221,8), 12px 0 0 rgb(5,148,68), 15px 0 0 rgb(2,135,206), 18px 0 0 rgb(4,77,145), 21px 0 0 rgb(42,21,113);">creative expression</div>
 +
 
 +
 
 +
 
 +
The following stuff is borrowed from the [https://en.wikipedia.org/wiki/Help:Cheatsheet wikipedia cheatsheet] and adapted for our purposes.
 +
 
 +
[https://www.mediawiki.org/wiki/Help:Formatting This mediawiki cheatsheet] is more extensive and will answer specific questions
 +
 
 
<!--COMMENT MARKUP. Displays:Edit mode only.-->
 
<!--COMMENT MARKUP. Displays:Edit mode only.-->
 
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
 
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
Line 138: Line 146:
 
<tt><nowiki>[[</nowiki></tt>File:SteveUrkel.jpg<tt>|thumb|</tt>Caption<tt><nowiki>]]</nowiki></tt>
 
<tt><nowiki>[[</nowiki></tt>File:SteveUrkel.jpg<tt>|thumb|</tt>Caption<tt><nowiki>]]</nowiki></tt>
 
|
 
|
[[File:SteveUrkel.jpg|thumb|Caption]]
+
[[File:SteveUrkel.jpg|thumb|caption]]
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|[[Template:Citation needed]]
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''one of many [[WP:TC|cleanup templates]]''</div>
 
|
 
<tt><nowiki>This statement is true.{{cn}}</nowiki></tt>
 
|
 
This statement is true.{{cn}}
 
 
|-
 
|-
 +
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
Line 162: Line 162:
 
| style="border-bottom:2px #a3b1bf solid" | You type
 
| style="border-bottom:2px #a3b1bf solid" | You type
 
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get
 
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get
|-
 
|[[Wikipedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}}
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div>
 
|
 
<tt><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
 
|
 
[[Image:Redirect arrow without text.svg|30px|link=]] [[Target page]]
 
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|[[Wikipedia:Redirect|Redirect to a section of another page]]
 
|
 
<tt><nowiki>#REDIRECT [[</nowiki></tt>Target page#anchorName<tt><nowiki>]]</nowiki></tt>
 
|
 
[[Image:Redirect arrow without text.svg|30px|link=]] [[Target page#anchorName]]
 
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|[[Help:Section|Section headings]]{{Anchor|Section headings}}<br />
+
|Section headings<br />
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div>
 
|
 
|
Line 199: Line 184:
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}
+
|Bulleted list
 
|
 
|
 
<tt>* One</tt><br />
 
<tt>* One</tt><br />
Line 213: Line 198:
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}
+
|Numbered list
 
|
 
|
 
<tt># One</tt><br />
 
<tt># One</tt><br />
Line 227: Line 212:
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|Indenting text{{Anchor|Indenting text}}
+
|Indenting text
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a [[Wikipedia:Tutorial (Talk pages)|talk page]], to make it easier to follow conversations. <br /> After a string of indents, or to revive a discussion, an outdent <nowiki>{{Outdent|n}}</nowiki> ([[Template:Outdent]]) can be used to reset the paragraph to the left margin.''</div>
+
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a talk page, to make it easier to follow conversations. </div>
 
|
 
|
 
<tt><nowiki>no indent (normal)</nowiki></tt><br />
 
<tt><nowiki>no indent (normal)</nowiki></tt><br />
Line 235: Line 220:
 
<tt><nowiki>:::third indent</nowiki></tt><br />
 
<tt><nowiki>:::third indent</nowiki></tt><br />
 
<tt><nowiki>::::fourth indent</nowiki></tt><br />
 
<tt><nowiki>::::fourth indent</nowiki></tt><br />
<tt><nowiki>{{Outdent|4}} outdent</nowiki></tt>
 
 
|
 
|
 
no indent (normal)<br />
 
no indent (normal)<br />
Line 242: Line 226:
 
:::third indent
 
:::third indent
 
::::fourth indent
 
::::fourth indent
{{Outdent|4}} (return to left margin)
+
 
 
|}
 
|}
 
</div>
 
</div>

Latest revision as of 17:55, 9 November 2015

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) 23:28, 23 November 2024 (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