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:
{{#if:{{{alt|}}}|[[{{{alt}}}]] |{{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{county|}}}|, |}}|}} {{#if:{{{county|}}}|[[:Category:{{{county|}}}|{{{county|}}}]]{{#if:{{{state|}}}|, |}}|}} {{#if:{{{state|}}}|[[:Category:{{{state|}}}|{{{state|}}}]]|}}{{#if:{{{state|}}}|, |}} {{#if:{{{country|}}}|[[:Category:{{{country|}}}|{{{country|}}}]]|}} }}{{#set: has street={{{street|}}} |has city={{{city|}}} |has county={{{county|}}} |has state={{{state|}}}|has country={{{country|}}} }}{{#if: {{{county|}}} | [[Category:{{{county|}}}]] | }}{{#if: {{{state|}}} | [[Category:{{{state|}}}]] | }}{{#if: {{{country|}}} | [[Category:{{{country|}}}]] | }}<noinclude>{{documentation}}</noinclude>
+
{{#if:{{{alt|}}}|[[{{{alt}}}]] |{{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{county|}}}|, |}}|}} {{#if:{{{county|}}}|[[:Category:{{{county|}}}|{{{county|}}}]]|}}{{#if:{{{state|}}}|{{#if:{{{county|}}}|, |}} [[:Category:{{{state|}}}|{{{state|}}}]]|}}{{#if:{{{state|}}}|, |}} {{#if:{{{country|}}}|[[:Category:{{{country|}}}|{{{country|}}}]]|}} }}{{#set: has street={{{street|}}} |has city={{{city|}}} |has county={{{county|}}} |has state={{{state|}}}|has country={{{country|}}} }}{{#if: {{{county|}}} | [[Category:{{{county|}}}]] | }}{{#if: {{{state|}}} | [[Category:{{{state|}}}]] | }}{{#if: {{{country|}}} | [[Category:{{{country|}}}]] | }}<noinclude>{{documentation}}</noinclude>

Revision as of 08:06, 28 January 2019