Spielwiese zum Ausprobieren

Aus HöGyWiki

Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

Beispiel für eine Tabellen-Syntax

Tabelle ohne Gitter

Das ist die Syntax für eine Tabelle mit zwei Zeilen zu je zwei Zellen:

{| |Zeile 1 Zelle eins || Zeile 1 Zelle zwei |- |Zeile 2 Zelle eins || Zeile 2 Zelle zwei |}

... und das die Ausführung durch das Programm

Zeile 1 Zelle eins Zeile 1 Zelle zwei
Zeile 2 Zelle eins Zeile 2 Zelle zwei

Jetzt mit Rändern (border=1)

{| border=1 |Zeile 1 Zelle eins || Zeile 1 Zelle zwei |- |Zeile 2 Zelle eins || Zeile 2 Zelle zwei |}

Ausführung:

Zeile 1 Zelle eins Zeile 1 Zelle zwei
Zeile 2 Zelle eins Zeile 2 Zelle zwei

Jetzt mit Rand und mehr Abstand (cellpadding=3)

{| border=1 cellpadding=3 |Zeile 1 Zelle eins || Zeile 1 Zelle zwei |- |Zeile 2 Zelle eins || Zeile 2 Zelle zwei |}

Ausführung:

Zeile 1 Zelle eins Zeile 1 Zelle zwei
Zeile 2 Zelle eins Zeile 2 Zelle zwei

Jetzt mit Rand, mehr Abstand und blauer Farbe (bgcolor=#ddeeff)

{| border=1 cellpadding=3 |bgcolor=#ddeeff| Zeile 1 Zelle eins || Zeile 1 Zelle zwei |- |bgcolor=#ddeeff| Zeile 2 Zelle eins || Zeile 2 Zelle zwei |}

Ausführung:

Zeile 1 Zelle eins Zeile 1 Zelle zwei
Zeile 2 Zelle eins Zeile 2 Zelle zwei

Jetzt ohne Rand (border=0), aber mit blauer Farbe und weißem Zwischenraum (cellspacing=3)

{| border=0 cellpadding=3 cellspacing=3 |bgcolor=#ddeeff| Zeile 1 Zelle eins || Zeile 1 Zelle zwei |- |bgcolor=#ddeeff| Zeile 2 Zelle eins || Zeile 2 Zelle zwei |}

Ausführung:

Zeile 1 Zelle eins Zeile 1 Zelle zwei
Zeile 2 Zelle eins Zeile 2 Zelle zwei

Fußnoten

Zitat aus dem Wikipedia-Tutorial: "

Wikipedia has built-in support for footnotes, via the Cite.php extension to the MediaWiki software it runs on. You can add footnotes to an article using <ref> tags, which will be explained on this page. This way of adding footnotes is called "Cite.php footnotes", where "Cite.php" is the name of the file in MediaWiki that makes this possible.
  1. Place a <ref> ... </ref> where you want a footnote reference number to appear in an article—type the text of the note between the ref tags.
  2. Place the <references/> tag in a "Notes" or "References" section near the end of the article—the list of notes will be generated here."

<references/>


Colorize/Farbige Überschriften

Der gewünschte Text wird mit dem Befehl

<colorize> Blablabla</colorize>

eingefasst. Das sieht dann - immer ganz zufällig - so aus:

DAs ist jetzt in Farbe

Poem

Die Eingabe von

<poem>blabla</poem>

ergibt,

Das ist ein GEdicht
Das ist ein GEdicht

 Upps
Das ist kein Gedicht
Oder doch?
Jetzt verstehe ich glaube ich
Die Poemfunktion
Und wieso ist das da oben
Ein GEdicht?
Sprach der Hase und flüchtete
In "Das Nonsens