แม่แบบ:กล่องข้อมูล งานศิลป์/doc

จากวิกิพีเดีย สารานุกรมเสรี

การใช้งาน[แก้]

{{{title}}}
{{{other_language_1}}}: {{{other_title_1}}}, {{{other_language_2}}}: {{{other_title_2}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
{{{title}}}ตั้งอยู่ในโลก
{{{title}}}
{{{title}}}
{{{pushpin_map_caption}}}
ศิลปิน{{{artist}}}
ปี{{{year}}}
หมวดหมู่{{{catalogue}}}
สื่อ{{{medium}}}
ขบวนการ{{{movement}}}
หัวเรื่อง{{{subject}}}
มิติ{{{height_metric}}} cm × {{{width_metric}}} cm × {{{length_metric}}} cm ({{{height_imperial}}} in × {{{width_imperial}}} in × {{{length_imperial}}} in); {{{diameter_metric}}} cm diameter ({{{diameter_imperial}}} in); {{{dimensions}}}‍{{{dimensions_ref}}}
น้ำหนัก{{{weight}}}
ข้อระบุ{{{designation}}}
สภาพ{{{condition}}}
สถานที่{{{museum}}}, {{{city}}}
พิกัด0°N 0°E / 0°N 0°E / 0; 0
เจ้าของ{{{owner}}}
การเข้าถึง{{{accession}}}
ฉบับก่อนหน้า{{{preceded_by}}}
ฉบับถัดมา{{{followed_by}}}
{{{module}}}
เว็บไซต์{{{website}}}
{{กล่องข้อมูล งานศิลป์
| title              = 
| painting_alignment = 
| other_language_1   = 
| other_title_1      = 
| other_language_2   = 
| other_title_2      = 
| wikidata           =
| image              = 
| image_upright      = 
| alt                = 
| caption            = 
| artist             = 
| year               =  <!-- If after 1583 CE, use {{start date|YYYY}} -->
| completion_date    =  <!-- For a more specific date (post-1583): {{start date|YYYY|MM|DD|df=y}} -->
| catalogue          = 
| medium             = 
| movement           =
| subject            = 
| height_metric      =  <!-- (i.e. in metric units) -->
| width_metric       = 
| length_metric      = 
| diameter_metric    = 
| height_imperial    =  <!-- (i.e. in imperial units) -->
| width_imperial     = 
| length_imperial    = 
| diameter_imperial  = 
| dimensions         = 
| dimensions_ref     = 
| metric_unit        = cm  <!-- Note: this parameter must either use the value given or not be included -->
| imperial_unit      = in  <!-- Note: this parameter must either use the value given or not be included -->
| weight             = 
| designation        = 
| condition          = 
| museum             = 
| city               = 
| coordinates        =  <!-- Only use for the coordinates (when known) of the artwork itself, i.e. not for the site, building, structure, etc where it is kept, otherwise leave blank (or omit): {{coord|LAT|LON|type:landmark|display=inline,title}} -->
| owner              = 
| accession          = 
| preceded_by        =  <!-- preceding work by the same artist -->
| followed_by        =  <!-- next work by the same artist -->
| module             = 
| website            =  <!-- Official webpage/site only: {{URL|example.com}} -->
}}

ตัวแปรเสริม[แก้]

title
The title of the artwork. Defaults to the page name.
painting_alignment
The alignment of the infobox. Defaults to right-alignment. It should almost always be "right", but can also be "left".
other_language_1
Language of secondary title
other_title_1
Secondary title. Italicized unless |italic other_title_1=no.
other_language_2
Language of tertiary title
other_title_2
Tertiary title. Italicized unless |italic other_title_2=no.
wikidata
QID of the specific Wikidata item
image
The name of the image file to display, without the "File:" prefix
image_upright
Image scaling factor; see WP:IMGSIZE for the image size policy
alt
Alternative text for image
caption
Caption for image
artist
Name of the artist(s) who created the piece
year
Use {{start date}} unless before 1583 CE.
completion_date
Use {{start date}}; alternative to |year=.
catalogue
Reference in a catalogue raisonné.
type
Deprecated due to ambiguity. Use medium and movement instead.
medium
Material used by the artist or designer to create the work of art. Examples: "Oil on canvas", "Bronze sculpture", "Ceramic tile"
movement
Art movement, or movements, typically associated with work of art or time during artist's career when work of art was created. Must be verifiable through sources. Examples: "Post-Impressionism", "Pop art"
subject
Subject(s) of the artwork
dimensions
See #Dimensional parameters section below
weight
Weight of the artwork ()
designation
Legal protection granted to the artwork
condition
Condition of the artwork
museum
Museum that currently houses the artwork
city
City in which the artwork is currently located
coordinates
Use {{coord}}, but only for the exact coordinates (when known) of the artwork's own location, i.e. not coordinates for the site, building, structure, etc. where it is kept; leave blank otherwise.
owner
Current owner of the artwork
accession
Accession or similar reference in the museum's database.
preceded_by
Preceding work by the same artist
followed_by
Next work by the same artist
module
an embedded template
website
Use {{URL}}, but only for an official webpage or website.

ตัวแปรเสริมขนาดมิติ[แก้]

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
  • diameter_imperial
These define the respective values for Imperial or US customary units such as the foot or inch. If the imperial unit is set to feet, inch specification can be added with height_inch, width_inch, length_inch, otherwise these _inch-suffixed parameters should not be used.
  • height_metric
  • width_metric
  • length_metric
  • diameter_metric
These define the respective values for SI (metric) units such as the metre (meter) or centimetre (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. Do not use a comma as decimal indicator for metric units (as used in some European and other countries) since the conversion does not recognize commas and the imperial measurement will be calculated incorrectly (e.g. use 30.8 not 30,8).

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.

แผนที่และพิกัด[แก้]

The coordinates= parameter is used to display coordinates in the infobox, and optionally at the top of the page; use the {{coord}} template.

Two types of maps are available: pushpin maps (static) or mapframe maps (dynamic).

Pushpin maps[แก้]

{{กล่องข้อมูล งานศิลป์
...
| coordinates         = <!-- Use the {{Coord}} template. -->
| pushpin_map         = <!-- Location name used for Template:Location map -->
| pushpin_map_alt     = <!-- Location name used for Template:Location map -->
| pushpin_relief      = 
| pushpin_label_position =
| map_dot_label       = 
| map_size            = 
| pushpin_map_caption = <!-- Text to be displayed below map; for no caption enter "pushpin_map_caption="; -->
...
}}

Mapframe maps[แก้]

A Mapframe map is automatically included if:

  • It has been turned on by setting |mapframe=yes
  • There are coordinates specified in |coord=, or if the Wikidata item for the page (or as specified in |qid=) has a value for ตำแหน่งพิกัด (P625)
  • No pushpin map has been specified

The following optional parameters can then be used to adjust the map

  • |mapframe-zoom= zoom level (default is 14)
  • |mapframe-width= and |mapframe-height= for the map size (defaults are 270 and 200)
  • |mapframe-marker= for the marker icon (default is monument)
  • either |mapframe-marker-color= or |mapframe-marker-colour= for the marker colour (hex triplet, default is #5E74F3)
  • either |mapframe-stroke-color= or |mapframe-stroke-colour= for the stroke colour (hex triplet, default is #FF0000)
  • |mapframe-caption= caption below the map
  • |mapframe-lat= and |mapframe-long= (or |mapframe-latitude= and |mapframe-longitude=) – alternate initial latitude and longitude for the map, instead of the hospital's coordinates. Specify as a decimal number.

ประเภทของแผนที่[แก้]

A list of modules containing maps that may be used can be found at:

ตัวอย่าง[แก้]

The Potato Eaters
Dutch: De Aardappeleters
Two men and three women eating potatoes
ศิลปินVincent van Gogh
ปีค.ศ. 1885 (1885)
หมวดหมู่F123
สื่อOil on canvas
ขบวนการPost-Impressionism
มิติ82 cm × 114 cm (32 1/4 in × 45 in)
สภาพlost
สถานที่Van Gogh Museum, Amsterdam
พิกัด52°21′30″N 4°52′52″E / 52.35833°N 4.88111°E / 52.35833; 4.88111
เจ้าของMade-up Foundation
การเข้าถึง1903-1234
เว็บไซต์example.com
{{กล่องข้อมูล งานศิลป์
| title = The Potato Eaters
| painting_alignment = right
| other_language_1 = [[Dutch language|Dutch]]
| other_title_1 = {{Lang|nl|De Aardappeleters}}
| image = Vincent Van Gogh - The_Potato_Eaters.png
| alt = Two men and three women eating potatoes
| caption = 
| artist = [[Vincent van Gogh]]
| year = {{start date|1885}}
| catalogue = F123
| medium = [[Oil painting|Oil on canvas]]
| movement = [[Post-Impressionism]]
| height_metric = 82
| width_metric = 114
| height_imperial = {{เศษ|32|1|4}}
| width_imperial = 45
| condition = lost
| museum = [[Van Gogh Museum]]
| city = [[Amsterdam]]
| coordinates = {{coord|52|21|30|N|4|52|52|E|region:NL_type:landmark|display=inline,title}}
| owner = Made-up Foundation
| accession = 1903-1234
| website = {{URL|example.com}}
}}
Manneken Pis
ข้อผิดพลาด Lua ใน มอดูล:Location_map บรรทัดที่ 522: Unable to find the specified location map definition: "Module:Location map/data/Belgium Brussels" does not exist
ศิลปินJerome Duquesnoy
ปี1388: original version
ค.ศ. 1619 (1619): current version
สื่อBronze
มิติ61 cm (24 นิ้ว)
สถานที่Brussels
พิกัด50°50′42″N 4°21′00″E / 50.84499°N 4.34998°E / 50.84499; 4.34998
{{กล่องข้อมูล งานศิลป์
| title = ''Manneken Pis''
| image = Bruxelles Manneken Pis.jpg
| image_upright = 1.1
| wikidata = Q152072
| artist = [[Jerome Duquesnoy]]
| year = 1388: original version<br />{{Start date|1619}}: current version
| medium = Bronze
| height_metric = 61
| city = [[Brussels]]
| coordinates = {{coord|50.84499|4.34998|display=inline,title}} 
| pushpin_map = Belgium Brussels
| map_size = 250
}}

ข้อมูลแม่แบบ[แก้]

TemplateData documentation used by VisualEditor and other tools

An infobox for artwork

พารามิเตอร์แม่แบบ

This template prefers block formatting of parameters.

พารามิเตอร์คำอธิบายชนิดสถานะ
Titletitle

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

สตริงเลือกได้
Image fileimage image_file

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

ไฟล์เลือกได้
Image sizeimage_size

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

จำนวนเลิกใช้แล้ว
Image scaleimage_upright

Image scaling factor; reduce for portraits

ค่าปริยาย
1.36
ตัวอย่าง
1.1
จำนวนเลือกได้
Image alternative textalt

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

สตริงเลือกได้
Captioncaption

A caption to be displayed under the image

สตริงเลือกได้
Infobox alignmentpainting_alignment

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

สตริงเลือกได้
Secondary title languageother_language_1

The language of a secondary title

สตริงเลือกได้
Secondary titleother_title_1

A secondary title.

สตริงเลือกได้
Tertiary title languageother_language_2

The language of a tertiary title

สตริงเลือกได้
Tertiary titleother_title_2

A tertiary title.

สตริงเลือกได้
Wikidatawikidata

The QID of the specific Wikidata item

สตริงเลือกได้
Artist nameartist

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

สตริงเลือกได้
Yearyear

The year the artwork was created

สตริงเลือกได้
Completion datecompletion_date

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

สตริงเลือกได้
Catalogue numbercatalogue

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

สตริงเลือกได้
Typetype

<span style="color: #FF0000;">Deprecated:</span> The type of the artwork. Use "medium" and "movement" instead.

สตริงเลิกใช้แล้ว
Mediummedium

The material used by the artist or designer to create the work of art

ตัวอย่าง
Charcoal on paper
สตริงเลือกได้
Movementmovement

[[Art movement]], or movements, typically associated with work of art or time during artist's career when work of art was created. Must be verifiable through sources.

ตัวอย่าง
Post-Impressionism
ค่าอัตโนมัติ
สตริงเลือกได้
Subjectsubject

The subject(s) of the artwork

สตริงเลือกได้
Height (metric)height_metric

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

จำนวนเลือกได้
Width (metric)width_metric

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

จำนวนเลือกได้
Length (metric)length_metric

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

จำนวนเลือกได้
Height (imperial)height_imperial

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

จำนวนเลือกได้
Height (inch addition)height_inch

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

จำนวนเลือกได้
Width (imperial)width_imperial

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

จำนวนเลือกได้
Width (inch addition)width_inch

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

จำนวนเลือกได้
Length (imperial)length_imperial

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

จำนวนเลือกได้
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

จำนวนเลือกได้
Diameter (metric)diameter_metric

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

จำนวนเลือกได้
Diameter (imperial)diameter_imperial

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

จำนวนเลือกได้
Metric unitmetric_unit

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

ค่าปริยาย
cm
สตริงเลือกได้
Imperial unitimperial_unit

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

ค่าปริยาย
in
สตริงเลือกได้
Dimensionsdimensions

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

สตริงเลือกได้
Dimensions reference(s)dimensions_ref

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

สตริงเลือกได้
Weightweight

The weight of the artwork

สตริงเลือกได้
Designationdesignation

The legal protection granted to the artwork

สตริงเลือกได้
Conditioncondition

The condition of the artwork

สตริงเลือกได้
Museummuseum

The museum that currently houses the artwork

สตริงเลือกได้
Citycity

The city in which the artwork is currently located

สตริงเลือกได้
Coordinatescoordinates

Coordinates for the artwork, input as a coordinate template

สตริงเลือกได้
Ownerowner

The current owner of the artwork

สตริงเลือกได้
Accession numberaccession

The accession number(s) for the artwork

สตริงเลือกได้
Modulemodule

An embedded template

สตริงเลือกได้
Websitewebsite

Website for the artwork, input as a URL template

สตริงเลือกได้
Italic titleitalic title

Set to no if automatic title italicization is not required. Set to force if the title is not being italicized when it should be.

ตัวอย่าง
no
บรรทัดเลือกได้

ไมโครฟอร์แมต[แก้]

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • 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.

หมวดหมู่ติดตาม[แก้]

ดูเพิ่ม[แก้]