Template:BIC

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Icone chateau fort.svg

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

Documentation icon Documentationviewedithistorypurge

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.Unknown
Unknown
optional
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

ParameterDescriptionTypeStatus
1

Reference number in the register BIC or equivalent.

Default
<span lang="en">Unknown</span><div style="display: none;">Unknown </div>
Example
empty
Auto value
empty
Unknownoptional
idurl

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

Default
see [[Module:BIC/doc]]
Example
empty
Auto value
empty
Unknownoptional
link

Code of the database to link; currently possible values:

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

    Default
    see [[Module:BIC/doc]]
    Example
    empty
    Auto value
    empty
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]]
Example
empty
Auto value
empty
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}}
Icone chateau fort.svg

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}}
Icone chateau fort.svg

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}}
Icone chateau fort.svg

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}}
Icone chateau fort.svg

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.