Template:Kulinarischeserbe.ch/sandbox
Appearance
This is the template sandbox page for Template:Kulinarischeserbe.ch (diff). See also the companion subpage for test cases. |
This template serves to provide uniformly formatted links to articles in the Culinary Heritage of Switzerland database. It is based on Template:HDS.
Usage
[edit]{{Kulinarischeserbe.ch|ID|AlternateName|author=|date=}}
ID, a required parameter, is the ID number of the article in the database. The ID number is apparent in the URL of the article, for example https://www.patrimoineculinaire.ch/Produkt/x/343.
The following parameters are optional:
- AlternateName: If used, this parameter must immediately follow the ID. When used, this name will appear at the beginning of the link. Otherwise, the article name will appear.
- author=: This parameter can be used to supply the name of the author of the article, if it is known. The articles of the Culinary Heritage of Switzerland database do not currently mention their author.
- date=:When supplied with the date of the HDS article in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17, it appends version information to the reference. The date text must not be wikilinked. The articles of the Culinary Heritage of Switzerland database do not currently mention the date of their creation.