J u m p t o c o n t e n t
M a i n m e n u
M a i n m e n u
N a v i g a t i o n
● M a i n p a g e
● C o n t e n t s
● C u r r e n t e v e n t s
● R a n d o m a r t i c l e
● A b o u t W i k i p e d i a
● C o n t a c t u s
● D o n a t e
C o n t r i b u t e
● H e l p
● L e a r n t o e d i t
● C o m m u n i t y p o r t a l
● R e c e n t c h a n g e s
● U p l o a d f i l e
S e a r c h
Search
A p p e a r a n c e
● C r e a t e a c c o u n t
● L o g i n
P e r s o n a l t o o l s
● C r e a t e a c c o u n t
● L o g i n
P a g e s f o r l o g g e d o u t e d i t o r s l e a r n m o r e
● C o n t r i b u t i o n s
● T a l k
( T o p )
1
E x a m p l e
2
S e e a l s o
T o g g l e t h e t a b l e o f c o n t e n t s
T e m p l a t e : W i k i d a t a C o o r d
5 5 l a n g u a g e s
● A f r i k a a n s
● ا ل ع ر ب ي ة
● ت ۆ ر ک ج ه
● B a s a B a l i
● ব া ং ল া
● 閩 南 語 / B â n - l â m - g ú
● Б а ш ҡ о р т с а
● भ ो ज प ु र ी
● B i k o l C e n t r a l
● B o s a n s k i
● D a n s k
● D e u t s c h
● Ε λ λ η ν ι κ ά
● E s p e r a n t o
● ف ا ر س ی
● F i j i H i n d i
● F ø r o y s k t
● F r a n ç a i s
● ગ ુ જ ર ા ત ી
● 한 국 어
● I l o k a n o
● B a h a s a I n d o n e s i a
● Í s l e n s k a
● J a w a
● K u r d î
● L a d i n
● L i e t u v i ų
● М а к е д о н с к и
● മ ല യ ാ ള ം
● B a h a s a M e l a y u
● ꯃ ꯤ ꯇ ꯩ ꯂ ꯣ ꯟ
● 閩 東 語 / M ì n g - d ĕ ̤ n g - n g ṳ ̄
● М о н г о л
● မ ြ န ် မ ာ ဘ ာ သ ာ
● N e d e r l a n d s
● न े प ा ल ी
● 日 本 語
● O ʻ z b e k c h a / ў з б е к ч а
● ਪ ੰ ਜ ਾ ਬ ੀ
● S c o t s
● ස ි ං හ ල
● S i m p l e E n g l i s h
● س ن ڌ ي
● S l o v e n š č i n a
● ک و ر د ی
● T a g a l o g
● ၽ ႃ ႇ သ ႃ ႇ တ ႆ း
● త ె ల ు గ ు
● ไ ท ย
● T ü r k ç e
● У к р а ї н с ь к а
● T i ế n g V i ệ t
● 粵 語
● 中 文
● D u s u n B u n d u - l i w a n
E d i t l i n k s
● T e m p l a t e
● T a l k
E n g l i s h
● R e a d
● V i e w s o u r c e
● V i e w h i s t o r y
T o o l s
T o o l s
A c t i o n s
● R e a d
● V i e w s o u r c e
● V i e w h i s t o r y
G e n e r a l
● W h a t l i n k s h e r e
● R e l a t e d c h a n g e s
● U p l o a d f i l e
● S p e c i a l p a g e s
● P e r m a n e n t l i n k
● P a g e i n f o r m a t i o n
● G e t s h o r t e n e d U R L
● D o w n l o a d Q R c o d e
● W i k i d a t a i t e m
P r i n t / e x p o r t
● D o w n l o a d a s P D F
● P r i n t a b l e v e r s i o n
A p p e a r a n c e
C o o r d i n a t e s : 4 7 ° 3 4 ′ 12 ″ N 5 2 ° 4 0 ′ 55 ″ W / 4 7 . 5 7 0 0 0 ° N 5 2 . 6 8 1 9 4 ° W / 47.57000; -52.68194
F r o m W i k i p e d i a , t h e f r e e e n c y c l o p e d i a
( R e d i r e c t e d f r o m T e m p l a t e : C o o r d W i k i d a t a )
This template uses Lua :
This template uses the
Wikidata property:
This template takes geographic coordinate data in the form provided by Wikidata (dms), formats the data into the form required by Template:Coord , and then calls Template:Coord to create links to GeoHack. The basic form is:
{{WikidataCoord| wikidata page name | coordinate parameters | template parameters }}
wikidata page name
– unnamed positional parameter is the Wikidata page name (starting with Q). Default is the current page.
coordinate parameters
– passed through to Template:Coord unmodified; see §Usage at Template:Coord
template parameters
– passed through to Template:Coord unmodified; see §Usage at Template:Coord
|display=
behavior is different from Template:Coord:
when |display=
is not present, the rendered coordinates are displayed at the top of the page (equivalent to |display=title
):
{{WikidataCoord|Q218501}}
→ 47°34′12 ″N 52°40′55 ″W / 47.57000°N 52.68194°W / 47.57000; -52.68194 (display at top of page). Only for these combinations the use of this template is restricted:
This template does not display in the mobile view of Wikipedia; it is desktop only . Read the documentation for an explanation.
when |display=
is present but empty, the rendered coordinates are displayed in line (equivalent to |display=inline
):
{{WikidataCoord|Q24012602|display=}}
→ 53°40′36 ″N 112°49′43 ″W / 53.67667°N 112.82861°W / 53.67667; -112.82861
to make the coordinates visible for mobile users, one would use |display=inline,title
so that it will display within an infobox and at the top of the page of an article.
Example
For an article that has a |coordinates=
parameter within an infobox, use:
|coordinates=
{{WikidataCoord |display=inline,title}}
See also
R e t r i e v e d f r o m " https://en.wikipedia.org/w/index.php?title=Template:WikidataCoord&oldid=1051978783 "
C a t e g o r i e s :
● L u a - b a s e d t e m p l a t e s
● T e m p l a t e s u s i n g d a t a f r o m W i k i d a t a
● C o o r d i n a t e s t e m p l a t e s
H i d d e n c a t e g o r i e s :
● P a g e s u s i n g g a d g e t W i k i M i n i A t l a s
● W i k i p e d i a e x t e n d e d - c o n f i r m e d - p r o t e c t e d t e m p l a t e s
● T h i s p a g e w a s l a s t e d i t e d o n 2 6 O c t o b e r 2 0 2 1 , a t 1 7 : 2 4 ( U T C ) .
● T e x t i s a v a i l a b l e u n d e r t h e C r e a t i v e C o m m o n s A t t r i b u t i o n - S h a r e A l i k e L i c e n s e 4 . 0 ;
a d d i t i o n a l t e r m s m a y a p p l y . B y u s i n g t h i s s i t e , y o u a g r e e t o t h e T e r m s o f U s e a n d P r i v a c y P o l i c y . W i k i p e d i a ® i s a r e g i s t e r e d t r a d e m a r k o f t h e W i k i m e d i a F o u n d a t i o n , I n c . , a n o n - p r o f i t o r g a n i z a t i o n .
● P r i v a c y p o l i c y
● A b o u t W i k i p e d i a
● D i s c l a i m e r s
● C o n t a c t W i k i p e d i a
● C o d e o f C o n d u c t
● D e v e l o p e r s
● S t a t i s t i c s
● C o o k i e s t a t e m e n t
● M o b i l e v i e w