Template:Technique/sandbox
![]() | Uses Lua: |
Used to localise translation of technique in template {{Artwork}}, {{Information}} or others.
The template automatically sets the following categories: Category:Unsupported technique, Category:Pages using Template:Technique with deprecated term, Category:Pages with complex technique templates
Usage
{{Technique |1= |adj= |and= |adjand= |on= |adjon= |over= |adjover= |mounted= |adjmounted= }}
See below for examples and hints to supported terms.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | technique | material or technique used (oil , pastel , engraving, charcoal , pen , ink , chalk , fresco , mosaic, drawing, print , …) | empty | optional |
adj color | adjective | adjective as attribute to the the first material (e.g. a color); it is possible to give an arbitrary number of attributes for one material by separating them with a semicolon ";", e.g. "green;red" | empty | optional |
and | "and" technique | other material used (adds to the first material using "and", arbitrary number adding an integer to "and", like "and2 ", "and3 ", "and4 " etc.) | empty | optional |
adjand colorand | "and" adjective | adjective as attribute to the other material(s) used (for further materials using "adjand2 ", "adjand3 ", "adjand4 " etc.) | empty | optional |
on 2 | "on" technique | support material used (e.g. on canvas, on wood) (for further support materials using "on2 ", "on3 " etc.) | empty | optional |
adjon coloron | "on" adjective | adjective as attribute to the support material connected with "on" | empty | optional |
over | "over" technique | other material used (adds to the first material using "over") (for further "over" materials using "over2 ", "over3 " etc.) | empty | optional |
adjover colorover | "over" adjective | adjective as attribute to the material connected with "over" | empty | optional |
mounted | "mounted" technique | "mounted on" material (e.g. lithograph mounted on paper) (for further "mounted on" materials using "mounted2 ", "mounted3 " etc.) | empty | optional |
adjmounted colormounted | "mounted" adjective | adjective as attribute to the material connected with "mounted on" | empty | optional |
Template data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Used to localise translation of technique in templates like "Artwork", "Information" or others.
|
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
The template is localized through a combination of methods. The original method are subtemplates with translations. For the noun terms and grammar these subtemplates are the following: العربية | català | čeština | dansk | Deutsch | Ελληνικά | English | Canadian English | español | eesti | suomi | français | galego | עברית | magyar | italiano | 日本語 | македонски | Plattdüütsch | Nederlands | norsk bokmål | polski | português | română | русский | sicilianu | slovenčina | slovenščina | српски / srpski | svenska | Kiswahili | vèneto | Tiếng Việt | 中文(简体) | 中文(繁體) | +/- . Translations for adjective terms are on ".../adjectives" subpages of those pages.
If no translation is found for a noun term on these pages the templates looks for a translation at Wikidata item labels. The corresponding Wikidata items are looked up at Module:Technique/WikidataLUT. For cases/languages where no further grammatical information is needed this is the preferred translation method. This applies to English for example. That is why Template:Technique/en does not contain translations for many supported terms.
Examples
The following are examples:
{{Technique|fresco}}
→ fresco{{Technique|oil|canvas}}
→ oil on canvas{{Technique|oil|oak panel}}
→ oil on oak wood{{Technique|fresco|canvas}}
→ fresco on canvas{{Technique|oil|and=tempera|canvas}}
→ oil and tempera on canvas{{Technique|watercolor|over=graphite|paper}}
→ watercolor over graphite on paper{{Technique|drawing|paper|coloron=grey}}
→ drawing on gray paper{{Technique|oil|canvas|mounted=mahogany}}
→ oil on canvas mounted on mahogany wood{{Technique|indian ink|vellum|and=gold|over=pencil drawing|color=light|coloron=white}}
→ light India ink and gold over pencil drawing on white vellum{{Technique |1=pebble |adj=green;blue |and=oil |and2=acrylic |and3=tempera |and4=color pencil |and5=granite |over=silver albumen photograph |on=paper |on2=ivory |mounted=canvas}}
→ green and blue pebble, oil, acrylic, tempera, colored pencil and granite over albumen print on paper and on ivory mounted on canvas
Lists of supported terms
List of supported nouns
for the parameters 1
, and
, and2
, and3
etc., on
, on2
etc., over
, over2
etc., mounted
, mounted2
etc.: noun list
List of supported attributes
Some color adjectives out of the supported attributes (cf. adjective list for the up-to-date list):
Adjectives | Output |
---|---|
beige | beige |
black | black |
blue | blue |
brown | brown |
carved | carved |
color | color |
cream cream colored cream coloured cream-colored cream-coloured |
cream-colored |
dark | dark |
double | double |
glazed | glazed |
gray grey |
gray |
gray-brown grey-brown |
gray-brown |
gray-green grey-green |
gray-green |
green | green |
hand colored hand-colored hand coloured hand-coloured |
hand-colored |
light | light |
pink | pink |
polychrome polychromatic |
polychrome |
polished | polished |
purple | purple |
red | red |
reddish | reddish |
white | white |
yellow | yellow |