ढाँचा:Infobox artwork

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[सम्पादन गर्ने]

The Potato Eaters
Dutch: De Aardappeleters
Two men and three women eating potatoes.
कलाकारVincent van Gogh
बर्ष१८८५ (१८८५)
CatalogueF123
प्रकारOil on canvas
आयाम82 cm × 114 cm (32¼ in × 45 in)
स्थितिlost
स्थानVan Gogh Museum, Amsterdam
निर्देशांक५२°२१′३०.३०″ उत्तर ४°५२′५१.९०″ पूर्व / ५२.३५८४१६७° उत्तर ४.८८१०८३३° पूर्व / 52.3584167; 4.8810833निर्देशाङ्क: ५२°२१′३०.३०″ उत्तर ४°५२′५१.९०″ पूर्व / ५२.३५८४१६७° उत्तर ४.८८१०८३३° पूर्व / 52.3584167; 4.8810833
मालिकMade-up Foundation
पदारोहन1903-1234
वेबसाइटexample.com
{{Infobox artwork
| title              = The Potato Eaters
| image_file         = Vincent Van Gogh - The_Potato_Eaters.png
| painting_alignment = right
| image_size         = 300px
| alt                = Two men and three women eating potatoes.
| other_language_1   = Dutch
| other_title_1      = De Aardappeleters
| type               = [[Oil painting|Oil on canvas]]
| artist             = [[Vincent van Gogh]]
| year               = {{Start date|1885}}
| catalogue          = F123
| height_metric      = 82
| width_metric       = 114
| height_imperial    = 32¼
| width_imperial     = 45
| condition          = lost
| city               = [[Amsterdam]]
| museum             = [[Van Gogh Museum]]
| coordinates        = {{coord|52|21|30.30|N|4|52|51.90|E|region:NL_type:landmark|display=inline,title}} <!-- Only use for the exact coordinates of the artwork itself (and only where known) and not for the coordinates of the museum. Leave blank if coordinates are not known. -->
| owner              = Made-up Foundation
| accession          = 1903-1234
| url                = {{URL|example.com}}
}}

Blank[सम्पादन गर्ने]

{{Infobox artwork
| title              = 
| image_file         = 
| caption            = 
| painting_alignment = 
| image_size         = 
| alt                = 
| other_language_1   = 
| other_title_1      = 
| other_language_2   = 
| other_title_2      = 
| artist             = 
| catalogue          = 
| year               = {{start date|YYYY}} <!--remove date template if before 1583 CE -->
| type               = 
| material           = 
| subject            = 
| height_metric      = 
| width_metric       = 
| length_metric      = 
| height_imperial    = 
| width_imperial     = 
| length_imperial    = 
| diameter_metric    = 
| diameter_imperial  = 
| dimensions         = 
| dimensions_ref     = 
| metric_unit        = cm<!--don't leave blank—either don't include it, or include the default cm. -->
| imperial_unit      = in<!--don't leave blank—either don't include it, or include the default in. -->
| condition          = 
| city               = 
| museum             = 
| accession          = 
| coordinates        = <!-- Only use for the exact coordinates of the artwork itself (and only where known) and not for the coordinates of the museum. Leave blank if coordinates are not known. -->
| owner              = 
| url                = <!--{{URL|example.com}} Only for official web pages-->
}}

Parameters[सम्पादन गर्ने]

title 
image_file 
caption 
painting_alignment 
image_size 
alt 
other_language_1 
other_title_1 
other_language_2 
other_title_2 
artist 
catalogue 
Reference in a catalogue raisonné
year 
Use {{start date}} unless before 1583 CE
type 
material 
subject 
condition 
city 
museum 
accession 
Accession or similar reference in the museum's database
coordinates 
Use {{Coord}}; but only for the exact coordinates of the artwork itself (and only where known) and not for the coordinates of the museum. Leave blank if coordinates are not known.
owner 
url 
Use {{URL}}

Dimensional data[सम्पादन गर्ने]

This template includes code that allows input of dimensional information: any of height, width, length, and diameter, as well as a freeform parameter for adding nonstandard information.

There are 11 parameters, of which most fall into two groups of unit types:

  • height_imperial, width_imperial, length_imperial, and diameter_imperial define the respective values for Imperial or US customary units like the foot or inch. If the imperial unit is set to feet, inch specification can be added with height_inch, width_inch, and length_inch; otherwise the _inch-suffixed parameters should not be used.
  • height_metric, width_metric, length_metric, and diameter_metric define the respective values for SI (metric) units like the metre or centimetre (or, in U.S. spelling, the meter and centimeter).

Once raw numerical values are established in the above parameters, the units are set in the imperial_unit and metric_unit parameters, which default to inches and centimetres respectively.

If information is provided in only one unit system, it is automatically converted to the other using the unit that is defined for that system. In general, this should be used, as for most pieces of artwork measurements will only be taken in one unit system.

