User:HR

From Gangplank
Revision as of 03:25, 31 January 2021 by HR (talk | contribs)
Jump to navigation Jump to search

Introduction

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

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''.

Syntax Highlighting

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

Syntax highlighting with line numbers

#include <iostream>

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

Syntax highlighting without line numbers

#include <iostream>

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

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

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.

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.

Links

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

Templates

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

User:Gel0zie5/Template:Welcome

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.

Properties

The user lives in Has town::Berlin. (Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.)

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

robots.txt

robots.txt files are part of the Robots Exclusion Standard, and can help with search engine optimization. They tell web robots how to crawl a site. A robots.txt file must be placed in the web root of a domain.

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.

NavFrame

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.

General Data Protection Regulation (GDPR)

Extensions

Category Tag Cloud

<tagcloud style="background: gray;"> min_count=1 min_size=55 exclude=Random_Data </tagcloud>

Misc. Tests

Transclude All Categories

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}}

Backup & Restore

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

Installation & configuration

See also

References

Cite makes it possible to add footnotes to a page.

External links