Template:Gartenlaube
This template creates the book box for pages and illustrations of Die Gartenlaube.
Original versions of this template were written by Joergens.mi (talk · contribs).
Usage
{{Gartenlaube
|year =
|type =
|page =
|previous_page =
|next_page =
|is_first_page =
|is_last_page =
|source =
|permission =
|caption =
|file_extension =
|padding =
|author =
}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
year | publication year | The year of publication. | empty | required |
type | type of file | Whether the file is a page or an illustration. Must be either of page or illustration . | empty | required |
page | page number | The page number of the current file (page or illustration). Includes the letter prefix if it exists (p 001 for example). | empty | required |
previous_page | previous page number | The page number of the previous page. Note that in some cases, page numbers can contain a letter (such as 438b for example. If unspecified, the previous page number will be computed from the page parameter. | page - 1 | optional |
next_page | next page number | The page number of the next page. Note that in some cases, page numbers can contain a letter (such as 438b for example. If unspecified, the previous page number will be computed from the page parameter. | page + 1 | optional |
is_first_page | is first page | Whether this is the first page of the book ("p 001" or "p 1" in most cases). | 0 | optional |
is_last_page | is last page | Whether this is the last page of the book. | 0 | optional |
source | source | Override source defined in {{Gartenlaube/source}}. | empty | optional |
permission | permission | Override source defined in {{Gartenlaube/permission}}. | empty | optional |
caption | caption | The caption of the illustration, if applicable. | empty | optional |
file_extension | caption | The file extension of the files. By default it is 'jpg' and does not need to be specified. In some cases it can be 'JPG'. | jpg | optional |
padding | padding | The number of digits of the page numbers in the file names. In most cases it's 3, in rare occasions it's 4. | 3 | optional |
author | author | Used if author should be anything other than {{Various}} | {{Various}} | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template creates the book box for pages and illustrations of [[:w:Die Gartenlaube|Die Gartenlaube]].<br><span style="font-weight:normal">Original versions of this template were written by [[:User:Joergens.mi|Joergens.mi]] ([[:User talk:Joergens.mi|talk]]<span style="white-space:nowrap"> <span style="font-weight:bold;">·</span></span> [[:Special:Contributions/Joergens.mi|contribs]]).</span>
|
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Relies on: