Uporaba

uredi

Skopirajte spodnjo prazno verzijo v članek. Vsi parametri morajo biti napisani z malimi črkami.

{{{name}}}
{{{native_name}}}
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Prejšnje ime{{{former_name}}}
Ustanovitev{{{established}}}
Ukinitev{{{dissolved}}}
Lokacija{{{location}}}
Koordinate{{{coordinates}}}
Tip{{{type}}}
Akreditacija{{{accreditation}}}
Ključna posest{{{key_holdings}}}
Zbirke{{{collections}}}
Velikost zbirke{{{collection_size}}}
Obiskovalci{{{visitors}}}
Ustanovitelj{{{founder}}}
Izvršilni direktor{{{executive_director}}}
{{{leader_type}}}{{{leader}}}
Direktor{{{director}}}
Predsednik{{{president}}}
CEO{{{ceo}}}
Predsedujoči{{{chairperson}}}
Kustos{{{curator}}}
Arhitekt{{{architect}}}
Zgodovinar{{{historian}}}
Lastnik{{{owner}}}
Število zaposlenih{{{employees}}}
Dostop{{{publictransit}}}
Najbližje parkirišče{{{parking}}}
Spletna stran{{{website}}}
{{Infopolje Muzej/{{{network}}} network|header}}
{{Infopolje Muzej/{{{network}}} network|data}}
{{{embedded}}}
{{Infopolje Muzej
| name                = 
| native_name         = 
| native_name_lang    = 
| logo                = 
| logo_upright        = 
| logo_alt            = 
| logo_caption        = 
| image               = 
| image_size          = 
| image_upright       = 
| alt                 = 
| caption             = 
| map_type            = 
| map_relief          = 
| map_size            = 
| map_caption         = 
| map_dot_label       = 
| coordinates         = <!-- {{koord|LAT|LON|display=inline,title}} -->
| former_name         = <!-- or |former_names= -->
| established         = <!-- {{start date|YYYY|MM|DD|df=y}} -->
| dissolved           = <!-- {{end date|YYYY|MM|DD|df=y}} -->
| location            = 
| type                = 
| accreditation       = 
| key_holdings        = 
| collections         = 
| collection_size     = 
| visitors            = 
| founder             = 
| executive_director  = 
| leader_type         = 
| leader              = 
| director            = 
| president           = 
| ceo                 = 
| chairperson         = 
| curator             = 
| architect           = 
| historian           = 
| owner               = 
| employees           = 
| publictransit       = 
| parking             = <!-- or |car_park= -->
| website             = <!-- {{URL|example.com}} -->
| network             = 
| embedded            = <!-- or |nrhp= -->
}}

Vključevanje drugih predlog

uredi

The embedded parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).

{{Infopolje Muzej
| name =
| <!-- etc. -->
| embedded =
  {{Infobox NRHP
  | embed = yes <!-- or child=yes or subbox=yes-->
  | <!-- etc. -->
  }}
}}

Parameters

uredi

Note that the examples below are presented in wikicode and do not necessarily reflect actual statistics.

