Template:COAInformation

From Wikimedia Commons, the free media repository
(Redirected from Template:Heraldic-figure-fr)
Jump to navigation Jump to search
Coat of arms blazon of
Element of coat of arms elements
Blazon blazon
Blazon reference reference
Tincture
argentargent-dorazurecelestecarnationcendréegulespurpuresabletawnyvert
Description
additional description
Date date
Artist artist
Source source
Permission
(Reusing this file)
license for the artwork
Other versions other versions


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:COAInformation/doc.

Usage

{{COAInformation
 |blazon of      =
 |blazon         =
 |references     =
 |tincture       =
 |description    =
 |date           =
 |artist         =
 |imgen          =
 |source         =
 |permission     =
 |other versions =
 |other fields   =
}}

There is a gadget (quick JavaScript helper) for replacing the template: Information with template: COAInformation. You need only edit your common.js with adding the following line:

importScript('MediaWiki:Gadget-InformationToCOA.js');

Template parameters

ParameterDescriptionDefaultStatus
blazon of
blazon_of
Blazon of
blazon_of
blazon ofCity, territory or family name that coat of arms identifies and blazon describes. Use language templates like {{en}} or {{fr}} to mark the language of the text. It is also possible to use {{Coa-desc}}.emptyoptional
element
Element
elementElement of a coat of arms. Files on Commons may contain single reusable elements which can be used to complete a CoA. This field is used to describe such an element.emptyoptional
blazon
Blazon
blazonBlazon or literal description of the coat of arms. Use language templates like {{en}} or {{fr}} to mark language of the text.emptyoptional
references
References
referencesBook, web site or other source of the blazon, the description of the coat of arms. Use language templates like {{en}} or {{fr}} to mark language of the text.emptyoptional
tincture
Tincture
colors
Colors
TinctureTincture or precise heraldic color specification. Up to twelve colors are allowed, which have to be separated by slashes /. The standard 12 colors are: {{ Tincturea/A/o/b/B/c/C/g/p/s/t/v }}
argentargent-dorazurecelestecarnationcendréegulespurpuresabletawnyvert

You can use full names as written above or one-letter-abbreviations: a (argent), A (argent-d), o (or), b (azure), B (celeste), c (carnation), C (cendrée), g (gules), p (purpure), s (sable), t (tawny) and v (vert). See {{Tincture}} for more information.

Colors other than the above list have to be defined by their hexadecimal color value like #abc, or #2F4D5A. Unfortunately those values can not be defined by values separated by "/". The workaround is to call template {{Tincture}} and use "|" separators.
For example: "|tincture = {{ Tincture|gules|#00FF00|b }}" gives
gules#00FF00azure

emptyoptional
tinctureB
TinctureB
Tincture
Bajuvarian
Tincture to show the slightly different Bajuvarian colors, with the same notation as above. Example:
argentargent-dorazurecelestecarnationcendréegulespurpuresabletawnyvert

This parameter is mutually exclusive with the above tincture.
emptyoptional
description
Description
descriptionAdditional descriptionemptyoptional
date
Date
dateDate the first file was created. It may also provide the date of the original coat of arms design or approval, if this is known.emptyoptional
artist
Artist
author
Author
artistName of the artist who drew the graphics, with a link if possible. Use [[User:Example|Example]] or [[User:Example|John Doe]] if applicable, and may also provide the name of the original designer of the coat of arms if this information is available. Many people also identify here the projects they are part of, like {{Projet Blasons}} or {{THV}}.emptyrequired
imgen
Imgen
image
generation
Can be used for simple decriptions about the generation of that image. See Image generation below.
Can also be used like other fields to pass the more complicated {{Igen|+|....}}.
emptyoptional
source
Source
sourceSource of the COA, e.g. {{own}}, {{own based}}, {{own using}}.
  • If this is an SVG file build from other files you may use [also] {{Attrib}} or {{Derived from}}
emptyrequired
permission
Permission
permissionsee {{Information}}'s permission field. In most cases this is a new drawing of Coat of Arms and it only needs license from the artist who drew the graphics.emptyoptional
other versions
other_versions
Other versions
Other_versions
other versionsother versions of the file. You should use <gallery></gallery> brackets or {{Derivative versions}}
Or use {{#tag:gallery|image}}
emptyoptional
other fields
other_fields
Other fields
Other_fields
other fieldsuse it for e.g. {{ Igen+s = -COAInformation }} , with all the many other parameters;
instead of other fields={{Igen.. it can as well be written imgen={{Igen...
See {{Image generation}} for more information about its parametrizings.
emptyoptional
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

[[COM:IT|Infobox template]] customized for [[:en:Coat of Arms|Coats of Arms]]

Template parameters

ParameterDescriptionTypeStatus
artistartistArtistauthorAuthor

Default
empty
Example
empty
Auto value
empty
Stringrequired
blazonblazonBlazon

Blazon or literal description of the coat of arms

Default
empty
Example
empty
Auto value
empty
Stringoptional
blazon ofblazon ofblazon_ofBlazon ofblazon_of

City or family name that coat of arms identifies and blazon describes

Default
empty
Example
empty
Auto value
empty
Stringoptional
datedateDate

Date the first file was created. It may also provide the date of the original coat of arms design or approval, if this is known.

Default
empty
Example
empty
Auto value
empty
Unknownoptional
descriptiondescriptionDescription

Default
empty
Example
empty
Auto value
empty
Stringoptional
elementelementElement

Default
empty
Example
empty
Auto value
empty
Stringoptional
image<br>generationimgenImgen

Can be used for <u>simple</u> decriptions about the generation of that image. See [[#Image generation|Image generation]] below.<br> Can also be used like <tt>other fields</tt> to pass the more complicated <code>{{Igen|+|....}}</code>.

Default
empty
Example
empty
Auto value
empty
Unknownoptional
other fieldsother fieldsother_fieldsOther fieldsOther_fields

Default
empty
Example
empty
Auto value
empty
Stringoptional
other versionsother versionsother_versionsOther versionsOther_versions

Default
empty
Example
empty
Auto value
empty
Stringoptional
permissionpermissionPermission

Default
empty
Example
empty
Auto value
empty
Stringoptional
referencesreferencesReferences

Book, web site or other source of the blazon

Default
empty
Example
empty
Auto value
empty
Stringoptional
sourcesourceSource

Default
empty
Example
empty
Auto value
empty
Stringrequired
TincturetinctureTincturecolorsColors

Default
empty
Example
empty
Auto value
empty
Stringoptional
Tincture<br>BajuvariantinctureBTinctureB

Default
empty
Example
empty
Auto value
empty
Stringoptional

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:
{{Artwork}}, {{I18n/COA}}

Most fields use translations of {{artwork}}, "Coat of arms of", "Blazon", "Reference" and "Tincture" are translated at {{I18n/COA}}

Image generation

Every vector or raster graphic should be provided by a statement about its development. This can be done with the template Igen as a value of other fields, or in a very short form with an argument for imgen. This argument can be

  • one value: the W3C error count, 0 for valid Inkscape SVG or any other number for invalid Inkscape SVG
  • two values separated by a slash: the first and the second parameter for template Image generation, e.g.
  • A/0 for valid Adobe   (I/0 or /12 can be written simply as one value 0 or 12)
  • D/3 for CorelDraw, invalid due to 3 errors
  • GIMP/n for a raster image created with GIMP
  • PB for the {{Projet Blasons}} box with 0 W3C-errors
  • other different codes, e.g. JK, ML, Mb, GL, S0, S1 (expandable)
  • when more than one or two parameters are needed, use the standard form |imgen={{Igen|+|...