Anonymous user
Template:Infobox museum/doc: Difference between revisions
m
+ {{High-use}}
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Fred Gandt m (+ {{High-use}}) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --><!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --><!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
{{High-use}} | |||
{{Auto short description|conditions=when '''Type''' includes one of: Museum / Hall / Gallery / Center}} | {{Auto short description|conditions=when '''Type''' includes one of: Museum / Hall / Gallery / Center}} | ||
{{Lua|Module:Check for unknown parameters|Module:Infobox|Module:InfoboxImage|Module:Location map|Module:Type in location}} | {{Lua|Module:Check for unknown parameters|Module:Infobox|Module:InfoboxImage|Module:Location map|Module:Type in location}} | ||
Line 63: | Line 64: | ||
The '''embedded''' parameter is used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]). | The '''embedded''' parameter is used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]). | ||
< | <syntaxhighlight lang="html" style="overflow: auto;"> | ||
{{Infobox museum | {{Infobox museum | ||
| name = | | name = | ||
Line 73: | Line 74: | ||
}} | }} | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
Line 88: | Line 89: | ||
; alt : [[WP:ALT|Alt text]] for image, for people who can't see the image | ; alt : [[WP:ALT|Alt text]] for image, for people who can't see the image | ||
; caption : Image caption | ; caption : Image caption | ||
; map_type : The name of the map template used to construct location map, see [[Template:Location map#Available | ; map_type : The name of the map template used to construct location map, see [[Template:Location map#Available maps]] <br> Example: [[Module:Location map/data/USA Alabama|USA Alabama]]. | ||
; map_relief : Set this to <code>y</code> or any non-blank value to use a [[relief mapping (computer graphics)|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_relief : Set this to <code>y</code> or any non-blank value to use a [[relief mapping (computer graphics)|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. <br> Example: <code>map_size=230</code> (not <code>map_size=230px</code>). | ; map_size : Specify a pixel width for the map image. The default is 220. <br> Example: <code>map_size=230</code> (not <code>map_size=230px</code>). | ||
Line 98: | Line 99: | ||
; dissolved : If [[wikt:defunct|defunct]], date the museum was dissolved. Use {{Tl|End date}}. <br> Example: <nowiki>{{End date|2007|12|31}}</nowiki> | ; dissolved : If [[wikt:defunct|defunct]], date the museum was dissolved. Use {{Tl|End date}}. <br> Example: <nowiki>{{End date|2007|12|31}}</nowiki> | ||
; location : Location of the museum <br> Example: <nowiki>[[National Mall]], [[Washington D.C.]], [[United States|US]]</nowiki> <br> Example: <nowiki>[[Moncton]], [[New Brunswick]], [[Canada]]</nowiki> | ; location : Location of the museum <br> Example: <nowiki>[[National Mall]], [[Washington D.C.]], [[United States|US]]</nowiki> <br> Example: <nowiki>[[Moncton]], [[New Brunswick]], [[Canada]]</nowiki> | ||
; type : [[:Category:Types of | ; type : [[:Category:Types of museums|Type of museum]], most likely ''Art museum'', ''Science museum'', ''Children's museum'', ''General interest'' or similar <br> Example: <nowiki>[[Art museum]]</nowiki> <br> Example: <nowiki>[[Science museum]]</nowiki> <br> Example: <nowiki>[[Children's museum]]</nowiki> | ||
; accreditation : Accreditation <br> Example: <nowiki>[[American Alliance of Museums]]</nowiki> <br> | ; accreditation : Accreditation <br> Example: <nowiki>[[American Alliance of Museums]]</nowiki> <br> | ||
; key_holdings : Key holdings<br> Example: <nowiki>[[Flaming June]]</nowiki> <br> | ; key_holdings : Key holdings<br> Example: <nowiki>[[Flaming June]]</nowiki> <br> | ||
Line 209: | Line 210: | ||
], | ], | ||
"label": "Map type", | "label": "Map type", | ||
"description": "The name of the map template used to construct location map, see | "description": "The name of the map template used to construct location map, see Template:Location map#Available maps", | ||
"example": "USA Alabama", | "example": "USA Alabama", | ||
"type": "line", | "type": "line", | ||
Line 232: | Line 233: | ||
], | ], | ||
"label": "Show map relief", | "label": "Show map relief", | ||
"description": "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 | "description": "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", | ||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
Line 498: | Line 499: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Museum templates]] | |||
[[Category:Buildings and structures infobox templates|Museum]] | [[Category:Buildings and structures infobox templates|Museum]] | ||
[[Category:Embeddable templates]] | [[Category:Embeddable templates]] |