Difference between revisions of "Template:Has location"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{link|}}}|none|<!--show nothing --> |{{#if:{{{alt|}}}|[[{{{alt page|}}}|{{{alt}}}]] |{{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{county|}}}|, |{{#if:{{state|}}|,|{{#if:{{{country|}}}|,|}} }} }}|}} {{#if:{{{county|}}}|[[:Category:{{{county|}}}|{{{county|}}}]]|}}{{#if:{{{state|}}}|{{#if:{{{county|}}}|, |}} [[:Category:{{{state|}}}|{{{state|}}}]]|}} {{#if:{{{country|}}}|{{#if:{{{state|}}}|, |}}[[:Category:{{{country|}}}|{{{country|}}}]]|}} }}{{#if: {{{county|}}} | [[Category:{{{county|}}}]] | }}{{#if: {{{state|}}} | [[Category:{{{state|}}}]] | }}{{#if: {{{country|}}} | [[Category:{{{country|}}}]] | }} }}{{#switch: {{{save|}}
+
{{#ifeq:{{{link|}}}|none|<!--show nothing --> |{{#if:{{{alt|}}}|[[{{{alt page|}}}|{{{alt}}}]] |{{#if:{{{street|}}}|[[{{{street|}}}{{#if: {{{city|}}}{{{state|}}}|,&nbsp;| }}{{#if:{{{city|}}}|{{#if:{{{state|}}}|{{{city|}}}, {{{state|}}}|{{{city|}}} }} | }}|{{{street|}}}]] | }}<!--end street-->{{#if: {{{street|}}}|{{#if:{{{city|}}}|,&nbsp; | }} | }}{{#if:{{{city|}}}|[[{{{city}}}{{#if:{{{state|}}}|, {{{state}}} |<!--don't add state to city link-->}}|{{{city}}}]]{{#if:{{{county|}}}|, |{{#if:{{state|}}|, |{{#if:{{{country|}}}|, |}} }} }}|}} {{#if:{{{county|}}}|[[:Category:{{{county|}}}|{{{county|}}}]]|}}{{#if:{{{state|}}}|{{#if:{{{county|}}}|, |}} [[:Category:{{{state|}}}|{{{state|}}}]]|}}{{#if:{{{country|}}}|{{#if:{{{state|}}}|, |}}[[:Category:{{{country|}}}|{{{country|}}}]]|}} }} {{#if: {{{county|}}} | [[Category:{{{county|}}}]] | }}{{#if: {{{state|}}} | [[Category:{{{state|}}}]] | }}{{#if: {{{country|}}} | [[Category:{{{country|}}}]] | }} }}{{#subobject:Location
|no=<!--don't save-->
+
|has cemetery name = {{{cemetery|}}}
|#default={{#subobject:location
+
|has city = {{{city|}}}
|has cemetery={{{cemetery|}}}
+
|has county = {{{county|}}}
|has street={{{street|}}}
+
|has state = {{{state|}}}
|has city={{{city|}}}
+
|has country = {{{country|}}}
|has county={{{county|}}}
+
|has person= {{{person|}}}
|has state={{{state|}}}
+
}}<noinclude>{{documentation}}</noinclude>
|has country={{{country|}}}
 
}} }}<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 23:07, 28 November 2020