Template:Infobox museum/doc: Difference between revisions
Jump to navigation
Jump to search
→Parameters: fix doc
m (1 revision imported) |
(→Parameters: fix doc) |
||
Line 6: | Line 6: | ||
Copy a blank version to use. All fields '''''must''''' be [[lowercase]]. | Copy a blank version to use. All fields '''''must''''' be [[lowercase]]. | ||
{{Parameter names example | name | native_name | native_name_lang | logo | logo_upright | logo_alt | logo_caption | image | image_upright | alt | caption | pushpin_map= | map_type= | map_caption | map_size | pushpin_relief | map_relief | map dot label | former_name | established | dissolved | location | coordinates | type | accreditation | key_holdings | collections | collection | collection_size | collection size | visitors | founder | director | president | ceo | leader | curator | architect | historian | owner | publictransit | parking | car_park | website | network | nrhp | embedded }} | {{Parameter names example | name | native_name | native_name_lang | logo | logo_upright | logo_alt | logo_caption | image | image_upright | alt | caption | pushpin_map= | map_type= | map_caption | map_size | pushpin_relief | map_relief | map dot label | former_name | established | dissolved | location | coordinates | type | accreditation | key_holdings | collections | collection | collection_size | collection size | visitors | founder | director | president | ceo | chairperson | leader | curator | architect | historian | owner | publictransit | parking | car_park | website | network | nrhp | embedded }} | ||
<pre style="overflow: auto;">{{Infobox museum | <pre style="overflow: auto;">{{Infobox museum | ||
Line 54: | Line 54: | ||
| embedded = | | embedded = | ||
}}</pre> | }}</pre> | ||
=== Embedding other templates === | |||
The '''embedded''' parameter is used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]). | |||
<pre style="overflow: auto;"> | |||
{{Infobox museum | |||
| name = | |||
| <!-- etc. --> | |||
| embedded = | |||
{{Infobox NRHP | |||
| embed = yes <!-- or child=yes or subbox=yes--> | |||
| <!-- etc. --> | |||
}} | |||
}} | |||
</pre> | |||
== Parameters == | == Parameters == | ||
Line 88: | Line 103: | ||
; president : Alternative to "director" above | ; president : Alternative to "director" above | ||
; ceo : Alternative to "ceo" above | ; ceo : Alternative to "ceo" above | ||
; chairperson : The museum's chair <br /> <nowiki> Example: [[Harold Saxon]]</nowiki> | |||
; curator : The [[curator]] of the museum <br /> <nowiki> Example: [[John Smith]]</nowiki> | ; curator : The [[curator]] of the museum <br /> <nowiki> Example: [[John Smith]]</nowiki> | ||
; architect : The [[architect]] of the museum <br /> <nowiki> Example: [[John Smith]]</nowiki> | ; architect : The [[architect]] of the museum <br /> <nowiki> Example: [[John Smith]]</nowiki> | ||
Line 97: | Line 113: | ||
; network : If the museum is part of a museum network, specify the network name to invoke one of the [//en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=Infobox+museum&namespace=10 network templates]. | ; network : If the museum is part of a museum network, specify the network name to invoke one of the [//en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=Infobox+museum&namespace=10 network templates]. | ||
; website : Official or primary website operated by the museum. Use the template {{tl|URL}}. <br /> Example: <nowiki>{{URL|example.org}}</nowiki> | ; website : Official or primary website operated by the museum. Use the template {{tl|URL}}. <br /> Example: <nowiki>{{URL|example.org}}</nowiki> | ||
; | ; embed : Enter <code>yes</code> if this template is used as a module (sub-template) of another infobox. | ||
===Mapframe map=== | |||
A [[Template:Mapframe|Mapframe]] map is automatically included if: | |||
* There are coordinates specified on the page's Wikidata item | |||
* It has not be turned off by setting {{para|mapframe|no}} | |||
The following optional parameters can then be used to adjust the map | |||
* {{para|mapframe-zoom}} zoom level (default is {{kbd|10}}) | |||
* {{para|mapframe-width}} and {{para|mapframe-height}} for the map size (defaults are {{kbd|270}} and {{kbd|200}}) | |||
* {{para|mapframe-marker}} for the [[mw:Help:Extension:Kartographer/Icons|marker icon]] (default is {{kbd|museum}}) | |||
* either {{para|mapframe-marker-color}} or {{para|mapframe-marker-colour}} for the marker colour ([[hex triplet]], default is <code>#5E74F3</code>) | |||
* {{para|mapframe-caption}} caption below the map | |||
* {{para|mapframe-lat}} and {{para|mapframe-long}} (or {{para|mapframe-latitude}} and {{para|mapframe-longitude}}) – alternate initial latitude and longitude for the map, instead of the museum's coordinates. Specify as a decimal number. | |||
==Microformat== | ==Microformat== |