Template:Igen/coa

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

-- 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". --

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Igen/coa/doc.
  < Template: Igen/coa

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:

0User code – when the template has defined such a code — this is the standard
0Igen parm – the complete parameter string, {{Igen|...}} in curly brackets
0Tool name – when another tool and without W3C-errors
0W3C error – when an Inkscape file has W3C-errors

With more parameters:

02 params – tool and error count
02...5 pars – more specifications

Usage

{{Igen/coa}}

for the description of coats-of-arms

|image=Xx 0 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|+|...}}
|other fields={{Igen/coa|Xx}} or |other fields={{Igen/coa|I|+|...}} instead of |other fields={{Igen}}

Template parameters

ParameterDescriptionDefaultStatus
1different parameter possibilities: none, one or more parametersemptyoptional

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 {{ IgenI+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),

e.g. Mb (for user:Madboy74),
e.g. Sa (for user:SajoR/ coa ),
e.g. Sh (for user:SajoR/ ecclesiastical heraldry),

see the other codes
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),

e.g. IA (for CoA Created with Adobe&Inkscape),
e.g. D (for CoA Created with CorelDRAW),
e.g. U (for CoA Created with Unknown tool)

none required

Numeric error count for Inkscape

Parameter Description Default Status
1 e.g. 7 for an Inkscape-generated CoA with 7 W3C-errors

or 743 for an Inkscape drawing with many errors
The error count "0" specifies W3C-validity.

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.