Difference between revisions of "Resources/wikicheatsheet"
(4 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;" | ||
− | |colspan="3" align="center" style="background:#cee0f2; text-align:center;" | | + | |colspan="3" align="center" style="background:#cee0f2; text-align:center;" | |
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wikipedia Cheatsheet</h2> | <h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wikipedia Cheatsheet</h2> | ||
|-<!--WORKS ANYWHERE IN THE TEXT--> | |-<!--WORKS ANYWHERE IN THE TEXT--> | ||
Line 22: | Line 30: | ||
|[[Wikipedia:Manual of Style/Linking|Link]] to another page | |[[Wikipedia:Manual of Style/Linking|Link]] to another page | ||
| | | | ||
− | <tt><nowiki>[[ | + | <tt><nowiki>[[people]]</nowiki></tt><br /> |
− | <tt><nowiki>[[ | + | <tt><nowiki>[[people]]s</nowiki></tt> |
| | | | ||
− | [[ | + | [[people]]<br /> |
− | [[ | + | [[people]]s |
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
Line 84: | Line 92: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[Wikipedia:Tutorial (Talk pages)|talk page]]''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[Wikipedia:Tutorial (Talk pages)|talk page]]''</div> | ||
| | | | ||
− | <tt><nowiki>~~~~</nowiki></tt><br /><br / | + | <tt><nowiki>~~~~</nowiki></tt><br /><br /> |
| | | | ||
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
Line 132: | Line 140: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
− | |[[ | + | |[[Show an image]] |
− | <div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, | + | <div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, use Upload File in the menu on the top left of the page |
''</div> | ''</div> | ||
− | |||
| | | | ||
− | <tt><nowiki>[[</nowiki></tt>File: | + | <tt><nowiki>[[</nowiki></tt>File:SteveUrkel.jpg<tt>|thumb|</tt>Caption<tt><nowiki>]]</nowiki></tt> |
| | | | ||
− | [[File: | + | [[File:SteveUrkel.jpg|thumb|caption]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
+ | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
− | |Add a page to a | + | |Add a page to a category |
|<tt><nowiki>[[Category:Category name]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span> | |<tt><nowiki>[[Category:Category name]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span> | ||
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span> | |<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span> | ||
Line 163: | 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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
− | + | |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 200: | Line 184: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
− | + | |Bulleted list | |
| | | | ||
<tt>* One</tt><br /> | <tt>* One</tt><br /> | ||
Line 214: | Line 198: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
− | + | |Numbered list | |
| | | | ||
<tt># One</tt><br /> | <tt># One</tt><br /> | ||
Line 228: | Line 212: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
− | |Indenting text | + | |Indenting text |
− | <div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a | + | <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 236: | 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 /> | ||
− | |||
| | | | ||
no indent (normal)<br /> | no indent (normal)<br /> | ||
Line 243: | Line 226: | ||
:::third indent | :::third indent | ||
::::fourth indent | ::::fourth indent | ||
− | + | ||
|} | |} | ||
</div> | </div> |
Latest revision as of 17:55, 9 November 2015
Contents
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
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 | ||
| ||
Description | You type | You get |
Italics, bold, and both |
''italics'', '''bold''', and '''''both''''' |
italics, bold, and both |
Link to another page |
[[people]] |
|
"Pipe" a link to change the link's destination |
[[People | The People involved in Digital Craft]] |
|
Link to a section |
[[People#Students]] |
|
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]] |
|
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: |
SignatureTemplate:Anchor
sign your contributions when posting to a talk page
|
~~~~ |
|
Plain website |
http://www.wikipedia.org |
|
Link a website |
[http://www.wikipedia.org] |
|
Link and name a website |
[http://www.wikipedia.org Wikipedia] |
|
Strike your talk page comment
to show your previous comment is outdated
|
<s>This topic isn't [[WP:N|notable]].</s> |
|
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]] |
|
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 |
| ||
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 2Level 3Level 4Level 5Level 6 |
Bulleted list |
* One |
|
Numbered list |
# One |
|
Indenting text
this is used when replying on a talk page, to make it easier to follow conversations.
|
no indent (normal) |
no indent (normal)
|