Difference between revisions of "Template:Place"
From Shangpa Resource Center
| Line 19: | Line 19: | ||
{{#set:PlaceType={{{Place Type|}}}}} | {{#set:PlaceType={{{Place Type|}}}}} | ||
{{#arraymap:{{{Name Variants|}}}|,|x|{{#set:NameVariants=x}}}} | {{#arraymap:{{{Name Variants|}}}|,|x|{{#set:NameVariants=x}}}} | ||
| + | {{#Coordinates={{{Coordinates|}}}}} | ||
{{#arraymap:{{{Events|}}}|,|x|{{#set:Events=x}}}} | {{#arraymap:{{{Events|}}}|,|x|{{#set:Events=x}}}} | ||
{{#arraymap:{{{Links|}}}|,|x|{{#set:Links=x}}}} | {{#arraymap:{{{Links|}}}|,|x|{{#set:Links=x}}}} | ||
| Line 29: | Line 30: | ||
! Place Type | ! Place Type | ||
| {{{Place Type|}}} | | {{{Place Type|}}} | ||
| − | |- | + | {{#if: {{{Coordinates|}}} | |
| + | ! Coordinates | ||
| + | {{!}} {{{Coordinates|}}} | ||
| + | {{!}}-|}} | ||
!{{#ifexist: File:{{{Place ID|}}}.jpg | [[File:{{{Place ID|}}}.jpg|100px]] | [[File:PlaceDefaultImage.jpg|100px]] }} | !{{#ifexist: File:{{{Place ID|}}}.jpg | [[File:{{{Place ID|}}}.jpg|100px]] | [[File:PlaceDefaultImage.jpg|100px]] }} | ||
|- | |- | ||
Revision as of 19:36, 3 April 2019
This is the "Place" template. It should be called in the following format:
{{Place
|Place ID=
|Name=
|Place Type=
|Name Variants=
|Coordinates=
|Events=
|Notes=
|Links=
}}
Edit the page to see the template text.
