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
Line 1: Line 1:
{{#ifeq:{{{link|}}}|none|<!--show nothing --> |{{#if:{{{alt|}}}|[[{{{alt page|}}}|{{{alt}}}]] |{{#if: {{{street|}}}|{{{street|}}},|<!--don't display the street-->}}{{#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|}}}]] | }} }}{{#switch: {{{save|}}
+
{{#ifeq:{{{link|}}}|none|<!--show nothing --> |{{#if:{{{alt|}}}|[[{{{alt page|}}}|{{{alt}}}]] |{{#if: {{{street|}}}|{{{street|}}},|<!--don't display the street-->}}{{#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|}}}]] | }} }}{{#switch: {{{save|}}
 
|no=<!--don't save-->
 
|no=<!--don't save-->
 
|#default={{#subobject:
 
|#default={{#subobject:

Revision as of 21:59, 28 November 2020