Templates

From Saltwiki

<accesscontrol>autor</accesscontrol> Here you can find all of the templates previously made available for authors. If you would like additional templates, please contact the administrator at the Hornemann Institute.


Classification of an article in SaltWiki

Each article tackles a self-contained subject. Explanations of terms can generally be found in the glossary. A Wiki article concentrates on the actual content and is linked to all subjects that are required or are important for understanding the article.
The classification could look as follows (for example, see the article on render/mortar): Each page starts with the page head, as proposed below.

== Abstract ==
== Introduction ==
== Main chapter ==
=== Sub-chapter ===
== Web links ==
== Literature ==

<bibprint/> : to use 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 headings, then the software will automatically create a table of contents inserted before the first heading.

Head of a page

<bibimport/>                 
Author/s: [[user:Hschwarz|Hans-Jürgen Schwarz]]

''back to [[SalzWiki:Portal|SalzWiki]]           
<br>
[[Category:"Topic"]] [[Category:"Author"]] [[Category:"Editor"]] [[Category:"Status"]] 
<bibimport/> Allows quotation from the bibliography
'''Author/s:''' [[user:Hschwarz|Hans-Jürgen Schwarz]] Insert author name here, separated by commas in the case of several. [[User:"Author name"]] links to the author page
back to [[SalzWiki:Portal|SalzWiki]] Optional: go back one level, here to the SaltWiki site
[[Category:"Topic"]] [[Category:"Author"]] [[Category:"Editor"]] [[Category:"Status"]] Categories are very important and must be entered. The categories always appear at the end of a page .


Licences

In order to insert a licence, you only need to state the short form, including the curly brackets. If you need another licence please contact the admin on his talk page .

Creative-Commons-Licence: CC_BY-NC-SA_3.0

The template: {{CC-by-nc-sa}}

Name
NoCommercial
SA

This image or file is licensed under the Creative-Commons-License Attribution - Noncommercial - Share Alike Germany in the version 3.0.

You are free:

  • to Share — to copy, distribute and transmit the work
  • to Remix — to adapt the work


Under the following conditions:

  • Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • Noncommercial — You may not use this work for commercial purposes.
  • Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one

Notice — For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to the Commons Deed.


Creative-Commons-Licence: CC_BY-NC-ND_3.0

The template:{{CC-by-nc-nd}}

Name
NoCommercial
SA

This image or file is licensed under the Creative-Commons-License Attribution - Noncommercial - No Derivative Works Germany in the version 3.0.

You are free:

  • to Share — to copy, distribute and transmit the work


Under the following conditions:

  • Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • Noncommercial — You may not use this work for commercial purposes.
  • No Derivative Works — You may not alter, transform, or build upon this work.

Notice — For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to the Commons Deed.


GNU

The template:{{GNU}}


GNU

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.


Public Domain Licence

