Template:Tincture

(Redirected from Template:FIAV1)
argentargent-dorazurecélestecarnationcendréegulespurpuresabletawnyverttransparent
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.

Usage

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

ParameterDescriptionDefaultStatus
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

Example

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

renders as:

argentorazuregulespurpuresablevert

See also

Colors

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

argent
a argent  
argent-d
A argent-d   [“argent dark”]
or
o or
azure
b azure   [for “bleu” or “blue”]
céleste
B céleste   [for “bleu-céleste”]
carnation
c carnation
cendrée
C cendrée
gules
g gules
naranja
n naranja
purpure
p purpure
sable
s sable
tawny
t tawny
vert
v vert
transparent
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
#abc (3-characters-short-notation does not work with the current MS-IE!),   or
#2F4D5A
#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"
Note:
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

With {{COAInformation}}, use |tincture-ss= or |ss= as an addition to |tincture=, e.g. |tincture=a/b/g|ss=NW.
With {{File generation description}} use |Tincture-ss=, and with {{Image generation}} the parameter |ss= or |Css=.
In stand-alone usage, add the parameter "ss=": {{ Tincturea/b/gss = NW }}. In some shades, not all colors are defined.
In every case, it is as well possible to define the special color shade with e.g. {{ Tincturea/b/g/ss=NW }}, or
with {{ Tincturea/b/g/NW }} (code for the special color shade in upper case!), like a colour code, at any position.

Without parameter (or the parameter ss=0)(or the parameter ss=≈) the standard tinctures are shown:

argentargent-dorazurecélestecarnationcendréegulesnaranjapurpuresabletawnyvert
With the parameter ss=BY the slightly different Bajuvarian colors are shown:Tincture (BY)
argentargent-dorazurecélestecarnationcendréegulesnaranjapurpuresabletawnyvert
With the parameter ss=BU the tincture colors of 'Bayer. true PDF' are shown: Tincture (BU)
argentargent-dorazurecélestecarnationcendréegulesnaranjapurpuresabletawnyvert
With the parameter ss=BB the tincture colors of Bayer. Verkehrsfarben are shown: Tincture (BV)
V-weißLichtgrauV-gelbV-blauHimmelblauHellrosaTelegrauVerk-rottransparentV-purpurV-schwarzKupferbraunMinzgrün
With the parameter ss=VR the tincture colors of "RAL Verkehrsfarben" are shown: Tincture (VR)
V-weißV-grau AV-gelbV-blautransparenttransparentV-grau BVerkehrsrotV-orangeV-purpurV-schwarztransparentV-grün
With the parameter ss=BB the tincture colors of Brandenburg are shown: Tincture (BB)
argenttransparentorazurecélestetransparenttransparentgulestransparenttransparentsabletransparentvert
With the parameter ss=BW the tincture colors of Wurttemberg are shown: Tincture (BW)
argenttransparentorazurecélestecarnationtransparentgulestransparenttransparentsabletransparentvert
With the parameter ss=AG the tincture colors of Kanton Aargau are shown: Tincture (AG)
argenttransparentorazuretransparenttransparenttransparentgulestransparenttransparentsabletawnyvert
With the parameter ss=NW the tincture colors of Kanton Nidwalden are shown: Tincture (NW)
argenttransparentorazuretransparenttransparenttransparentgulestransparenttransparentsabletawnyvert
With the parameter ss=CH the tincture colors of the Switzerland are shown: Tincture (CH)
argenttransparentorazuretransparenttransparenttransparentgulestransparenttransparentsabletransparentvert
With the parameter ss=ES the tincture colors of Spain are shown: Tincture (ES)
argentargent-dorazuretransparentcarnationtransparentgulesnaranjapurpuresabletransparentvert
With the parameter ss=HU the Hungarian colors are shown: Tincture (HU)
argentargent-dorazuretransparenttransparenttransparentgulestransparentpurpuresabletransparentvert
With the parameter ss=SV the Swedish tincture colors are shown: Tincture (SV)
argenttransparentorazurecélestecarnationtransparentgulestransparentpurpuresabletransparentvert
With the parameter ss=WS the 'websave' tincture colors are shown: Tincture (WS)
argentargent-dorazurecélestecarnationcendréegulesnaranjapurpuresabletawnyvert
With the parameter ss=NS all other colors can be mentioned: Tincture (NS)
argentargent-dorazurecélestecarnationcendréegulesnaranjapurpuresabletawnyvert

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.

Categorization

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 colour 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 colour 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 instruction how to generate such palettes can be found in Commons talk:Colour palettes; it contains also some hints how to add new colour variations.