Difference between revisions of "Template:Infobox Museum"

From WikiRug
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
|caption    = {{{caption|}}}
 
|caption    = {{{caption|}}}
  
|image2     = {{{image2|}}}
+
|image2       = {{{image2|}}}
|caption2   = {{{caption2|}}}
+
|caption2     = {{{caption2|}}}
 +
| image3      = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type}}}}}}
 +
| border  = infobox
 +
| caption = {{#switch:{{{map_caption|}}}|#default={{{map_caption}}}|none=|=Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}}
 +
| float  = center
 +
| alt = {{{map_alt|}}}
 +
| width  = {{#if:{{{map_size|}}}|{{{map_size}}}|220}}
 +
| relief  = {{{pushpin_relief|{{{map_relief|}}}}}}
 +
| label  = {{{map dot label|{{{map_dot_label|}}}}}}
 +
| coordinates = {{{coordinates|}}}
 +
}}}}
  
 
|headerstyle = background:#eee
 
|headerstyle = background:#eee
Line 48: Line 58:
 
|header5    =
 
|header5    =
 
|label5      = Location
 
|label5      = Location
|data5      = {{{Location|}}}
+
|data5      = {{{Location|}}}  
 
|class5      =  
 
|class5      =  
  
 
|header6    =
 
|header6    =
|label6      = Director
+
|label6      = [[Geographic coordinate system|Coordinates]]
|data6      = {{{Director|}}}
+
|data6      = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}} }}
 
|class6      =  
 
|class6      =  
  
|header7     =
+
|header7   =
|label7      = Founded
+
|label7      = Director
|data7      = {{{Founded|}}}
+
|data7      = {{{Director|}}}
|class7     =  
+
|class7     =  
  
 
|header8    =
 
|header8    =
|label8      = Founder
+
|label8      = Founded
|data8     = {{{Founder|}}}
+
|data8       = {{{Founded|}}}
 
|class8    =  
 
|class8    =  
  
 
|header9    =
 
|header9    =
|label9      = Architect
+
|label9      = Founder
|data9       = {{{Architect|}}}
+
|data9     = {{{Founder|}}}
 
|class9    =  
 
|class9    =  
  
 
|header10    =
 
|header10    =
|label10      =  Collections
+
|label10      =  Architect
|data10      = {{{Collections|}}}
+
|data10      = {{{Architect|}}}
|class10    =
+
|class10    =  
  
|header11    =  
+
|header11    =
|label11      = Collections location
+
|label11      = Collections
|data11      = {{{Collections location|}}}
+
|data11      = {{{Collections|}}}
|class11    =  
+
|class11    =
  
|header12    = Contact information
+
|header12    =  
|label12      =  
+
|label12      = Collections location
|data12      =  
+
|data12      = {{{Collections location|}}}
|class12     =  
+
|class12     =  
  
|header13    =
+
|header13    =  
|label13      = Map
+
|label13      = Carpet Collection Size
|data13      = {{{Map|}}}
+
|data13      = {{{Carpet Collection Size|}}}
|class13     =
+
|class13     =  
  
|header14    =
+
|header14    =  
|label14      = Address
+
|label14      = Website
|data14     = {{{Address|}}}
+
|data14      = {{{Website|}}}
|class14    =
+
|class14     =
 
 
|header15    =
 
|label15      = Phone
 
|data15      = {{{Phone|}}}
 
|class15    =
 
 
 
|header16    =
 
|label16      = E-mail
 
|data16      = {{{E-mail|}}}
 
|class16      =
 
 
 
|header17    =
 
|label17      = Website
 
|data17       = {{{Website|}}}
 
|class17      =
 
 
 
|header18     = Social networks
 
|label18      =
 
|data18      =
 
|class18      =
 
 
 
|header19    =
 
|label19      = [[File:Logo Instagram.png|15px]]
 
|data19      = {{{Instagram|}}}
 
|class19      =  
 
  
 
|belowstyle = line-height:1.35em;
 
|belowstyle = line-height:1.35em;
Line 132: Line 117:
 
{{Infobox Museum
 
{{Infobox Museum
 
|above      =
 
|above      =
|image      =  
+
|image      = [[File:example.jpg|250px]]
 
|caption    =  
 
|caption    =  
  
|image2      =  
+
|image2      = [[File:example.jpg|250px]]
 
|caption2    =  
 
|caption2    =  
  
Line 142: Line 127:
 
|Name          =
 
|Name          =
 
|Original name    =
 
|Original name    =
|Alternative names     =  
+
|Alternative names     =  
  
|Location   =
+
|Location     =
|Director   =
+
|Coordinates    =
 +
|Director     =
 
|Founded    =
 
|Founded    =
|Founder   =
+
|Founder     =  
|Architect   =
+
|Architect     =
|
+
|Collections      = 
|Collections   =
+
|Collections location      =  
|Collections location    =
+
|Carpet Collection Size      =  
|Category     =  
+
|Website     =  
 
|To know more      =   
 
|To know more      =   
 
 
<!--Contact information-->
 
|Map      =
 
|Address      =
 
|Phone      =
 
|E-mail    =
 
|Website    =
 
 
<!--Social networks-->
 
|Instagram      =
 
  
 
|additional info      =  
 
|additional info      =  

Latest revision as of 09:24, 25 March 2020

Infobox Museum
General information


Template documentation[create]

Usage

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

{{Infobox Museum
|above       =
|image       = [[File:example.jpg|250px]]
|caption     = 

|image2      = [[File:example.jpg|250px]]
|caption2    = 

<!--General information-->

|Name          =
|Original name     =
|Alternative names     = 

|Location     =
|Coordinates     =
|Director     =
|Founded    =
|Founder      = 
|Architect      =  
|Collections      =  
|Collections location      = 
|Carpet Collection Size      = 
|Website      = 
|To know more      =   

|additional info      = 
}}