User:HR

From Gangplank
Revision as of 22:41, 1 February 2021 by HR (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

This page takes you through a set of tutorials aimed at complete newcomers interested in contributing.

Subpages, Categories, Namespaces

Subpages

Subpages introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/).

Categories

Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents.

Namespaces

Pages on a MediaWiki wiki are grouped into collections called “namespaces” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.

Starting a new page

There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace.

Formatting

You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two pairs of apostrophes like ''this''.

Magic words

Tables

Tables may be created in wiki pages. As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.

Title
noframe
Image caption
SectionA
FieldNameA1 FieldParameterA1
FieldNameA2 FieldParameterA2
FieldNameA3 FieldParameterA3
SectionB
FieldNameB1 FieldParameterB1
FieldNameB2 FieldParameterB2

(The following text is here to show how a text can 'wrap' around the table to the right)
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

Templates

If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play.

This is a templated text.

Infoboxes

An infobox is a fixed-format table usually added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share and sometimes to improve navigation to other interrelated articles.

Collapsable elements / NavFrame

Collapsable elements

The header remains visible
This content is hidden
at first load time

NavFrame (depricated)

Dynamic navigation boxes use a combination of CSS and Javascript to make collapsible navigation boxes. The technical parts comprise style sheet declarations in MediaWiki:Common.css, and Javascript code in MediaWiki:Common.js.

Transclude All Categories

Properties

Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.

The user lives in Has town::Berlin.

Links

There are five types of hypertext links in MediaWiki...

Page redirects

Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.

Images / Uploads

This page explains the image syntax when editing the wiki. You or another user must usually upload an image before you can use it on a page.

If file uploads are enabled, you can upload certain types of files to the wiki. This is particularly useful for uploading images which you want to place on a page, but you can also upload other types of files.

Testbild.gif

Extensions

Category Tag Cloud

Embed Videos

A drawback with these embedded videos is that we have to cover each video provider in the privacy policy. {{#ev:vimeo|https://vimeo.com/57378793%7C%7Cright}} {{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}}

Syntax Highlighting

The SyntaxHighlight extension provides rich formatting of source code using the <syntaxhighlight> tag.

Syntax highlighting with line numbers

1#include <iostream>
2
3int main()
4{
5    std::cout << "Hello, world!\n";
6}

Syntax highlighting without line numbers

#include <iostream>

int main()
{
    std::cout << "Hello, world!\n";
}

Poems

The Poem extension allows easy formatting of poems and similar material within Wikitext.

This is the way we comb our hair [1],
Comb our hair[2],
Comb our hair.
This is the way we comb our hair
On a cold and frosty morning.

Installation & configuration

Mediawiki elements

Sidebar

MediaWiki:Sidebar defines the navigation bar, which provides links to the most important locations in the wiki and supplies site administrators with a place to add a persistent collection of links. For instance, most wikis will link to their community discussion page and some useful tools.

The URL of the site logo (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations).

Footer

Backup & Restore

It is important to make regular backups of the data in your wiki.

Legal Stuff

General Data Protection Regulation (GDPR)

Licencing / Copyright

Terms of Use

Disclaimer / Impressum

See also

References

Cite makes it possible to add footnotes to a page.

External links