Hilfe:Hilfe

Hilfe:Hilfe

Aus Bloghandbuch

Wechseln zu: Navigation, Suche
Links
Allgemeine Syntax
Für Fortgeschrittene
Hilfreiche Werkzeuge


Inhaltsverzeichnis

Allgemeines Handbuch

Auf mediawiki.org werden umfangreiche Hilfeseiten gepflegt, siehe Bild:Icon Wikipedia De.gifHilfe auf mediawiki.org für das deutsche Handbuch.

Spezielles

Sonderzeichen (Auswahl)

– ................... Gedankenstrich

«» ................. franz. Anführungszeichen

→ ← ► ◄ ....... Pfeile

⇒ .................. Doppelpfeil

↔ ................. "Wechselwirkung"

½ ¼ ¾ ⅓ ⅔ .... Brüche

¿ ................... span. Fragezeichen zu

¡ .................... span. Rufzeichen zu

≠ ................... ungleich

¬ ................... nicht

Links zur Wikipedia

Für Links zur Wikipedia haben wir die Vorlage {{WP}}. Die Angabe des Linkziels ist Pflicht, alle anderen Angaben sind optional. Soll eine Sprache angegeben werden, muss jedoch auch ein Linktext angegeben werden. Als Sprache sind alle Sprachen der Wikipedia erlaubt; zusätzlich auch Bild:Icon Wikipedia De.gifmeta und Bild:Icon Wikipedia De.gifmedia.

{{WP|Linkziel|Linktext|Sprache}}

Anwendungsbeispiele

Notation Darstellung
{{WP|Wikipedia}} Bild:Icon Wikipedia De.gifWikipedia
{{WP|Wikipedia|Wikipedia, die freie Enzyklopädie}} Bild:Icon Wikipedia De.gifWikipedia, die freie Enzyklopädie
{{WP|Wikipedia|Wikipedia|en}} Bild:Icon Wikipedia De.gifWikipedia
{{WP|Wikipedia|Wikipedia, the free encyclopedia|en}} Bild:Icon Wikipedia De.gifWikipedia, the free encyclopedia

Weitere Wikis

Desgleichen können auch weitere Wikis verlinkt werden:

Name URL Notation Darstellung
LinuxWiki http://www.linuxwiki.de {{LW|Linux}} Bild:Icon Linuxwiki.gif Linux

Fußnoten

Da das MediaWiki Fußnoten standardmäßig nicht unterstützt, haben wir das Cite-Plugin installiert.

Fußnote erzeugen

<ref>Text der Fußnote</ref>

Dieselbe Fußnote mehrere Male referenzieren

1. Verwendung: <ref name="lorem-ipsum">Lorem ipsum dolor sit amet consectetur adipisicing elit.</ref>
2. Verwendung: <ref name="lorem-ipsum" />
3. Verwendung: <ref name="lorem-ipsum" />
.
.
.
n. Verwendung: <ref name="lorem-ipsum" />

Fußnoten anzeigen

Ganz wichtig: am Ende des Artikels muss dieser Baustein eingefügt werden, damit die Fußnoten überhaupt angezeigt werden:

<references/>


Listen Sortieren

Um Listen automatisch zu sortieren ist das Modul sort2 eingebaut.

Funktion

  • Sortiert ul,ol,dl und br (linebreaked) Listen
  • 2 Varianten: Groß/Kleinschreibung beachten oder nicht beachten
  • Titel um Liste zu beschreiben
  • unsortierte, sortierte und numerierte Listen können je ein Stylesheet haben
  • Geordnete Listen können eine numeriert sein
  • 5 verschiedene Ausgabemöglichkeiten
  • Wiki Syntax innnerhalb einer Liste wird nicht verändert
  • Kann Listentypen konvertieren
  • Mit kleinen Ausnahmen können auch Unterebenen von Listen sortiert werden


Syntax

Der Syntax dieser Erweiterung ist einfach und logisch

<sort2 [type=""] [order=""] [casesense=""] [separator=""] [style=""] [start=""] [title=""]>

... Text ...

</sort2>

Optionen

Alle Optionen sind optional. Die Defaults sind fett gekennzeichnet bzw. das oberste jeder Liste.

type=""
The option type takes a string as argument. It can be one of:
  • ul, list is generated as unordered list
  • ol, list is generated as ordered list
  • dl, list is generated as definition list
  • br, list is generated as separate lines
  • inline, list is generated as one item after the other separated by separator (see below)
Note: This option was named class in the original version but I found this too confusing because class normaly is used for a style sheet class.
order=""
The option order takes a string as argument. It can be one of:
  • asc, sorting direction is ascending
  • desc, sorting direction is descending
  • none, no sorting of the list. This one is useful for converting list types. For instance some paragraphs to an unordered list without changing order.
casesense=""
The option casesense takes a string as argument. It can be one of:
  • false, sorting is case insensitive. Uses php natcasesort()
  • true, sorting is case sensitive. Uses php natsort()
