Wiki editing

From FHM Wiki
Revision as of 17:32, 13 September 2021 by Estragon (talk | contribs) (Created page with "=Wiki editing= ==Basic guide== ===Users=== To place content in this wiki (and many other wikis) you need to create an account.<br> There are different user's groups that hold...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wiki editing

Basic guide

Users

To place content in this wiki (and many other wikis) you need to create an account.
There are different user's groups that hold different rights and privileges.

  • anonymous users: can only read pages
  • registered users: can read, edit and create pages
  • administrators: can delete pages, place users in different groups etc


Edit mode

On the wiki, there is a Read and Edit mode.
Edit lets you write new or make changes to existing content.
While you are editing, you can preview your changes in the Preview window.
Once you finish editing, you should Save changes, otherwise your contribution will be lost.


Create page

On the wiki, the information is mainly organised into pages.

To create a page:

  1. first create a link to a non-existent page [[name of new page]]
  2. follow the link to this as of yet uncreated space and adding content (hint: it's red)
  3. save the page which then finalizes its creation

Another way to create a wiki page is to use the search function with the name of the page you want to create. When searching, you are given the possibility to create that page.

Note: For today, please use sub pages under your user namespace. [[User:yourusername/newpage]]

  • Red link = non-existing page.
  • Blue link = existing page.

Main_Page - an existing page

FHM zine fun - an non-existing page


Structuring information

You can create headings with different hierarchic levels by using "=" as follows:

First level

 =Your text= 

Second level

 ==Your text== 

Third level

 ===Your text=== 

You can place content under each of these sections.


Formatting

Changing fonts

<div style="font-family: Inconsolata;"> YOUR TEXT </div>

Changing paragraph style

<p style="text-align:center; font-size:30px;"> YOUR PARAGRAPH 

Changing text color and background

<span style="color:#58D68D; background:#0E6655;"> YOUR TEXT </span>

For more documentation: https://www.mediawiki.org/wiki/Help:Formatting


Upload files and images

To upload files (eg images) on the wiki, a File page needs to be created first as a place-holder.

  • File:Newimage.png
  • Save the page
  • Click on the red lin
  • Follow the instruction to upload your file

File formats allowed in this wiki: png, gif, jpg, jpeg, webp, pdf

Syntax to add captions to images - use a vertical bar (the "pipe"):

[[File:newimage.png|Caption under the image]]

More info: https://www.mediawiki.org/wiki/Help:Images


Transclusion

The inclusion of the content of a document into another document by reference is generally called transclusion. In a wiki context, it is the use of the template functionality of MediaWiki to include the same content in multiple documents without having to edit those documents separately.

<noinclude></noinclude>  — text between tags will only appear on the page itself, not on the page it's transcluded

<includeonly></includeonly> — text between tags will only appear then where the page is transcluded, not on the page itself

<onlyinclude></onlyinclude> — only the text between these tags will be shown where the page is transcluded, but it also shows on the page itself. It can override the other tags.

{{:Pagename}}— used when transcluding a page from the main namespace

{{User:Username}} — when transcluding a user page

More info: https://www.mediawiki.org/wiki/Transclusion


Magic words

Magic words are strings of text that are often used to specify desired omissions and/or inclusions in the content of a wiki page.

Word Description
__NOTITLE__ Hides the title of the page.
__NOTOC__ Hides the table of contents (TOC).

More info: https://www.mediawiki.org/wiki/Help:Magic_words


Cheatsheet

''italics'' 
 
 '''bold''' 
 
 '''''bold and italics''''' 
 
 ==standard header== 
 
 ===next-level header=== (...and so on) 
 
 [[Internal link]] 
 
 [[Internal link|alternate text]] 
 
 [http://example.com text of external link] 
 
 [[Category:Example]] (category tag) 
 
 [[:Category:Example]] (link to category) 
 
 ---- (horizontal line) 
 
 * bulleted item 
 
 # numbered item 
 
 :indentation 
 
 ::double indentation (...and so on) 
 
 [[File:Image-name.jpg|thumb|frame|Caption text]]
 
 {{:Transcluded page name}} 
 
 #REDIRECT [[Page name]]