Jump to content

Template:KONS/doc

From Wikipedia, the free encyclopedia

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:

1844

{{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=14 November 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 14 November 2024.

{{KONS|num=1844|desc=Old fort of Ljubuški, the architectural ensemble|access-date=14 November 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 14 November 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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:KONS in articles based on its TemplateData.

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

Template parameters

ParameterDescriptionTypeStatus
numnum

the 'list entry number' from the database

Numberrequired
descdesc

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.

Default
Details from listed building database
Stringsuggested
categorycategory

to display the Category of a listed building: enter as 'II', 'I' or '0', only appears if desc is also used

Stringoptional
authorauthor

defaults to 'Commission to Preserve National Monuments of Bosnia and Herzegovina', but can be changed to another name if desired

Default
Commission to Preserve National Monuments of Bosnia and Herzegovina
Stringoptional
author-linkauthor-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

Default
Commission to Preserve National Monuments of Bosnia and Herzegovina
Stringoptional
datedate

the date provided by Commission to Preserve National Monuments of Bosnia and Herzegovina; can be a full or partial date

Stringoptional
yearyear

the year provided by Commission to Preserve National Monuments of Bosnia and Herzegovina; use of date parameter is recommended

Stringoptional
orig-dateorig-date origyear orig-year

the year information was first provided by Historic England; only appears if date or year parameter is also used

Stringoptional
access-dateaccess-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

Auto value
{{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
modemode

defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}}

Stringoptional
postscriptpostscript

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

Stringoptional
fewer-linksfewer-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

Stringoptional
refref

defaults to author and the Commission to Preserve National Monuments of Bosnia and Herzegovina list number, but can be set to any value

Stringoptional
shortshort

use 'yes' with just the num parameter to produce an external link with just the list number shown; suppresses the display of other parameters

Stringoptional

Tracking categories

[edit]

See also

[edit]