Difference between revisions of "Template:Place"

From Shangpa Resource Center
Line 52: Line 52:
 
{{#arraymap:{{{Name Variants|}}}|,|x|x|<br/>}}
 
{{#arraymap:{{{Name Variants|}}}|,|x|x|<br/>}}
 
{{#arraydefine: ArrayPlacesFoundedMonastery
 
{{#arraydefine: ArrayPlacesFoundedMonastery
  |{{#ask: [[Category:Person]] [[PlacesFoundedMonastery::{{BASEPAGENAME}}]] |headers=hide|}}
+
  |{{#ask: [[Category:Person]] [[PlacesFoundedMonastery::{{BASEPAGENAME}}]] |headers=hide}}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
 
}}{{#arraydefine: ArrayPlacesPrimarySeat
 
}}{{#arraydefine: ArrayPlacesPrimarySeat
  |{{#ask: [[Category:Person]] [[PlacesPrimarySeat::{{BASEPAGENAME}}]] |headers=hide |}}
+
  |{{#ask: [[Category:Person]] [[PlacesPrimarySeat::{{BASEPAGENAME}}]] |headers=hide }}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
 
}}
 
}}
 
{{#arraydefine: ArrayPlacesBirth
 
{{#arraydefine: ArrayPlacesBirth
  |{{#ask: [[Category:Person]] [[PlacesBirth::{{BASEPAGENAME}}]] |headers=hide |}}
+
  |{{#ask: [[Category:Person]] [[PlacesBirth::{{BASEPAGENAME}}]] |headers=hide }}
 
| }}
 
| }}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
 
}}
 
}}
 
{{#arraydefine: ArrayPlacesDeath
 
{{#arraydefine: ArrayPlacesDeath
  |{{#ask: [[Category:Person]] [[PlacesDeath::{{BASEPAGENAME}}]] |headers=hide|intro=Died at that place:&nbsp;|outro=<br/>|}}
+
  |{{#ask: [[Category:Person]] [[PlacesDeath::{{BASEPAGENAME}}]] |headers=hide}}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
 
}}
 
}}

Revision as of 18:16, 9 June 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.