Template:KONS/doc
![]() | This is a documentation subpage for Template:KONS. 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 web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template is used to provide a link to the Commission to Preserve National Monuments of Bosnia and Herzegovina (KONS) database (http://aplikacija.kons.gov.ba/kons/public/nacionalnispomenici)
for a specified listed heritage monuments Bosnia and Herzegovina.
For listed heritage sits, the database records all those in Bosnia and Herzegovina, and is updated as changes to entries are made, and new listings are added.
The database also contains the following registered historic locations or sites in Bosnia and Herzegovina:
- Movable cultural property / heritage
- Immovable property / heritage
- Historical monuments
- Protected site
- Cultural monuments
- World Heritage sites
Usage
[edit]Required parameter
[edit]- num: the 'list entry number' from the database .
Optional parameters
[edit]Additional information for the title:
- desc: additional text description such as the name of the building or site; useful if there are several listed objects in an article. If this parameter is not used, default text 'Details from listed building database' will be displayed instead.
- category: to display the Category of a listed building; enter as II, I or 0. Only appears if
|desc=
is also used. - author: defaults to KONS, but can be changed to another name if desired
- author-link: defaults to KONS, but is not set by default if author is set to something other than KONS
- date: the date provided by KONS; can be a full or partial date
- year: the year provided by KONS; use of
|date=
is recommended, see Template:Cite web/doc#Date for proper usage - orig-date: the year information was first provided by KONS; only appears if
|date=
or|year=
is also used - access-date: the date a Wikipedia editor retrieved information from the KONS list database.
- mode: defaults to
|mode=cs1
; set to|mode=cs2
to provide consistency with citation style 2, as produced by{{citation}}
- postscript: controls the closing punctuation for the citation; defaults to a period (
.
); for no terminating punctuation, set to|postscript=none
, however using|mode=cs2
does this automatically - fewer-links: use
|fewer-links=yes
to remove repeated wikilinks where the template is used more than once in an article - ref: defaults to KONS List Number, but can be reset to any value
- short: use
|short=yes
with|num=
to produce an external link with just the list number shown;|short=yes
suppresses the display of other parameters.
All {{Cite web}} parameters are available.
Examples
[edit]{{KONS|num=1844|short=yes}}
displays as:
{{KONS|num=1844}}
displays as:
- KONS BiH. "Details from listed building database (1844)". Commission to Preserve National Monuments of Bosnia and Herzegovina.
{{KONS|num=780|desc=Xy yx| category=0 monument|fewer-links=yes}}
displays as:
KONS BiH. "Xy yx (Category 0 monument) (780)". Commission to Preserve National Monuments of Bosnia and Herzegovina.
{{KONS|num=1844|desc=Old fort of Ljubuški, the architectural ensemble}}
displays as:
- KONS BiH. "Old fort of Ljubuški, the architectural ensemble (1844)". Commission to Preserve National Monuments of Bosnia and Herzegovina.
{{KONS|num=1844|desc=Old fort of Ljubuški, the architectural ensemble|category=I|access-date=30 August 2024}}
displays as:
- KONS BiH. "Old fort of Ljubuški, the architectural ensemble (Category I) (1844)". Commission to Preserve National Monuments of Bosnia and Herzegovina. Retrieved 30 August 2024.
{{KONS|num=1844|desc=Old fort of Ljubuški, the architectural ensemble|access-date=30 August 2024|mode=cs2}}
displays as:
- KONS BiH, "Old fort of Ljubuški, the architectural ensemble (1844)", Commission to Preserve National Monuments of Bosnia and Herzegovina, retrieved 30 August 2024
If a short citation is required (not to be confused with |short=
) and one of the {{harv}} templates or {{sfn}} is used then {{harv|KONS|KONS list entry number}}
will link the short reference to the long one. For example, {{harv|KONS|1844}}
or {{sfn|KONS|1844}}
produces (KONS 1844) or sfn [1] that links to the 'Old fort of Ljubuški, the architectural ensemble' example above. This is different from the standard use of the {{harv}} that links using the parameters 'author' and 'date' or 'year'.
Template data
[edit]TemplateData for KONS
Provides an external link to an entry on Commission to Preserve National Monuments of Bosnia and Herzegovina List (KONS) database of inscribed heritage monuments
Parameter | Description | Type | Status | |
---|---|---|---|---|
num | num | the 'list entry number' from the database | Number | required |
desc | desc | Additional text description, such as the name of the building or site. Useful if there are several listed objects in an article. If this parameter is not used, default text 'Details from listed building database' will be displayed instead.
| String | suggested |
category | category | to display the Category of a listed building: enter as 'II', 'I' or '0', only appears if desc is also used | String | optional |
author | author | defaults to 'Commission to Preserve National Monuments of Bosnia and Herzegovina', but can be changed to another name if desired
| String | optional |
author-link | author-link | defaults to 'Commission to Preserve National Monuments of Bosnia and Herzegovina', but is not set by default if author is set to something other than Commission to Preserve National Monuments of Bosnia and Herzegovina
| String | optional |
date | date | the date provided by Commission to Preserve National Monuments of Bosnia and Herzegovina; can be a full or partial date | String | optional |
year | year | the year provided by Commission to Preserve National Monuments of Bosnia and Herzegovina; use of date parameter is recommended | String | optional |
orig-date | orig-date origyear orig-year | the year information was first provided by Historic England; only appears if date or year parameter is also used | String | optional |
access-date | access-date accessdate | the date a Wikipedia editor retrieved and/or verified information from the Commission to Preserve National Monuments of Bosnia and Herzegovina list database
| String | suggested |
mode | mode | defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}} | String | optional |
postscript | postscript | controls the closing punctuation for the citation; defaults to a period (.); for no terminating punctuation set to none, however using mode=cs2 does this automatically | String | optional |
fewer-links | fewer-links | set to 'yes' to remove repeated wikilinks to 'Commission to Preserve National Monuments of Bosnia and Herzegovina', where the template is used more than once in an article | String | optional |
ref | ref | defaults to author and the Commission to Preserve National Monuments of Bosnia and Herzegovina list number, but can be set to any value | String | optional |
short | short | use 'yes' with just the num parameter to produce an external link with just the list number shown; suppresses the display of other parameters | String | optional |