This page is semi-protected against editing.

Template:BIC

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This is a photo of a monument indexed in the Spanish heritage register of Bienes de Interés Cultural under the reference unknown.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:BIC/doc.

Template to mark Bienes de Interés Cultural of the Spanish heritage, or other buildings registered at regional level, and to link to more information.

The template automatically sets the following categories: Category:Cultural heritage monuments in Spain with known IDs

Usage

{{BIC |1= |link= |idurl= |type= }}

Template parameters

ParameterDescriptionDefaultStatus
1Reference number in the register BIC or equivalent.Unknownoptional
linkCode of the database to link; currently possible values: see Module:BIC/docoptional
idurlId number in the URL of the webpage to link from the databasesee Module:BIC/docoptional
typeType or sub-category: M monument (default), CH historical area, JH historical garden, SH historical place, ZA archaeological zone, BC Bien Catalogadosee Module:BIC/docoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Template to mark [[:en:Bien de Interés Cultural|Bienes de Interés Cultural]] of the Spanish heritage, or other buildings registered at regional level, and to link to more information.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1

Reference number in the register BIC or equivalent.

Default
Unknown
Unknownoptional
idurl

Id number in the URL of the webpage to link from the database

Default
see [[Module:BIC/doc]]
Unknownoptional
link

Code of the database to link; currently possible values:

  • <code>AR</code>: [http://www.sipca.es/ Sistema de Información de Patrimonio Cultural Aragonés]
  • <code>CT</code>: [http://cultura.gencat.cat/mapinvarquit/ Base de dades Gaudí, patrimoni.gencat]
  • <code>VC</code>: [http://www.cult.gva.es/dgpa/bics/bics.asp D.G. Patrimonio Cultural Valenciano]

    Default
    see [[Module:BIC/doc]]
Unknownoptional
type

Type or sub-category: M monument (default), CH historical area, JH historical garden, SH historical place, ZA archaeological zone, BC Bien Catalogado

Default
see [[Module:BIC/doc]]
Unknownoptional

Additional information

The template is intended to be used in the following namespaces: unknown

The template is intended to be used by the following user groups: all users

Relies on:
Module:BIC

Messages translated on page Module:BIC/lang

Examples

  • {{BIC|RI-51-0000412}}

This is a photo of a monument indexed in the Spanish heritage register of Bienes de Interés Cultural under the reference RI-51-0000412.


  • {{BIC|RI-53-0000350|type=CH}}

This is a photo of a historical area indexed in the Spanish heritage register of Bienes de Interés Cultural under the reference RI-53-0000350.


  • {{BIC|IPA-5858}}

This is a photo of a building indexed in the Catalan heritage register as Bé Cultural d'Interès Local (BCIL) under the reference IPA-5858.


  • {{BIC|46.25.131-010|link=vc|idurl=2511|type=BC}}

This is a photo of a building indexed in the Valencian heritage register as Bé de Rellevància Local (BRL) under the reference 46.25.131-010.