Users should take care to avoid false precision: measurements should be provided in the same unit, and with the same number of significant digits, as when they were taken. "1 metre" is far less precise than "1000.00 millimetres", even though they are in theory the same length!

If additional dimensional data is needed, the dimensions parameter can be used to add freeform information to the end of the rendered string. This parameter accepts raw wikitext and is not subject to any automatic conversion or modification—{{convert}} would have to be used manually.

References concerning artwork dimensions can be appended to the dimensional data by placing them in the optional dimensions_ref parameter.

Template data[सम्पादन गर्ने]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox artwork

An infobox for artwork

Template parameters

Parameterविवरणप्रकारस्थिति
Titletitle

The title of the artwork. Defaults to the page name.

Stringवैकल्पिक
Image fileimage_file

The name of the image file to display, without the "File:" prefix

Stringवैकल्पिक
Image sizeimage_size

The size of the image in pixels, optionally suffixed by "px"

Numberवैकल्पिक
Image alternative textalt

A description of the image that can be displayed instead of the image and/or read by the blind

Stringवैकल्पिक
Captioncaption

A caption to be displayed under the image

Stringवैकल्पिक
Infobox alignmentpainting_alignment

The alignment of the infobox. It should almost always be "right", but can also be "left". Defaults to right-alignment.

Stringवैकल्पिक
Secondary title languageother_language_1

The language of a secondary title

Stringवैकल्पिक
Secondary titleother_title_1

A secondary title.

Stringवैकल्पिक
Tertiary title languageother_language_2

The language of a tertiary title

Stringवैकल्पिक
Tertiary titleother_title_2

A tertiary title.

Stringवैकल्पिक
Artist nameartist

The name of the artist(s) who created the piece

Stringवैकल्पिक
Yearyear

The year the artwork was created

Stringवैकल्पिक
Completion datecompletion_date

The date the artwork was completed. Appears only if the year parameter is undefined.

Stringवैकल्पिक
Catalogue numbercatalogue

The number of the artwork in a catalogue raisonné, e.g. "F454"

Stringवैकल्पिक
Typetype

The type of the artwork, e.g. "Fresco"

Stringवैकल्पिक
Materialmaterial

The material(s) of the artwork, e.g. "Marble"

Stringवैकल्पिक
Subjectsubject

The subject(s) of the artwork

Stringवैकल्पिक
Height (metric)height_metric

The height of the artwork in metres, centimetres, etc., without unit

Numberवैकल्पिक
Width (metric)width_metric

The width of the artwork in metres, centimetres, etc., without unit

Numberवैकल्पिक
Length (metric)length_metric

The length of the artwork in metres, centimetres, etc., without unit

Numberवैकल्पिक
Height (imperial)height_imperial

The height of the artwork in feet, inches, etc., without unit

Numberवैकल्पिक
Height (inch addition)height_inch

If the imperial unit is set to feet, this allows inch precision to be added to the height

Numberवैकल्पिक
Width (imperial)width_imperial

The width of the artwork in feet, inches, etc., without unit

Numberवैकल्पिक
Width (inch addition)width_inch

If the imperial unit is set to feet, this allows inch precision to be added to the width

Numberवैकल्पिक
Length (imperial)length_imperial

The length of the artwork in feet, inches, etc., without unit

Numberवैकल्पिक
Length (inch addition)length_inch

If the imperial unit is set to feet, this allows inch precision to be added to the length, without unit

Numberवैकल्पिक
Diameter (metric)diameter_metric

The diameter of the artwork in metres, centimetres, etc., without unit

Numberवैकल्पिक
Diameter (imperial)diameter_imperial

The diameter of the artwork in feet, inches, etc., without unit

Numberवैकल्पिक
Metric unitmetric_unit

The unit to use as the metric unit, e.g. "m" or "cm"

पूर्वनिर्धारित
cm
Stringवैकल्पिक
Imperial unitimperial_unit

The unit to use as the imperial or US customary unit, e.g. "in" or "ft"

पूर्वनिर्धारित
in
Stringवैकल्पिक
Dimensionsdimensions

Additional or nonstandard dimensional data can be placed here as raw wikitext.

Stringवैकल्पिक
Dimensions reference(s)dimensions_ref

Any references concerning the artwork's dimensions can be placed here as raw wikitext (including "ref" tags).

Stringवैकल्पिक
Weightweight

The weight of the artwork

Stringवैकल्पिक
Conditioncondition

The condition of the artwork

Stringवैकल्पिक
Ownerowner

The current owner of the artwork

Stringवैकल्पिक
Accession numberaccession

The accession number(s) for the artwork

Stringवैकल्पिक
Museummuseum

The museum that currently houses the artwork

Stringवैकल्पिक
Citycity

The city in which the artwork is currently located

Stringवैकल्पिक
Coordinatescoordinates

Coordinates for the artwork, input as a coordinate template

Stringवैकल्पिक
URLurl

A URL for the artwork, input as a URL template

Stringवैकल्पिक

Microformat[सम्पादन गर्ने]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

See also[सम्पादन गर्ने]