Difference between revisions of "Template:Place"

From Shangpa Resource Center
Line 54: Line 54:
 
{{#arraymap:{{{Name Variants|}}}|,|x|x|<br/>}}
 
{{#arraymap:{{{Name Variants|}}}|,|x|x|<br/>}}
 
<h2 class="h2_person">Associated Persons</h2>
 
<h2 class="h2_person">Associated Persons</h2>
{{#ask: [[Category:Person]] [[PlacesFoundedMonastery::{{BASEPAGENAME}}]] |headers=hide|intro=Monastry Founded by:&nbsp;|}}
+
{{#ask: [[Category:Person]] [[PlacesFoundedMonastery::{{BASEPAGENAME}}]] |headers=hide|intro=Monastry Founded by:&nbsp;|}}{{#ask: [[Category:Person]] [[PlacesPrimarySeat::{{BASEPAGENAME}}]] |headers=hide |intro=Primary seat:&nbsp;|}}{{#ask: [[Category:Person]] [[PlacesBirth::{{BASEPAGENAME}}]] |headers=hide|intro=Born at that place:&nbsp;| }}{{#ask: [[Category:Person]] [[PlacesDeath::{{BASEPAGENAME}}]] |headers=hide|intro=Died at that place:&nbsp;|}}
{{#ask: [[Category:Person]] [[PlacesPrimarySeat::{{BASEPAGENAME}}]] |headers=hide |intro=Primary seat:&nbsp;|}}
 
{{#ask: [[Category:Person]] [[PlacesBirth::{{BASEPAGENAME}}]] |headers=hide|intro=Born at that place:&nbsp;| }}
 
{{#ask: [[Category:Person]] [[PlacesDeath::{{BASEPAGENAME}}]] |headers=hide|intro=Died at that place:&nbsp;|}}
 
 
<h2 class="h2_person">History</h2>
 
<h2 class="h2_person">History</h2>
 
<ul>
 
<ul>
 
{{#arraymap:{{{Events|}}}|,|x|<li>x</li>|}}
 
{{#arraymap:{{{Events|}}}|,|x|<li>x</li>|}}
 
</ul>
 
</ul>
{{#if: {{{Notes|}}} | <h2 class="h2_person">Notes</h2>{{{Notes|}}} |}}
+
{{#if: {{{Notes|}}} | <h2 class="h2_person">Notes</h2>{{{Notes|}}}<br/> |}}
 
{{#if: {{{Coordinates|}}} | <br/>{{#display_map:{{{Coordinates|}}}|service=leaflet|zoom=10}} |}}
 
{{#if: {{{Coordinates|}}} | <br/>{{#display_map:{{{Coordinates|}}}|service=leaflet|zoom=10}} |}}
 
</div>
 
</div>
 
[[Category:Place]]
 
[[Category:Place]]
 
</includeonly>
 
</includeonly>

Revision as of 10:38, 13 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.