From Wikimedia Commons, the free media repository
(Redirected from Template:FIAV1)
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Tincture/doc.

The template is used to display vexillological and heraldic colors, as in coats of arms and in flags.


{{Tincture |1= }}

This template can handle any mixture of the whole tincture names and their single-letter abbreviation codes.
The colors are provided each one with unnamed parameters, or all of them in the first unnamed parameter, separated by slashes.
The color sequence should be: first silver and gold, then the other color letters in alphabetic order.

Usage: e.g. {{ Tinctureabgv }} 0or0 {{ Tinctureargentazuregulesvert }}, 00 or0 {{ Tincturea/b/g/v }} 0or0 {{ Tinctureargent/azure/gules/vert }}.
Only the slash-separated format can be used from {{COAInformation}} and {{File generation description}} e.g. |Tincture=a/b/g/v, and from {{Image generation}} |C=a/b/g/v.
Note: An empty parameter (e.g. 2 pipes or slashes) terminates the generation of the boxes.

Template parameters

1color 1The first color to display, or all colors separated by / (slashes).emptyrequired
2color 2The second color to display, and so on, any number of colorsemptyoptional
sscolor shadeThe color style to be used. Several special color shades are supported .0optional
pfpostfixpossible postfixing of each box, e.g. <br> for vertical, or pipe(s) for table elementsemptyoptional
alignalignmentThe alignment of the color boxes: “left”, “right” or “center”.leftoptional
+Information fieldIf the value is “+” (i.e. “|+=+”), the output is wrapped in {{Information field}}.emptyoptional
catcategoriesOverride standard categorization. More details on categorization.emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified


{{Tincture|a / o / b / g / p / s / v}}

renders as:


See also


Each one of these colors can be specified by a one-letter short code (e.g. "A"), or by its standardized name (e.g. "argent-d").
Tooltip: The hexadecimal rgb color value is displayed when the cursor is moved over the colored field

a argent  
A argent-d   [“argent dark”]
o or
b azure   [for “bleu” or “blue”]
B céleste   [for “bleu-céleste”]
c carnation
C cendrée
g gules
n naranja
p purpure
s sable
t tawny
v vert
x invisible   [no tincture] (transparent)

Other common tinctures like orange, sanguine, murrey, brunâtre are not yet supported.
But for test reasons it is also possible to use it with additional colors, instead of the color letter the hexadecimal color value can be used, e.g.

#abc (3-characters-short-notation does not work with the current MS-IE!),   or
#2F4D5A. In the cases of hex color codes the parameter for text color, e.g. tc=F0F, allows to use a text color more different from the background color.
Any other parameter value causes maintenance categorization and an error message, e.g {{ Tincture32a }} gives the error message
Unknown tincture code: "32a"
The tincture nomination should always be: first azure and or, then all the other colors in alphabetic sequence:
a - A - o — b - B - c - C - g - n - p - s - t - v

Special color shades

In the stand-alone case it is also possible to define the special color shade with e.g. {{ Tinctureabgss = NW }}, or shorter
with {{ Tincturea/b/g/NW }} (code for the special color shade in upper case!), like a color code or the + or - at any position.

Without parameter (or the parameter ss=0)(or the parameter ss=≈) the default tinctures are shown:
With the parameter ss=BW the tincture colors of Baden-Württemberg are shown: Tincture (BW)
With the parameter ss=BY the slightly different Bavarian colors are shown: Tincture (BY)
With the parameter ss=BB the tincture colors of Brandenburg are shown: Tincture (BB)
With the parameter ss=CH the tincture colors of Switzerland are shown: Tincture (CH)
With the parameter ss=AG the tincture colors of Kanton Aargau are shown: Tincture (AG)
With the parameter ss=NW the tincture colors of Kanton Nidwalden are shown: Tincture (NW)
With the parameter ss=UA the tincture colors of Upper Austria are shown: Tincture (UA)
With the parameter ss=FR the tincture colors of France are shown: Tincture (FR)
With the parameter ss=HU the Hungarian colors are shown: Tincture (HU)
With the parameter ss=RU the Russian colors are shown: Tincture (RU)
With the parameter ss=SK the Slowakian tincture colors are shown: Tincture (SK)
With the parameter ss=ES the tincture colors of Spain are shown: Tincture (ES)
With the parameter ss=SV the Swedish tincture colors are shown: Tincture (SV)
With the parameter ss=NS ("NS" for "non standard") all other colors can be mentioned (not shown): Tincture (NS)

See also Template talk:Tincture/box for another illustration

When a color combination contains a color that cannot be expressed with above tinctures, with ColorString such colors can be shown:
  • {{ ColorString/B/#069/#396/#900/#333/#666/#999 }} will give #069#396#900#333#666#999,
  • {{ ColorString/D/#069/wmb /#396/#396 /#900/wmr /wm3/#333 }} will give wmb#396wmr#333.
With the parameter ss=≈ it can be shown that the used colours do not match exactly the standard tinctures.


Automatic categorization is performed by the subtemplates {{Tincture/cat0}} (or, for other color shades with the subtemplates {{Tincture/catAG}} to {{Tincture/catSV}}.
Any other (tincture-) category or categories may be defined with the parameter cat=;
specified either complete with the brackets: cat=[[Category:...]] or only the name (without brackets and "Category:").
No category specified, or “cat=s”, let standard or automatic categorization occur:
While colours may be expressed by codes or by full names, automatic categorization is only possible when the one-letter-codes are used.
To suppress any categorizing set either “cat=”, “cat=-” or set the “-” like a color code, at any position.

Information field

An internationalized field name is generated, when required by specifying “+=+”.
When tinctures are set with COAInformation, this is done by default;
when tinctures are set with Image generation, this is done by default (but can be suppressed with “Cf=-”).
The “+” for the field name can also be set as simple “+” like the “-” or a color code, at any position.
See also Color boxes.

GPL tables

Some tools, as e.g. Inkscape or GIMP, use special color schemes, the GIMP-Palettes, which can be imported and exported to be used by the tool. The Commons:Colour palettes can be used to create copy&paste-able data from all the tincture variations shown above, and to have these valid colours for usage wihin the tools. A complete instruction how to generate such palettes can be found in Commons talk:Colour palettes. To use the template:Tincture for table creation, the parameter |gpltab= can be used:

  1. gpltab=1 default value, is automatically set to tincturize files
  2. gpltab=2 value to generate tables
  3. gpltab=3 value to do both, is automatically set on that page

Because this parameter needs never to be set, except for test cases, it is not described above.

A complete set of instructions on how to generate such palettes can be found in Commons talk:Colour palettes; it contains also some hints how to add new colour variations.