Template:Graphic Lab
Flexible core template to help to specifies Graphic Labs by local-language teams and field of action : image, map, coa, ...
The template automatically sets the following categories: subcategories of Graphic Lab
Usage
{{Graphic Lab |1= |2= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | two-letter language code (ISO 639), or "commons", or "ws" | en | optional | |
2 | Topic : image , map , coa or flag . | image | optional | |
3 style | style, either
| empty | optional | |
4 | numeric value: number of W3C-errors if SVG | empty | optional | |
5 | a string specifying a sub category to a Graphic Lab-xx | empty | optional |
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
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Graphic Lab/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Graphic Lab/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
To create a new language version of this template, create a new subpage and use this code:
{{Graphic Lab/layout |text=This {{#switch:{{{2|}}}|map=map|flag=flag|coa=coat of arms|#default={{#if:{{{5|}}}|{{Igen/top|{{{5}}}|image|lang=en}}|image}}}} was improved or created by the {{C|Wikigraphists||en}} of the {{Graphic Lab/link|{{{1|en}}}|Graphic Lab}}.{{#switch:{{{3|}}} |nl=<br> |sx=<small> | }}You can {{w|Wikipedia:Graphics Lab/Illustration workshop|propose images}} to clean up, improve, create or translate as well.{{#ifeq:{{{3}}}|sx|</small>}} |lang=en |2={{{2}}} }}<noinclude> {{translated tag|marker}} </noinclude>
And replace the language code.
- |lang=en
+ |lang={{subst:SUBPAGENAME}}
- Recommendations
Links may point to your wiki [:{WikiIso}:Wikipedia:Graphic Lab/Map]. You have then to locally create a Redirect [[...]]
to the rightful page.
If your wiki have no Graphic Lab, redirect to Commons:Graphic Lab School/Images to improve.
Use the template of your group every time you are uploading! It's our way to make our work visible, get more requests and new graphists!
Examples
Shortcut | Code | Result | ||
---|---|---|---|---|
{{THV}} | {{ Graphic Lab | es | flag }} | |||
{{Kartenwerkstatt}} | {{ Graphic Lab | de | map }} |
| ||
— | {{ Graphic Lab | it | coa }} |
|
Existing Graphic groups and {Graphic Lab} templates
Most local Graphic Lab templates are harmonized via this {{Graphic Lab}} core. All team use these templates in order to systematically raise their team's visibility, categorize, and count the work done. ( statistics) This table needs actualizing - it describes an older situation
In {{Image generation}} the transclusion can be done with gl
(for "graphic lab", default is the English one) or g[l]=
for another Graphic Lab,
ISO 639-1
together with the type (subcategory-specification s=m
, s=f
or s=c
).
g[l]=c[m]
or g[l]=commons
or gc
specifies Graphic Lab-Commons with its subcategories: g=c|s=m
will therefore categorize into Map Lab-Commons.
As an abbreviaton the code value in column «I
» may be used; in general (gb, gc, gd, ge, gf, gi, gj (gj for he, gh is reserved for hu), gl, gP (gP for Polish, gp is reserved for portuguese), gr and gw),
the subcategory-specification is needed for the diversification {c, f, m for CoA, Flag, Map - others are not diversified).
Note that {{Image generation}} provides several possibilities to express the same fact. Examples for the de-Wp, other Wikipedias similar:
- T={{Grafikwerkstatt}} is the same as T={{Graphic Lab|de}} or simple
gd
org[l]=de
.
- Preferred and recommended is
gd
, plus the subcategorizings=
.
- T={{Wappenwerkstatt}} is the same as T={{Graphic Lab|de|coa}} or simple
gd
orgl=de
(withs=c
).
- Preferred and recommended is
gd
plus the subcategorizings=c
(ors=eh
for ecclesiastical heraldry)
- T={{Kartenwerkstatt}} is the same as T={{Graphic Lab|de|map}} or simple
gd
org[l]=de
(withs=m
ors=wm
).
- Preferred and recommended is
gd
plus the subcategorizings=m
(ors=wm
for world maps).
* Note: While gd
leads automatically either to {{Wappenwerkstatt}} or to {{Kartenwerkstatt}}, for categorizing directly to Graphic Lab-de a workaround exists.
To categorize instead simply into Graphic Lab-de or its subcategories the pseudo iso639-1 code "g=gi" (German individual) can be used.