separator=""
The option separator takes a string as argument. It is only evaluated when type is set to inline. The list items are separated by the char(s) you give as argument to this option. Since the parser eats spaces using php trim(), I had to introduce a pseudo-entity to be able to render separators like ", " or " | ". If you want a space at the end or beginning of the separator, you have to use &sp;.
Examples:
separator=",&sp;"
separator="&sp;|&sp;"
Note: You can not pass HTML or wikisyntax as an argument. Just in case you wonder why there is this extra type="br" option.
style=""
The option style takes a string as argument. It is only evaluated when type is set to ul, ol, or dl. Its main purpose is to be able to control what kind of numbered list you are generating and having control over the margins. If you want to change the list-style-type and do this by setting list-style to none , also set list-style-image to none, since there's a default image set - at least with the Monobook skin. If you don't set this explicitly, Firefox will happily omit the list bullet but IE will still display the image.
Since this can have a large impact on layout, administrators can switch off that behaviour by setting $wgSort2AllowStyles = false in LocalSettings.php. More about this on the discussion page.
start=""
The option start takes an integer as argument. It is only evaluated when type is set to ol and controls the starting number of the ordered list.
title=""
The option title takes a string as argument. It is prepended to all list types and can hold wikisyntax. A space at the beginning or end must be entered as the pseudo-entity &sp;.

Beispiele

The codeResults in
<sort2>
*2
*1
*ball
*AMD
*BMW
*argument
</sort2>
  • 1
  • 2
  • AMD
  • argument
  • ball
  • BMW
<sort2 casesense="true">
#2
#1
#ball
#AMD
#BMW
#argument
</sort2>
  • 1
  • 2
  • AMD
  • BMW
  • argument
  • ball
<sort2 type="inline" separator="&sp;|&sp;" title="A list:&sp;">
2
1
ball
AMD
BMW
argument
</sort2>

A list: 1 | 2 | AMD | argument | ball | BMW

<sort2 type="ol">
This is sample paragraph

And this is another one

Yet another one.
</sort2>
  1. And this is another one
  2. This is sample paragraph
  3. Yet another one.

I am sure you get the idea.

Einschränkungen

  • The extension does not sense the original type of the list. So ol gets converted to a ul if you don't set the type accordingly
  • The extension eliminates identical items
  • The extension does not work with lists which have sub levels. Something like the following does not work correctly.
<sort>
* Item 1
** Subitem
* Item 2
** Subitem
</sort>

This would mess up the order because of the two stars and also eliminate one of the subitems.

Zitate

Baustein Erklärung Beispiel
{{Zitat|Zitat-Text|Quellenangaben}} Hervorhebung eines Zitats, insbesondere von litarischen Zitaten. - Für Zitate aus der Bild:W-Logo.gif WikipediaWikipedia bitte die Vorlage:zitat wp bzw. Vorlage:zitat wpde usw. verwenden. {{Zitat|Zitat-Text|Quellenangaben}}

Zitat-Text


Quellenangaben

{{Zitat rechts|Zitat-Text|Quellenangaben}} Hervorhebung eines Zitats, insbesondere von litarischen Zitaten - wie Vorlage:Zitat, aber rechtsbündig. {{Zitat rechts|Zitat-Text|Quellenangaben}}

Zitat-Text


Quellenangaben

{{Zitat rechts fix|Zitat-Text|Quellenangaben}} Hervorhebung eines Zitats, insbesondere von litarischen Zitaten - wie Vorlage:Zitat, aber rechtsbündig wie Vorlage:Zitat rechts und mit festgelegter Kastenbreite. {{Zitat rechts fix|50|Zitat-Text|Quellenangaben}}

Zitat-Text


Quellenangaben

{{Zitat blau|Zitat-Text|Quellenangaben}} Hervorhebung eines Zitats, als Alternative zur Vorlage:Zitat. {{Zitat blau|Zitat-Text|Quellenangaben}}

Zitat-Text


Zitat aus: Quellenangaben

{{Zitat olive|Zitat-Text|Quellenangaben}} Hervorhebung eines Zitats, als Alternative zur Vorlage:Zitat. {{Zitat olive|Zitat-Text|Quellenangaben}}

Zitat-Text


Aus: Quellenangaben

{{Zitat wp|Zitat-Text|Sprachcode|Artikelname|Datum}} Hervorhebung eines Zitats aus der Bild:W-Logo.gif Wikipedia. Der Sprachcode (de, en, fr, es ...) verweist auf die jeweilige Sprachversion. - Für andere Zitate bitte die Vorlage:Zitat nutzen. {{Zitat wp|Zitat-Text|Sprachcode (hier:"en")|Article|10.01.2006}}

Article generally refers to a particular artifact.


Aus: Bild:W-Logo.gif Article, 10.01.2006 - Die Inhalte der Wikipedia unterliegen der GNU-Lizenz für freie Dokumentation.

{{Zitat wpde|Zitat-Text|Artikelname|Datum}} Hervorhebung eines Zitats aus der deutschsprachigen Bild:W-Logo.gif Wikipedia. {{Zitat wpde|Zitat-Text|Artikelname|10.01.2006}}

Zitat-Text


Aus: Artikelname, Wikipedia – Die freie Enzyklopädie, 10.01.2006 - Der Inhalt unterliegt der GNU-Lizenz für freie Dokumentation. Bei Wikipedia ist eine Liste der Autoren verfügbar.

{{Zitat wpen|Zitat-Text|Artikelname|Datum}} Hervorhebung eines Zitats aus der englischsprachigen Bild:W-Logo.gif Wikipedia. {{Zitat wpen|Zitat-Text|Artikelname|10.01.2006}}

Zitat-Text


Aus: Artikelname, 10.01.2006 - Die Inhalte der Wikipedia unterliegen der GNU-Lizenz für freie Dokumentation.


Die TIPP-Box (Tabelle)

copy&paste:

{| cellspacing="5" cellpadding="5" style="width: 100%; font-size:100%; border:3px solid #DD0000; background-color:#FFDDDD; position:relative;"
|<u>'''Ein Tipp:'''</u><br>. . . T e x t . . .
|}