Template:Igen/coa
-- This subtemplate is just a stub for the transclusion of Image generation.
--
-- Its documentation can be found also in COAInformation, parameter "image".
--
-- The input, passed via Igenmod should be either a complete transclusion of
--
-- {{Igen|I|+|...|s=c}} or (up to currently five) slash-separated parameters
--
-- which are: 1=tool name/abbrev.; 2=error count; 3=topic; 4=gLab; 5=vstyle;
--
-- Defaults are: 1="Inkscape", 2="0"( = W3C-valid SVG), 3="c", 4="", 5="fl".
--
This subtemplate of Image generation describes a CoA SVG – Coat of Arms as a scaleable vector graphic.
Normally a single parameter is or some parameters are passed from template:COAInformation, parameter |image=../../..
but the template can as well function in stand-alone mode, preferably with an Information box |other fields={{Igen/coa|..|..|..}}
For the many different possibilities of description are many different options of parametrizing.
With one parameter:
- User code – when the template has defined such a code — this is the standard •
- Igen parm – the complete parameter string, {{Igen|...}} in curly brackets •
- Tool name – when another tool and without W3C-errors •
- W3C error – when an Inkscape file has W3C-errors •
With more parameters:
- 2 params – tool and error count •
- 2...5 pars – more specifications •
Usage
{{Igen/coa}}
for the description of coats-of-arms
- in Template:COAInformation, the description can occur using either the parameter
|image=
or|other fields=
:
|image=Xx
or|image={{Igen/coa|Xx}}
or|image={{Igen/coa|I|+|...}}
instead of|image={{Igen|I|+|...}}
|other fields={{Igen/coa|Xx}}
or|other fields={{Igen/coa|I|+|...}}
instead of|other fields={{Igen|I|+|...}}
- in Template:Information it can be used with only the parameter
|other fields=
:
|other fields={{Igen/coa|Xx}}
or|other fields={{Igen/coa|I|+|...}}
instead of|other fields={{Igen}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | different parameter possibilities: none, one or more parameters | empty | optional |
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
Relies on:
Template:Image generation, and Category:Users interested in heraldry
Localization
This template is not intended to be localized.
No parameter
Without any parameter, it works like {{ Igen | I | + | s = c }}: Inkscape-drawn coat of arms.
One parameter
One of the specified user shortcodes
Some well-known users are predefined in the template
Parameter | Description | Default | Status |
---|---|---|---|
1 | e.g. JK (for user:Jürgen Krause ),
|
none | required |
Parameters for Image generation
Needs the complete parameter string, in {{...}} brackets, as at e.g. |other fields=
Parameter | Description | Default | Status |
---|---|---|---|
1 | e.g. {{Igen|I|+|w=eh|sub:=...|U=...}} |
none | required |
Only the tool when without errors
Tool name: full name, or name abbreviation (shortcode)
Parameter | Description | Default | Status |
---|---|---|---|
1 | e.g. A (for CoA Created with Adobe Illustrator),
|
none | required |
Numeric error count for Inkscape
Parameter | Description | Default | Status |
---|---|---|---|
1 | e.g. 7 for an Inkscape-generated CoA with 7 W3C-errorsor |
none | required |
More parameters
When specified by |image=
in COAInformation: slash-separated;
when specified as parameters for {{Igenc
}} itself: pipe-separated
2 parameters: tool and error count
Parameter | Description | Default | Status |
---|---|---|---|
1 | e.g. T (for CoA Created with Text Editor)
|
none | required |
2 | e.g. 1 for one W3C-error
|
none | required |
Up to five parameters
parameters can be missing
Parameter | Description | Default | Status |
---|---|---|---|
1 | tool name (e.g. "DrawPlus") or user shortcode | I |
optional |
2 | W3C-error count | 0 |
optional |
3 | topic: c /ce (coa), or eh (ecclesiastical heraldry)
|
c |
optional |
4 | national graphic lab, e.g. gf
|
none | optional |
5 | any other parameter, e.g. vstyle
|
empty | optional |
Predefined users
The template contains the predefinition for some users, available by a shortcode. For exact and up-to-date information, see the template's source code.