commons.wikimedia.org

Template:COAInformation - Wikimedia Commons

From Wikimedia Commons, the free media repository

Coat of armsblazon of
Element of coat of armselements
Ecclesiastical coat of armsecclesial
Blazonblazon
Blazon referencereference
Tincture (GN)

argentargent-dorazurecélestecarnationcendréegulespurpuresabletennévert

Date date
Object history additional description, provenience
Artistartist
Source source
Permission
(Reusing this file)
license for the artwork
Other versions other versions

⚠

Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.

Afterwards, changes can initially be done at and tested with Template:COAInformation/sandbox: [edit].

  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.
  • This page is template-protected from editing to prevent vandalism. Only template editors and administrators can edit it. Get their attention by placing {{Edit protected}} at the talk page.

The template automatically sets the following categories: several; note Module:IgenCoa#Table_of_the_predefinitions among others[clarification needed]

Usage

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

Template parameters

ParameterDescriptionDefaultStatus
blazon of

Blazon of
blazon_of
Blazon_of

blazon ofCity, territory or family name which this coat of arms identifies (and that the blazon describes). Please use an appropriate language template ({{En}} (for English), {{Fr}} (for French), etc) to indicate the language of the text. You may also use {{Coa-desc}}.emptyoptional
element

Element
ecclesial
Ecclesial

element

ecclesial[clarification needed]

Element 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.
Ecclesial coat of arms (example) [clarification needed]
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

TinctureTincture or precise heraldic color specification. Up to fourteen 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-dorazurecélestecarnationcendréegulespurpuresabletennévert

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

Tincture-ss
ss

other tincture palettese.g. BY, BW, BB, AG, NW ... see {{Tincture}}
to show the different other color palettes, with the same notation as above.

Examples: tincture = a/A/o/b/B/c/C/g/n/p/s/t/v | ss = BY
or tincture = a/A/o/b/B/c/C/g/n/p/s/t/v/ss=BY
or tincture = a/A/o/b/B/c/C/g/n/p/s/t/v/BY

or tincture = a/A/o/BY/b/B/c/C/g/n/p/s/t/v
maintenance categoryoptional
description

Description

descriptionProvenience; history; additional 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.[clarification needed] Use always the ISO format (yyyy-mm-dd)emptyoptional
artist

Artist
author
Author

artistName of the artist who drew the graphics, with a link if possible. Use {{U|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}}.[clarification needed]emptyoptional
image

Image

image
generation
Can be used for simple decriptions about the generation of that image. See Image generation below.
Can also be used like 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
versions

Versions

other versionsother versions of the file. You should use
<gallery></gallery> tags or {{#tag:gallery|image}} or {{G}}
or {{Derivative versions}}
emptyoptional
fields

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 image={{Igen...[clarification needed]
See {{Image generation}} for more information about its parametrizings.
emptyoptional
wikidatawikidataa wikidata ID can be passedemptyoptional
wikidata_catbooleanset "false" or "no" or "0" to avoid wikidata-related categorizing;
set "true" or "yes" or "1" to enable wikidata-related categorizing.[clarification needed]
falseoptional
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.


Wikipedia's help about TemplateDataCommons-specific information

Infobox template customized for coats of arms

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
artistartist Artist author Author
Stringoptional
blazonblazon Blazon

Blazon or literal description of the coat of arms

Stringoptional
blazon ofblazon of Blazon of blazon_of Blazon_of

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

Stringoptional
datedate Date

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.<sup>[''[[:en:Wikipedia:Please_clarify|clarification needed]]'']</sup> Use always the ISO format (<var>yyyy</var>-<var>mm</var>-<var>dd</var>)

Dateoptional
descriptiondescription Description
Stringoptional
element<br><br>ecclesial<sup>[''[[:en:Wikipedia:Please_clarify|clarification needed]]'']</sup>element Element ecclesial Ecclesial
Stringoptional
other fieldsfields Fields
Stringoptional
image<br>generationimage Image

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 <code>fields</code> to pass the more complicated <code>{{Igen|+|....}}</code>.

Unknownoptional
permissionpermission Permission
Stringoptional
referencesreferences References

Book, web site or other source of the blazon

Stringoptional
sourcesource Source
Stringrequired
Tincturetincture Tincture
Default
[[:Category:Tinctures (Undefined)|maintenance<br>category]]
Stringoptional
other tincture palettestincture-ss Tincture-ss ss
Default
[[:Category:Tinctures (Undefined)|maintenance category]]
Stringoptional
other versionsversions Versions
Stringoptional
wikidatawikidata
Stringoptional
booleanwikidata_cat
Default
false
Booleanoptional

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}}

See also

== Localization ==

Further information

Conversion to COAInformation is done with this script. It offers the changes in edit mode, and it can be continued by clicking the icon above. A validity check will be performed, and it is recommended to remove |image= from previous validations before clicking the icon.

Possible conflict

The template {{Cite book}} uses also the parameters |author= and |date=. As a workaround, the script will work with these parameters only when they are at the start of a line; only spaces may exist, e.g. ↵|date= is equivalent to ↵ | date = . As a consequence, either one of these two parameters not at a new line[clarification needed] is ignored by the script!

Tincture

When no tincture is specified, the file is categorized to the maintenance Category:Tinctures not specified.
For files where no maintenance is useful, specify tincture=? to use another categorization.[clarification needed]

Image generation

The best way[clarification needed], very sure and comfortable, is to use the Module:IgenCoa to specify the parameters; but a simple string of text can be passed as well.

For a once predefined user-specific entry always correct values are generated automatically[clarification needed]; the generated parameter values for Image generation are:

1 the tool, modifyable with tool~
2 the W3C error count
3 the topic: c, ce, eh
4 the code for the Graphic Lab
5 a possible code for vs
gc a name for a CoA Lab subcategory
sd a 2-byte-string for Valid SVG subcategory
U Username for link
u Username w/o link
su subcategory - free choice, instead of sd
ca category - any category, with or w/o brackets
... positional and named parameters may follow as needed

Spaces in parameters are to be replaced by underscores.


It can be written either
   ■ image = {{Image generation|Im|6|+|gf|s=eh}}
   ■ image = Im/6/eh/gf
   ■ image = Xx when the above parameters are predefined with the key "xx"

Each parameter of predefined keys can be modified for each file[clarification needed]