Help:Cheatsheet: Difference between revisions

CMagnani (talk | contribs)
m minor edits; still needs some work
CMagnani (talk | contribs)
m minor edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TOCright}}<!-- the multi TOC levels in the table below appear here, thats part of the tutorial -->
{{Under construction|The Cheatsheet is a new page as part of a larger Project to expand pages in the Help and TenthFleet Namespaces.}}
New users pressing the "edit" button on any page can be intimidated by the wiki mark-up. On a wiki, certain characters or sequences of characters behave differently to how they would in any other context. For example, to format a word in ''italic'', you include it in two pairs of apostrophes like <code><nowiki>''this''</nowiki></code>.


This page aims to be a useful reference, listing the most frequently found wiki mark-up that will be encountered. That being said, the best way to learn the syntax is by trial and error. Most wiki users start off by fixing typos or other small things until they get a feel for the syntax, but there is nothing stopping a new editor from creating a page straight away. As an example, if you wanted to create a new page for a new NPC, you could copy the source code from an existing NPC's page and paste it onto the new page.
== Editing Syntax ==
=== Basic formatting ===
==== Basic Formatting: Text ====
Bold
Italics
Bold italics
Underline
Strikethrough
Superscript
Subscript
Plain website
[https://www.mediawiki.org/wiki/Template:Quote Quotes] - This needs to be set up specifically within a Template in the wiki in order to be implemented.


== Editing syntax ==
==== Basic Formatting: Images ====
<!--COMMENT MARKUP. Displays:Edit mode only-->
Images
{| {{STDT|guardian}}
Image captions (example: <nowiki>[[File:Wiki.png|thumb|Caption]]</nowiki>
|- style="font-size: 1.15em;" <!--COLUMN HEADINGS-->
Image Thumbnails
! Desired Effect
Image Links (see under ==== Links ====)
! Input
 
! Output
==== Basic Formatting: Links ====
|- <!--1ST HEADING-->
Wikilink
! colspan="3" style="font-size: 1.1em;" | Applies anywhere
Interwikilink
|- <!--1ST ROW 1ST COLUMN-->
External links
| Italicise text
Image Links
| <!--2ND COLUMN-->
Redirects
<tt><nowiki>''Anything between double apostrophes will show up italicized.''</nowiki></tt>
Internal Link (within Tenth Fleet Wiki)
| <!--3RD COLUMN-->
Internal Link (to an image or category)
''Anything between a double apostrophe will be italicized.''
Interwiki Link (to Mantipedia or Wikipedia)
|- <!--2ND ROW 1ST COLUMN-->
Redirect (to another TFW page)
| Bold text
External Link (to another website)
|
External Link  (to another website, with customized display name)
<tt><nowiki>'''Anything between triple apostrophes will show up in bold.'''</nowiki></tt>
 
|
=== Wiki Talk Pages ===
'''Anything between triple apostrophes will show up in bold.'''
<nowiki>Sign your posts on talk pages (Signature; explain the difference between --~~~~ and ~~~~
[[https://en.wikipedia.org/wiki/Help:Cheatsheet Ping a user] on a talk page so they will see your comment ([[User:Example]] or {{u|Example}})
[https://en.wikipedia.org/wiki/Help:Cheatsheet Strike your Talk Page Comment]</nowiki>)
 
=== Wiki Operations ===
Displaying wiki tags on a page (example: <nowiki><nowiki></nowiki></nowiki> tags, link tags (internal & external), Template tags (<nowiki>{{Template:Templates}}</nowiki>))
 
=== Organized Wiki Pages ===
Headings
Indented Lines and Paragraphs
Definition lists
Bullet List
Numbered List
[https://en.wikipedia.org/wiki/Help:Cheatsheet Citations, references, and footnotes]
[https://en.wikipedia.org/wiki/Help:Cheatsheet Template:Citation needed]
 
Commenting <nowiki><!-- This comment would be not be visible on the page; visible only in the source. --></nowiki>
 
 
{| class=wikitable
|-
| Editing Syntax
|-
|-
| Bold and italic text
| Intended Effect || Example || Output
|
<tt><nowiki>'''''Anything between quintuple (triple and double together) apostrophes will show up in bold and italicized.'''''</nowiki></tt>
|
'''''Anything between quintuple (triple and double together) apostrophes will show up in bold and italicized.'''''
|-
|-
| Internal link <br>
| colspan=3 Applies Anywhere
(within Guild Wars 2 Wiki)
|
Anything between double square brackets will become an internal link:<br>&nbsp;<tt><nowiki>[[billet]]</nowiki></tt><br>
Any link suffixed (within the brackets still) with "|<display text>" will display an alternate text version of the same link:<br>&nbsp;<tt><nowiki>[[billet|What is a billet?]]</nowiki></tt><br>
Alternate text isn't necessary for suffixed variants of a word. Simply place the suffix after the double brackets:<br>&nbsp;<tt><nowiki>[[billet]]s, [[engineer]]ing</nowiki></tt><br>
Any link to a page that doesn't exist yet will show up in red. Clicking on this link will take you to a new page with no content that you can create.<br>&nbsp;<tt><nowiki>[[Yet another billet]]</nowiki></tt>
|
[[billet]]<br>
[[billet|What is a skill?]]<br>
[[billet]]s, [[engineer]]ing<br>
[[Yet another billet]]
|-
|-
| Internal link <br>
| Bold || The quick brown fox jumped over the lazy sleeping dog ||  
to an image or category
|
To link to an image uploaded on the wiki, prefix the location with a colon. ''Without the colon, the actual image is displayed.''<br>&nbsp;<tt><nowiki>[[:File:tfwlogo.png]]</nowiki></tt><br>
The same concept applied to any category. ''Without the colon, the page is categorized into the category, instead of linking to it.''<br>&nbsp;<tt><nowiki>[[:Category:Tenth Fleet]]</nowiki></tt>
|
[[:File:tfwlogo.png]]<br>
[[:Category:Tenth Fleet]]
|-
|-
| {{anchor|Interwiki link}}Interwiki link <br>
| Bold and Italics || The quick brown fox jumped over the lazy sleeping dog ||  
(to First Fleet Wiki or Wikipedia)
|
Interwiki links are much like internal links, except they are prefixed with their external destination:<br>&nbsp;<tt><nowiki>[[1f:Main Page|FFW's main page]]</nowiki></tt><br>
&nbsp;<tt><nowiki>[[wikipedia:Main page|Wikipedia's main page]]</nowiki></tt>
|
[[gw1:Main Page|FFW's main page]]<br>
[[wikipedia:Main page|Wikipedia's main page]]
|-
|-
| Redirect to another page
| Image || The quick brown fox jumped over the lazy sleeping dog ||  
|
To redirect an article, put the following line with your target destination of choice (see "Internal link") on any page you want to redirect from:<br>&nbsp;<tt><nowiki>#REDIRECT [[Profession]]</nowiki></tt>
|
<span style="font-size:160%">&#8627; [[Profession]]</span>
|-
|-
| External link<br>
| Italicize || The quick brown fox jumped over the lazy sleeping dog ||  
(to other websites)
|
Single square brackets (or none at all) are used for external links:<br>&nbsp;<tt><nowiki>[http://www.guildwars2.com/en/]</nowiki></tt><br>
&nbsp;<tt><nowiki>http://www.guildwars2.com/en/</nowiki></tt><br>
To alter the display text, unlike internal linking, ''a space is used'':<br>&nbsp;<tt><nowiki>[http://www.guildwars2.com/en/ Guild Wars 2 official website]</nowiki></tt>
|
[http://www.guildwars2.com/en/]<br>
http://www.guildwars2.com/en/ <br>
[http://www.guildwars2.com/en/ Guild Wars 2 official website]
|-
|-
| Sign your posts <br>
| Link, External (to another website) || The quick brown fox jumped over the lazy sleeping dog ||  
on talk pages
|
Signing your posts is required for other users to see who left the comment. Unregistered users' comments are signed with their IP. To sign, put 4 tildes after your comment:<br>&nbsp;<tt><nowiki>Your comment. ~~~~</nowiki></tt>
|
Your comment. [[Special:Mypage|Your username]] {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
|-
|-
| Image
| Link, Image || The quick brown fox jumped over the lazy sleeping dog ||  
|
To display an image, treat them as internal links, suffixed by a fixed width if required:<br>&nbsp;<tt><nowiki>[[File:GW2Logo new.png]]</nowiki></tt><br>
&nbsp;<tt><nowiki>[[File:GW2Logo new.png|100px]]</nowiki></tt><br>
Suffixing for a fixed ''height'' and/or fixed position if required:<br>&nbsp;<tt><nowiki>[[File:GW2Logo new.png|x100px|right]]</nowiki></tt>
|
[[File:GW2Logo new.png|100px]][[File:GW2Logo new.png|x100px|right]]
|-
|-
| Thumbnail image
| Link, Internal (within Tenth Fleet Wiki) || The quick brown fox jumped over the lazy sleeping dog ||  
|
To display a thumbnail of an image (usually only seen on articles and their talk pages), treat them as internal links, suffixed by "|thumb" and a caption text. Links can also be present in the caption text:<br>&nbsp;<tt><nowiki>[[File:GW2Logo new.png|thumb|Official ''[[Guild Wars 2]]'' logo]]</nowiki></tt>
|
[[File:GW2Logo new.png|thumb|Official ''[[Guild Wars 2]]'' logo]]
|-
|-
| Image link
| Link, Internal (to image or category) || The quick brown fox jumped over the lazy sleeping dog ||  
|
To use an image as a link, suffix "|link=<destination>":<br>&nbsp;<tt><nowiki>[[File:GW2Logo new.png|link=Main Page]]</nowiki></tt><br>
This can be used for interwiki or external links too:<br>&nbsp;<tt><nowiki>[[File:Gwwlogo.png|link=gw1:Main Page]]</nowiki></tt><br>&nbsp;<tt><nowiki>[[File:ArenaNet.png|link=https://www.arena.net/]]</nowiki></tt><br>
| [[File:GW2Logo new.png|100px|link=Main Page]] [[File:Gwwlogo.png|link=gw1:Main Page]] [[File:ArenaNet.png|link=https://www.arena.net/]]
|- <!--2ND HEADING-->
! colspan="3" style="font-size: 1.1em;" | Applies only at the beginning of a line
|-
|-
| Headings<br>
| Link, Interwiki (to TRMN or Wikiepdia) || The quick brown fox jumped over the lazy sleeping dog ||  
<span style="font-size:0.9em;">''A Table of Contents will automatically be generated when four headings are added to an article.''</span>
|
Headings are used to divide an article or page into sections. Headers of a higher number will sort themselves under headers of a lower number in the Table of Contents if there is one:<br>
&nbsp;<tt><nowiki>== Level 2 ==</nowiki></tt><br>
&nbsp;<tt><nowiki>=== Level 3 ===</nowiki></tt><br>
&nbsp;<tt><nowiki>==== Level 4 ====</nowiki></tt><br>
&nbsp;<tt><nowiki>===== Level 5 =====</nowiki></tt><br>
&nbsp;<tt><nowiki>====== Level 6 ======</nowiki></tt>
|
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======
|-
|-
| Indented lines and paragraphs
| Redirect to another page || The quick brown fox jumped over the lazy sleeping dog ||  
|
Indenting lines and paragraphs is usually limited on articles. Most common use of indenting is in discussions and conversations on talk pages. Indenting creates a flow between comments and makes reading generally easier. To indent, simply prefix your comment with an appropriate amount of colons:<br>
&nbsp;<tt>: First paragraph.</tt><br>
&nbsp;<tt>:: Second paragraph.</tt><br>
&nbsp;<tt>::: Third paragraph.</tt><br>
&nbsp;<tt>:::: Fourth paragraph.</tt><br>
&nbsp;<tt>:: Second paragraph, to interject with the first paragraph.</tt>
|
: First paragraph.
:: Second paragraph.
::: Third paragraph.
:::: Fourth paragraph.
:: Additional second paragraph, to interject with the first.
|-
|-
| Definition lists
| Signing posts on talk pages || The quick brown fox jumped over the lazy sleeping dog ||  
|
To list and describe definitions, prefix the term with a semi-colon and the description with a colon:<br>
&nbsp;<tt>; Term</tt><br>
&nbsp;<tt>: Definition</tt>
|
; Term
: Definition
|-
|-
| Bullet list
| Thumbnail image || The quick brown fox jumped over the lazy sleeping dog ||  
|
A bulleted list can be generated by prefixing each line with an asterisk, or multiple asterisks:<br>
&nbsp;<tt>* one</tt><br>
&nbsp;<tt>* two</tt><br>
&nbsp;<tt>** two point one</tt><br>
&nbsp;<tt>* three</tt>
|
* one
* two
** two point one
* three
|-
|-
| Numbered list
|
A numbered list can be generated by prefixing each line with a number sign, or multiple number signs:<br>
&nbsp;<tt># one</tt><br>
&nbsp;<tt># two</tt><br>
&nbsp;<tt>## two point one</tt><br>
&nbsp;<tt># three</tt>
|
|
# one
# two
## two point one
# three
|}
|}


== Notes ==
* Always use "Show preview" when editing before saving the final version of your edit. This avoids a big list of minor edits in the [[Special:RecentChanges|Recent changes]].
* Leaving an edit summary allows other users to quickly identify what you've changed with an edit.


== See also ==
* [[TenthFleet:Sandbox]] &mdash; for experimentation with editing without affecting live pages


== External links ==
* [[w:Help:Cheatsheet|Cheatsheet for Editing Pages]] on Wikipedia
* [[meta:Help:Image|Image help]] on MetaWiki
* [[w:Wikipedia:Keyboard shortcuts|Monobook editing shortcuts]] on Wikipedia


{{wiki help nav}}
 
=== Applies only at beginning of a line ===
* Headings
* Indented lines and images
* Definition lists
* Bullet list
* Numbered list
 
* working with tables
 
 
{{wiki help nave}}