Template:Runeberg/doc
This is a documentation subpage for Template:Runeberg. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite book}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template uses Lua: |
This is a template to generate links to the Projekt Runeberg. This template should be used exclusively for BOOKS.
Process
[edit]- Go to the Project Runeberg web site.
- Find the book/work you want to link via the template.
- From the url, note the
filename
(subdirectory name) to link to an entire work. - Also note the
htmlno
(e.g. forruneberg.org/foobar/004.html
then "004
") if linking to a specific chapter. - Edit Wikipedia page and add in the {{Runeberg}} template, setting the
filename
to the correct url directory name, andhtmlno
to the applicable numeric of the html.
Basic usage
[edit]{{Runeberg |filename= |name=}}
To cite a book.
{{Runeberg |filename= |htmlno= |name=}}
To cite any html page (chapter, story, article) from the book, using the corresponding numbered on the html file.
Examples
[edit]- Citing a book
{{Runeberg |filename=nf |name=Nordisk familjebok}}
- Citing a chapter in a book
- Asbjornsen and Moe. "Askeladden som fikk prinsessen til å løgste seg". Norske Folkeeventyr – via Project Runeberg.
{{Runeberg |filename=folkeven |htmlno=035 |chapter=Askeladden som fikk prinsessen til å løgste seg |name=Norske Folkeeventyr |author=[[Asbjornsen and Moe]]}}
Instead of specifying htmlno you can override it by specifying full chapterurl
Parameters
[edit]Do not use all these parameters for any one book. The list is long to cover a wide range of books. Only use those parameters that convey essential or notable information about the subject. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.
Parameter | Explanation |
---|---|
icon
|
Set icon=none to suppress icon. Set equal to 'bullet' to use bullet instead.
|
marc
|
MARC record number to Scandinavian library catalog databases. |
country
|
Used in conjunction with marc above. Set "marc=se" (Sweden) if MARC link is to Swedish Royal Library system; Set to "marc=no" if linked to the Norwegian National Library system.
|
ref
|
|
last
|
|
year
|
|
author
|
|
first
|
|
last
|
|
authorlink
|
|
origdate
|
|
origyear
|
|
chapter
|
|
format
|
|
others
|
|
edition
|
|
series
|
|
language
|
|
publisher
|
|
pages
|
|
doi
|
|
id
|
|
isbn
|
ISBN Number |
oclc
|
|
access-date
|
|
quote
|
Tracking category
[edit]