Templates

From Saltwiki
Jump to navigation Jump to search

Templates for use in your articles you find below.

If you need a special template for use in your articles, please let me know on my discussion page Hans-Jürgen Schwarz


Outline of an article in SalzWiki[edit]

The following are suggestions for the outline of an article in SalzWiki.

Each article is a self-contained topic. Definitions are usually carried out in the glossary. If necessary, you can also do so in a separate article. A Wiki article focuses on the actual content and links on all topics that are provided and and are important for the understanding of the article.

The outline might look like (see e.g. the article Putze/Mörtel):

Each page starts with the head of the page, as suggested below


== Abstract ==

== Introduction ==

== Main chapter==

=== Sub-chapter===

== Web-links ==

== Literature ==

<bibprint/> : use only if at least one quote in Bibtex format is present in the text, otherwise the complete list of references is displayed.



If there are more than three headlines, the software automatically creates a table of contents that is inserted before the first heading.

Terms in an article that are already addressed in SalzWiki on a separate page, should be linked to these pages(Formatting tab: Internal Link).

Do you plan to write to a term in your article a new, not yet existing article then you can put a link to that term. This link will be displayed in red, while links to existing articles are displayed in blue. On the exact spelling of existing articles is to pay attention to(uppercase and lowercase letters are different), otherwise any existing articles will not be displayed.

Head of a page[edit]

<bibimport/>                 

''back to [[SalzWiki:Portal|SalzWiki]]           
<br>
[[Category:"Topic"]] [[Category:"Author"]] [[Category:"Editor"]] [[Category:"Status"]] 
<bibimport/> allows the citation from the bibliography
'''Author/s:''' [[user:Hschwarz|Hans-Jürgen Schwarz]] Please insert author names, separated by commas. With user:"Author Name" is referred to the author page
back to [[SalzWiki:Portal|SalzWiki]] go back one level, here to SalzWiki
[[Category:"Topic"]] [[Category:"Author"]] [[Category:"Editor"]] [[Category:"Status"]] Categories are very important and must be entered. The categories appear at the bottom of a page

Licenses[edit]

So far the following licenses are used for all files in the repository. To add a license, please insert the short form including the double curly brackets. Compare this to what you read in the text editing mode.

{{CC_BY-NC-SA_3.0}}

Template:CC BY-NC-SA 3.0


{{CC_BY-NC-ND_3.0}}

Template:CC BY-NC-ND 3.0

{{PD}}


PD

This file has been released into the public domain by the copyright holder, its copyright has expired, or it is ineligible for copyright.



Upload of Metadata[edit]

On the upload page you will find templates for the meta-data of the different files you want to upload.

  • Photos
  • Published articles / books etc.
  • Grey literature
  • Unpublished reports
  • Scientific primary data
  • DOI meta data

Please copy the appropriate template in the upload form and fill it out completely.

By uploading, you confirm that the uploaded document / file is free of rights of third parties respectively you have permission to use.

Uploading is in the repository. To embed a file (eg a photo) in SalzWiki, you need to know the name of the file in the repository.

Here as an example:

Appearance of the template:

Template:MetadataPhotoUpload

Master copy

{{MetadataPhotoUpload
|Description=
|Source =
|Date =
|Author/s =
|Permission=
|Notes=
}}


Infobox Salts[edit]

When you create a page of a new salt, please use the template "Infobox_Salt" for the table with the characteristics of a salt. If the Infobox_Salt does not include all the desired parameters you need, please contact Hans-Jürgen Schwarz and write your desired parameters on the talk page.

Appearance:

Templates{{{Footnote}}}
{{{photo}}}
Mineralogical name {{{mineralogical_Name}}}
Chemical name {{{chemical_Name}}}
Trivial name {{{Trivial_Name}}}
Chemical formula {{{chemical_Formula}}}
Other forms {{{Hydratforms}}}
Crystal system {{{Crystal_System}}}
Crystal structure {{{Crystal_Structure}}}
Deliquescence humidity 20°C {{{Deliqueszenzhumidity}}}
Solubility (g/l) at 20°C {{{Solubility}}}
Density (g/cm³) {{{Density}}}
Molar volume {{{MolVolume}}}
Molar weight {{{Molweight}}}
Transparency {{{Transparency}}}
Cleavage {{{Cleavage}}}
Crystal habit {{{Crystal_Habit}}}
Twinning {{{Twinning}}}
Phase transition {{{Phase_Transition}}}
Chemical behavior {{{chemBehavior}}}
Comments {{{Comments}}}
Crystal Optics
Refractive Indices {{{Refractive_Indices}}}
Birefringence {{{Birefringence}}}
Optical Orientation {{{optical_Orientation}}}
Pleochroism {{{Pleochroism}}}
Dispersion {{{Dispersion}}}
Used Literature
{{{Literature}}}



Kopiervorlage[edit]