The template:{{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.



Uploading metadata

The following templates are available for metadata for different files that you may want to upload (there is also a link to them on the upload page)

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

Please copy the relevant template into the upload form and complete it in full

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 SaltWiki, you need to know the name of the file in the repository.

Here as an example:

Call up the template using:

{{MetadataPhoto_upload}}

Appearance of the template for photos:

Description {{{description}}}
Source {{{source}}}
Date {{{date}}}
Author/s {{{author}}}
Permission {{{permission}}}
Notes {{{notes}}}


Master copy

{{MetadataPhoto_upload
|description=
|source=
|date=
|author=
|permission=
|notes=
}}

Salts information box: Infobox Salts

If you want to create the page of a new salt, please use this template for the characteristics. Should the salts information box not have all of the required parameters that you need, please contact the adminor write your required parameter on the discussion page.

Appearance of the template

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


Master copy

{{Infobox_Salt
|Footnote             =
|photo                =  [[Image:"file name"|300px]]
|mineralogical_Name   =
|chemical_Name        =
|Trivial_Name         =
|chemicalFormula      =
|Hydratforms          =
|Crystal_Class        =
|Deliqueszenzhumidity =
|Solubility           =
|Density              =
|MolVolume            =
|Molweight            =
|Transparency         =
|Cleavage             =
|Crystal_Habit        =
|Twinning             =
|Refractive_Indices   =
|Birefringence        =
|optical_Orientation  =
|Pleochroism          =
|Dispersion           =
|Phase_Transition     =
|chemBehavior         =
|Comments             =
}}


Table with table heading

In order to create a table, you can either use the Editor button or use the following template:

Table 1: Table heading
Column heading 1 Column heading 2 Column heading 3
row heading 1 Text Text
row heading 2 Text Text


Format details for a table with 3 columns and 3 rows
width= "52%" // gives the table width as a % of the page width
align="left" // flush left, right = flush right, center = centred
bgcolor = "#F0F0F0" // gives the background colour for the respective field
class="wikitable sortable" // Click for all rows sorted by column content

Master copy

{|border="2" cellspacing="0" cellpadding="4" width="52%" align="left" class="wikitable sortable"
|+''Table 1: Table heading''                    <!-- insert Table heading -->
|-
|bgcolor = "#F0F0F0"|'''Column heading 1'''
|bgcolor = "#F0F0F0"|'''Column heading 2'''
|bgcolor = "#F0F0F0"|'''Column heading 3'''
|-
|bgcolor = "#F7F7F7"|row heading 1
|bgcolor = "#FFFFEO"|Text
|bgcolor = "#FFFFEO"|Text
|-
|bgcolor = "#F7F7F7"|row heading 2
|bgcolor = "#FFFFEO"|Text
|bgcolor = "#FFFFEO"|Text
|}
<br clear="all">                 <!-- has the effect that the text does not flow around the table -->

Yellow Notice

If you wish to show a notice in a yellow frame , please use the template

 {{Ynotice}}

It looks like:

{{{text}}}


Master copy


{{Ynotice|text= YOUR TEXT}}

Status of an article

Article to be written

Pen-64x64.png Authors Wanted! This article is waiting to be written. Pen-64x64.png
Please have first a look to the German SalzWiki. If there is an article on that topic you may start with an English version of it.


Please use the master copy:

{{ArticleToDo}}

Article in Progress

Error creating thumbnail: File missing
This article will be released soon.
Error creating thumbnail: File missing

Please use the master copy:

{{UnderConstruction}}

Embedding photos in a text

To embed a photo in a Wiki page, please use this template, insert the name of your illustration and amend the formatting details, as explained in more detail below.

[[Image:''full name of the photo''|thumb|center|300px|caption]] 
  • thumb: States that the illustration is embedded in a reduced size, given in px = Pixelsl
  • center: center
  • left: left
  • right: right
  • 300px : The image width is 300 pixels; can be amended to meet your own requirements
  • caption: The illustration caption is entered here
caption

Embedding videos

As previously only videos in the format "OGG" were able to be embedded, only videos in this format should be uploaded.

Videos in the ".ogg" format can be viewed directly on the pages. To do this, enter the following:

[[image:"name of the video".ogg]] 

e.g.

[[image:MgSO4_Kristallisationsvideo.ogg]] 

Detailed information on the width, etc., as under "Embedding photos" using, as an example

with

[[image:MgSO4_Kristallisationsvideo.ogg|thumb|300px|Figure 1:Crystallisation of Magnesiumsulfat]]

the video will be shown as follows.

Error creating thumbnail:
Figure 1: Crystallisation of Magnesiumsulfat



Weblinks

<references/>  //all "footnotes" will be shown

DynamicPageList

Using the "DynamicPageList", it is possible to generate compilations of everything that is tagged using categories, e.g. all pages in the category "Niter" are listed with the following details:

<dpl>
  category = Niter
  format   = ,\n* [[%PAGE%]],,
</dpl>

The list (if input available):

Create a new list/table based on tables in different articles

With the extension DynamicPageList it is also possible to create lists from tables based on the same template according to the variables used there.

Here's an example: With the entries in the "info box" of the nitrate salts create a new, sortable table with the columns birefringence, refractive indices, molar volume, solubility and deliqueszenzhumidity.

The following DPL statements :

<dpl>
category        = Nitrat&Salt
include         = {Infobox_Salt}:birefringence:refractive_indices:molvolume:solubility :deliqueszenzhumidity
table           = class="wikitable sortable" ,birefringence,refractive_indices,molvolume,solubility,deliqueszenzhumidity
tablerow        =%%,bgcolor=lightyellow|%%,bgcolor=lightyellow|%%,bgcolor=lightyellow align=center|%%,bgcolor=lightyellow|%%
suppresserrors  = true 
</dpl>

You will get the resulting table (if input available):

Extension:DynamicPageList (DPL), version 3.3.2: Warning: No results.