Difference between revisions of "Template:Kosher Establishment"

From yidtravel
Jump to: navigation, search
Line 52: Line 52:
 
{{#set:Coordinates={{{The coordinates|}}} }}
 
{{#set:Coordinates={{{The coordinates|}}} }}
 
{{#arraydefine: Cor|{{{The coordinates|}}} }}
 
{{#arraydefine: Cor|{{{The coordinates|}}} }}
{{#if:{{{The coordinates|}}}|{{#widget:Google Street View
+
{{#widget:Google Street View
 
|lat={{#arrayindex:Cor |0 }}
 
|lat={{#arrayindex:Cor |0 }}
 
|lng={{#arrayindex:Cor|-1 }}
 
|lng={{#arrayindex:Cor|-1 }}
Line 61: Line 61:
 
|height=375
 
|height=375
 
}}
 
}}
|}}
+
 
 +
 
 +
{{#if:{{{The coordinates|}}}|
 
{{#widget:Widget:Google Maps  
 
{{#widget:Widget:Google Maps  
 
|lat={{#arrayindex:Cor |0 }}
 
|lat={{#arrayindex:Cor |0 }}
Line 70: Line 72:
 
|height=375
 
|height=375
 
}}
 
}}
 
+
|}}
  
 
</includeonly>
 
</includeonly>
 
[[category:KE]]
 
[[category:KE]]

Revision as of 12:34, 28 January 2015

This is the "Kosher Establishment" template. It should be called in the following format:

{{Kosher Establishment
|ADDRESS:=
|OFFICIAL CITY NAME:=
|CITY:=
|STATE:=
|ZIPCODE:=
|COUNTRY:=
|PHONE NUMBER:=
|WEB PAGE:=
|MEAT / DAIRY:=
|The coordinates=
}}

Edit the page to see the template text.