{{Infobox_Salz
|Footnote=
|bild =
|mineralogischerName=
|chemischerName =
|Trivialname =
|chemFormel =
|Hydratformen =
|Kristallklasse =
|Deliqueszenzfeuchte =
|Löslichkeit=
|Dichte =
|Molvolumen =
|Molgewicht =
|Transparenz =
|Spaltbarkeit =
|Kristallhabitus =
|Zwillingsbildung =
|Brechungsindices =
|Doppelbrechung =
|optOrientierung=
|Pleochroismus =
|Dispersion =
|Phasenübergang =
|chemVerhalten =
|Bemerkungen =
}}


Tabelle mit Tabellenüberschrift[edit]

Formatangaben für eine Tabelle mit 3 Spalten und 3 Zeilen.
width= "52%" // gibt die Tabellenbreite in % der Seitenbreite an
align="left" // linksbündig, right = Rechtsbündig, center = zentriert
bgcolor = "#FFFF99"| // gibt die Hintergrundfarbe für das jeweilige Feld an
class="wikitable sortable" // sortiert alle Zeilen nach dem Spalteninhalt, beim Klicken
{|border="2" cellspacing="0" cellpadding="4" width="52%" align="left" class="wikitable sortable"
|+''Tabelle 1: Tabellenüberschrift''                    <!-- Tabellenüberschrift einfügen -->
|-
|bgcolor = "#FFFF99"|'''Spaltenüberschrift 1'''
|bgcolor = "#FFFF99"|'''Spaltenüberschrift 2'''
|bgcolor = "#FFFF99"|'''Spaltenüberschrift 3'''
|-
|bgcolor = "#FFFF99"|Zeileninhalt 1
|bgcolor = "#CCFFFF"|Text
|bgcolor = "#CCFFFF"|Text
|-
|bgcolor = "#FFFF99"|Zeileninhalt 2
|bgcolor = "#CCFFFF"|Text
|bgcolor = "#CCFFFF"|Text
|}

<br clear="all">                 <!-- bewirkt das der Text nicht um die Tabelle herumfließt -->
Tabelle 1: Tabellenüberschrift
Spaltenüberschrift 1 Spaltenüberschrift 2 Spaltenüberschrift 3
Zeileninhalt 1 Text Text
Zeileninhalt 2 Text Text


Einbinden Fotos[edit]

Zum Einbinden eines Fotos in eine Wiki-Seite benutzen Sie bitte diese Vorlage, fügen den Namen Ihrer Abbildung ein und passen die Formatierungsangaben, wie unten näher erläutert, an.

[[Image:vollständiger Name der Abbildung|thumb|center|300px|Abbildung 1: Text]] 


Image:"Dateiname" - der Name, unter dem die Abbildung im Repositorium vorliegt
thumb: Gibt an, dass man die Abbildung verkleinert einbindet, in einer Größe, die in px = Pixel angegeben wird
Zentriert: center
Linksbündig: left
Rechtsbündig: right

300px : die Bildbreite ist 300 Pixel

Text: Die Bildunterschrift wird hier eingegeben

Abbildung 1: Text

Einbinden Ogg-Videos[edit]

Da bisher nur Videos im Format "OGG" eingebunden werden können, sollten am besten auch nur Videos in diesem Format hochgeladen werden. Viele gängige Videoschnittprogramme bieten noch nicht das OGG-Format an. Mit dem kostenfreien VLC-Player kann aber recht einfach aus den üblichen Formaten ein Video im OGG-Format erstellt werden. Hierzu eine Kurzanleitung:

  • VLC Media Player starten (wenn nicht vorhanden, installieren)
  • Im Menue Medien "Konvertierung/Speichern"
  • Mit Hinzufügen die Datei auswählen, die konvertiert werden soll
  • auf "Konvertierung/Speichern" klicken
  • im neuen Menue die Zieldatei eingeben (z.B. derselbe Dateinamen mit Extension ".ogg")
  • bei Einstellungen das Profil: "Video - Theora+Vorbis(OGG)" auswählen
  • Start anklicken
  • das Video wird abgespielt und dabei umgewandelt


Videos im Format ".ogg" können direkt auf den Seiten angesehen werden. Hierzu geben Sie ein

[[Datei:Name des Videos.ogg]] 

wie z.B.

[[Datei:MgSO4_Kristallisationsvideo.ogg]] 

Detailangaben zur Breite etc. wie unter "Einbinden Fotos".

mit

[[Datei:MgSO4_Kristallisationsvideo.ogg|thumb|300px|Kristallisation von Magnesiumsulfat]]

wird das Video wie gezeigt dargestellt.

thumb|300px|Kristallisation von Magnesiumsulfat



DynamicPageList[edit]

Mit der "DynamicPageList kann man Zusammenstellungen von allem erzeugen, was mittels Kategorien verschlagwortet ist.

Z.B. werden alle Seiten zur Kategorie Gips mit folgenden Angaben aufgelistet:

<dpl>
category=Gips
</dpl>