name
Name of the museum
Example: Foo Museum of Art
native_name
Name of the museum in the local language, if different
native_name_lang
ISO 639-2 code for the local language, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead.
logo
Logo or graphic by which the museum is identified, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Louvre.jpg
logo_upright
Logo scaling factor
logo_alt
Alt text for the logo, for people who can't see the image
logo_caption
Caption for the logo
image
Image of the museum, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Louvre.jpg
image_upright
Image scaling factor
alt
Alt text for image, for people who can't see the image
caption
Image caption
map_type
The name of the map template used to construct location map, see Template:Location map#Available map templates
Example: USA Alabama.
map_relief
Set this to y or any non-blank value to use a relief map image provided by the selected location map template (if a relief map is available). For additional information, see Template:Location map#Relief parameter.
map_size
Specify a pixel width for the map image. The default is 220.
Example: map_size=230 (not map_size=230px).
map_caption
Text displayed below the map image.
Example: FooTown
map_dot_label
Text displayed on the map dot.
coordinates
Latitude and longitude. Use {{Koord novi}}; see that template's documentation for usage information.
former_name
Previous name(s)
established
Date of the museum's establishment. Use {{Start date}}.
Example: {{Start date|1997|03|31}}
dissolved
If defunct, date the museum was dissolved. Use {{End date}}.
Example: {{End date|2007|12|31}}
location
Location of the museum
Example: [[National Mall]], [[Washington D.C.]], [[United States|US]]
Example: [[Moncton]], [[New Brunswick]], [[Canada]]
type
Type of museum, most likely Art museum, Science museum, Children's museum, General interest or similar
Example: [[Art museum]]
Example: [[Science museum]]
Example: [[Children's museum]]
accreditation
Accreditation
Example: [[American Alliance of Museums]]
key_holdings
Key holdings
Example: [[Flaming June]]
collections
Collections
Example: [[Baroque]]
Example: [[Pre-Raphaelite]]
Example: [[Golden Age]]
collection_size
Number of objects
visitors
Number of visitors
Example: 417,096 (2005)
founder
The museum's founder
Example: [[Harold Saxon]]
executive_director
The museum's executive director
Example: [[Harold Saxon]]
Alias: executive director
director
The museum's director
Example: [[Harold Saxon]]
president
Alternative to "director" above
ceo
Alternative to "ceo" above
chairperson
The museum's chair
Example: [[Harold Saxon]]
curator
The curator of the museum
Example: [[John Smith]]
architect
The architect of the museum
Example: [[John Smith]]
historian
The historian of the museum
Example: [[John Smith]]
owner
The owner of the museum
Example: [[Government of the City of Miami]]
employees
The number of employees.
publictransit
The nearest public transport stop
Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]
car_park
The nearest car park
Example: On site (no charge)
parking
Same as car park, but instead renders the label as "parking" for WP:ENGVAR purposes
website
Official or primary website operated by the museum. Use the template {{URL}}.
Example: {{URL|example.org}}
network
If the museum is part of a museum network, specify the network name to invoke one of the network templates.
embedded
Enter yes if this template is used as a module (sub-template) of another infobox.

Zemljevi Mapframe

uredi

A Mapframe map is automatically included if:

  • There are coordinates specified on the page's Wikidata item
  • It has not been turned off by setting |mapframe=no
  • Either another type of map has not been set, or |mapframe=yes is set

The following parameters are available for adjusting the mapframe map:

  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no if a pushpin map or map image is specified, yes otherwise
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to yes to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • Customise which features are displayed:
    • mapframe-shape – Turn off display of shape feature by setting to none. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for država (P17), P131 for je v (P131)). Default: museum
    • mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – switch geomasks found in kraj (P276) and je v (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: museum
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
    • mapframe-zoom – Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates

Microformat

uredi

HTML-koda, ki jo sestavi ta predloga, vključuje mikroformat hCard, ki omogoča strojno razčlenjevanje imen in naslovov, na primer za katalogiziranje člankov ali vključevanje podatkov o subjektu v adresar.

Znotraj hCarda mikroformat Geo, ki omogoča še strojno razčlenjevanje koordinat (zemljepisna širina in dolžina), zato jih je denimo možno preveriti na digitalnem zemljevidu ali spraviti v GPS-napravo.

Če opisujete kraj, ki ima datum ustanovitve oz. odprtja, uporabite {{Start date}}. Če ima spletno stran, uporabite {{URL}}.

Hcard uporablja naslednje razrede HTML:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Geo je produkt klica predloge {{koord}} in uporablja naslednje razrede HTML:

  • geo
  • latitude
  • longitude

Prosimo, ne preimenujte ali odstranjujte teh razredov.

Ob podajanju koordinat se prosimo izogibajte pretirani natančnosti.

TemplateData

uredi
To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Infopolje Muzej

An infobox for museums

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo je priporočljiva postavitev parametrov v bloku.

ParameterOpisVrstaStanje
Namename

Name of the museum

Zgled
Foo Museum of Art
Vrsticapredlagano
Native namenative_name

Name of the museum in the local language, if different

Vrsticaneobvezno
Native name languagenative_name_lang

The language of the native name

Vrsticaneobvezno
Logologo

Logo or graphic by which the museum is identified

Zgled
Louvre.jpg
Datotekapredlagano
Logo uprightlogo_upright

Logo scaling factor

Številkaneobvezno
Logo alt textlogo_alt

Alt text for the logo, for people who can't see the image

Neznanoneobvezno
Logo captionlogo_caption

The caption for the logo

Nizneobvezno
Imageimage

An image of the museum

Zgled
Louvre.jpg
Datotekapredlagano
image_sizeimage_size imagesize

brez opisa

Nizneobvezno
Image uprightimage_upright

Scaling factor for the image

Številkaneobvezno
Image captioncaption

A caption for the image

Nizneobvezno
Image alt textalt

Alt text for image, for people who can't see the image

Nizneobvezno
Map typemap_type pushpin_map image_map

The name of the map template used to construct location map, see [[Template:Location map#Available map templates]]

Zgled
USA Alabama
Vrsticapredlagano
Map captionmap_caption

Text displayed below the map image, if latitude and longitude are used

Zgled
FooTown
Vrsticaneobvezno
Map sizemap_size

Specify a pixel width for the map image

Privzeto
250
Zgled
250
Številkaneobvezno
Show map reliefmap_relief pushpin_relief

Set this to y or any non-blank value to use a relief map image provided by the selected location map template (if a relief map is available). For additional information, see [[Template:Location map#Relief parameter]]

Boolneobvezno
map_dot_labelmap_dot_label map dot label

brez opisa

Nizneobvezno
Former nameformer_name former_names

Previous name(s)

Vrsticapredlagano
Establishedestablished

Date of establishment, using {{Start date}}

Zgled
{{Start date|1997|03|31}}
Predlogapredlagano
Dissolveddissolved

If defunct, date the museum was dissolved. Use {{End date}}

Zgled
{{End date|2007|12|31}}
Predloganeobvezno
Locationlocation

Location of the museum

Zgled
[[National Mall]], [[Washington D.C.]], [[United States|US]]
Vrsticapredlagano
Coordinatescoordinates

Alternative to other coordinates parameters, taking {{Coord}} as a single value

Zgled
{{Coord|44.112|N|87.913|W|display=title}}
Predloganeobvezno
Typetype

Type of museum, most likely Art museum, Science museum, Children's museum or similar

Zgled
[[Art museum]]
Vrsticapredlagano
Accreditationaccreditation

brez opisa

Zgled
[[American Alliance of Museums]]
Vrsticaneobvezno
Key holdingskey_holdings

Important holdings

Zgled
[[Flaming June]]
Vrsticaneobvezno
Collectionscollections collections_type

The types of collections held by the museum

Zgled
[[Baroque]]
Nizneobvezno
Collection sizecollection_size collection size collection

Number of objects

Zgled
20,000
Številkaneobvezno
Visitorsvisitors

Number of visitors

Zgled
417,096 (2005)
Vrsticaneobvezno
Founderfounder

The museum's founder

Zgled
[[Harold Saxon]]
Vrsticaneobvezno
Executive directorexecutive_director executive director

The museum's executive director

Vrsticaneobvezno
Directordirector

The museum's director

Vrsticaneobvezno
Presidentpresident

The museum's president

Vrsticaneobvezno
CEOceo

The museum's chief executive officer

Vrsticaneobvezno
Chairpersonchairperson

The museum's chair

Vrsticaneobvezno
Curatorcurator

The curator of the museum

Vrsticaneobvezno
Architectarchitect

The architect of the museum

Vrsticaneobvezno
Historianhistorian

The historian of the museum

Neznanoneobvezno
Ownerowner

The owner of the museum

Zgled
[[Government of the City of Miami]]
Vrsticaneobvezno
employeesemployees

brez opisa

Nizneobvezno
Public transportpublictransit

The nearest public transport stop

Zgled
[[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]
Vrsticaneobvezno
Parkingparking

The nearest car park

Zgled
On site (no charge)
Vrsticaneobvezno
Car parkcar_park

Same as car park, but instead renders the label as "parking" for [[WP:ENGVAR]] purposes

Vrsticaneobvezno
Websitewebsite

Official or primary website operated by the museum. Use the template {{URL}}.

Zgled
{{URL|example.org}}
Predlogapredlagano
Networknetwork

If the museum is part of a museum network, specify the network name to invoke one of the [https://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=Infobox+museum&namespace=10 network templates]

Vrsticaneobvezno
nrhpnrhp

brez opisa

Predloganeobvezno
embeddedembedded embed

brez opisa

Predloganeobvezno
leader_typeleader_type

brez opisa

Nizneobvezno
leaderleader

brez opisa

Nizneobvezno
map_altmap_alt

brez opisa

Nizneobvezno

Sledilne kategorije

uredi