Template:Graphic Lab/doc

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

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

ParameterDescriptionDefaultStatus
1two-letter language code (ISO 639), or "commons", or "ws"enoptional
2Topic : image, map, coa or flag.imageoptional
3
style
style, either
  • nl for new line
  • sx for small text
emptyoptional
4numeric value: number of W3C-errors if SVGemptyoptional
5a string specifying a sub category to a Graphic Lab-xxemptyoptional

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

العربية | azərbaycanca | বাংলা | català | čeština | Deutsch | Deutsch (Sie-Form)‎ | Zazaki | Ελληνικά | English | Esperanto | español | suomi | français | עברית | magyar | հայերեն | italiano | 한국어 | македонски | Bahasa Melayu | Plattdüütsch | Nederlands | occitan | polski | português | română | русский | sicilianu | slovenščina | svenska | Türkçe | татарча/tatarça | українська | 中文 | 中文(简体)‎ | 中文(繁體)‎ | +/−

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 {{#if:{{{4|}}}|''W3C-'''invalid''' ''}} {{#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>
|&nbsp;}}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 Labesflag }}

Taller de Heráldica y vexilología

This flag was made for the Taller de Heráldica y vexilología of Spanish Wikipedia.

{{Kartenwerkstatt}} {{ Graphic Labdemap }}
Kartenwerkstatt
This map has been made or improved in the German Kartenwerkstatt (Map Lab). You can propose maps to improve as well.

{{ Graphic Labitcoa }}
Graphic Lab
This coat of arms was improved or created by the Wikigraphists of the Graphic Lab (it). You can propose images to clean up, improve, create or translate as well.

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. 0 (edit statistics) 0 This table needs actualizing - it describes an older situation 0

Localized shortcut Underlying code (harmonized) WP Iso I type associated Category Number of files
{{অঙ্কন ঘর}} {Graphic Lab|bn|image} bn g=bn image Graphic Lab-bn 6
{{Atelier graphique}} {Graphic Lab|fr|image} fr gf image Graphic Lab-fr 3,126
{{Atelier graphique carte}} {Graphic Lab|fr|map} fr gf map Map Lab-fr 4,398
{{Kartenwerkstatt}}
0
Specific code. Alias

{Graphic Lab|de|map} lowly used.

de gd
g=gi *
map Kartenwerkstatt
Kartenwerkstatt (SVG)
Map Lab-de *
2,305
4,358
8
{{Fotowerkstatt}} Rich template with authors.

Code harmonization not welcome.

photo Fotowerkstatt 3,721
{{Grafikwerkstatt}} {Graphic Lab|de|image} de gd image Graphic Lab-de 171
{{Graphic Lab-en}} {Graphic Lab|en|image} en gl image Graphic Lab-en 198
{{Map Lab-en}} {Graphic Lab|en|map} en gl map Map Lab-en 62
{{Laboratorio grafico}} {Graphic Lab|it|image} it gi image Graphic Lab-it 898
{{Laboratorio grafico mappa}} {Graphic Lab|it|map} it gi map Map Lab-it 403
{{Projet Blasons}} {Graphic Lab|fr|coa} fr gf coa CoA Lab-fr 2,152
{{Project Heraldry}} {Graphic Lab|en|coa} en gl coa CoA Lab-en only categories?
{{Projekt Wappen}} {Graphic Lab|de|coa} de gd coa CoA Lab-de 24
{{THV}} {Graphic Lab|es|coa} es ge coa CoA Lab-es 16
{Graphic Lab|es|flag} es ge flag Flag Lab-es 1
{{Taller de Cartografía}} {Graphic Lab|es|map} es ge map Map Lab-es 151
{{WPGW vector image}} {Graphic Lab|pl|coa} pl gP coa CoA Lab-pl 65
{Graphic Lab|pl|flag} pl gP flag Flag Lab-pl 32
{Graphic Lab|pl|map} pl gP map Map Lab-pl 35
{Graphic Lab|Commons|coa} commons gc coa CoA Lab-Commons 125
{Graphic Lab|Commons|flag} commons gc flag Flag Lab-Commons 218
{Graphic Lab|Commons|map} commons gc map Map Lab-Commons 43
{Graphic Lab|w|flag} workshop gw flag Flag workshop 0
{Graphic Lab|w|map} workshop gw map Map workshop 17
Total >34.000

In {{Image generation}} the transclusion can be done with gl (for "graphic lab", default is the English one) or g[l]=ISO 639-1 for another Graphic Lab,
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:

Preferred and recommended is gd, plus the subcategorizing s= .
Preferred and recommended is gd plus the subcategorizing s=c (or s=eh for ecclesiastical heraldry)
Preferred and recommended is gd plus the subcategorizing s=m (or s=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.