This page is protected against editing.

Template:Technique

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Technique/doc.

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

ParameterDescriptionDefaultStatus
1techniquematerial or technique used (oil
medium QS:P186,Q296955
, pastel
medium QS:P186,Q189085
, engraving, charcoal
medium QS:P186,Q1424515
, pen
medium QS:P186,Q165447
, ink
medium QS:P186,Q127418
, chalk
medium QS:P186,Q147690
, fresco
medium QS:P186,Q25631150
, mosaic, drawing, print
medium QS:P186,Q11060274
, …)
emptyoptional
adj
color
adjectiveadjective 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"emptyoptional
and"and" techniqueother material used (adds to the first material using "and", arbitrary number adding an integer to "and", like "and2", "and3", "and4" etc.)emptyoptional
adjand
colorand
"and" adjectiveadjective as attribute to the other material(s) used (for further materials using "adjand2", "adjand3", "adjand4" etc.)emptyoptional
on
2
"on" techniquesupport material used (e.g. on canvas, on wood) (for further support materials using "on2", "on3" etc.)emptyoptional
adjon
coloron
"on" adjectiveadjective as attribute to the support material connected with "on"emptyoptional
over"over" techniqueother material used (adds to the first material using "over") (for further "over" materials using "over2", "over3" etc.)emptyoptional
adjover
colorover
"over" adjectiveadjective as attribute to the material connected with "over"emptyoptional
mounted"mounted" technique"mounted on" material (e.g. lithograph mounted on paper) (for further "mounted on" materials using "mounted2", "mounted3" etc.)emptyoptional
adjmounted
colormounted
"mounted" adjectiveadjective as attribute to the material connected with "mounted on"emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Used to localise translation of technique in templates like "Artwork", "Information" or others.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
technique1

material or technique used (oil, pastel, engraving, charcoal, pen, ink, chalk, fresco, mosaic, drawing, print, …)

Stringoptional
adjectiveadj color

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"

Stringoptional
"and" adjectiveadjand colorand

adjective as attribute to the other material(s) used (for further materials using "adjand2", "adjand3", "adjand4" etc.)

Stringoptional
"mounted" adjectiveadjmounted colormounted

adjective as attribute to the material connected with "mounted on"

Stringoptional
"on" adjectiveadjon coloron

adjective as attribute to the support material connected with "on"

Stringoptional
"over" adjectiveadjover colorover

adjective as attribute to the material connected with "over"

Stringoptional
"and" techniqueand

other material used (adds to the first material using "and", arbitrary number adding an integer to "and", like "and2", "and3", "and4" etc.)

Stringoptional
"mounted" techniquemounted

"mounted on" material (e.g. for a lithograph mounted on paper) (for further "mounted on" materials using "mounted2", "mounted3" etc.)

Stringoptional
"on" techniqueon 2

support material used (e.g. "on canvas" or "on wood") (for further support materials using "on2", "on3" etc.)

Stringoptional
"over" techniqueover

other material used (adds to the first material using "over") (for further "over" materials using "over2", "over3" etc.)

Stringoptional

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
medium QS:P186,Q25631150
{{Technique|oil|canvas}} → oil on canvas
medium QS:P186,Q296955;P186,Q12321255,P518,Q861259
{{Technique|oil|oak panel}} → oil on oak wood
{{Technique|fresco|canvas}} → fresco on canvas
medium QS:P186,Q25631150;P186,Q12321255,P518,Q861259
{{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