Difference between revisions of "Template:Has location"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
{{#if: {{{city|}}} |[[{{{city|}}}]]{{#if:{{{state|}}}{{{county|}}}{{{country|}}}|, |}} |<!--no city-->}} {{#if: {{{county|}}} |[[{{{county|}}}]]{{#if:{{{state|}}}{{{country|}}}|, |}} |<!--no state-->}} {{#if: {{{state|}}} |[[{{{state|}}}]]{{#if:{{{country|}}}|, |}}|<!--no county-->}} {{#if: {{{country|}}} |[[{{{country|}}}]] |<!-- no country -->}} | {{#if: {{{city|}}} |[[{{{city|}}}]]{{#if:{{{state|}}}{{{county|}}}{{{country|}}}|, |}} |<!--no city-->}} {{#if: {{{county|}}} |[[{{{county|}}}]]{{#if:{{{state|}}}{{{country|}}}|, |}} |<!--no state-->}} {{#if: {{{state|}}} |[[{{{state|}}}]]{{#if:{{{country|}}}|, |}}|<!--no county-->}} {{#if: {{{country|}}} |[[{{{country|}}}]] |<!-- no country -->}} | ||
− | [[Category:{{{country|United States}}}]] | + | {{#if: {{{county|}}}|[[Category:{{{county|}}}]]| |}}[[Category:{{{county}}}]][[Category:{{{country|United States}}}]] |
{{#subobject: | {{#subobject: | ||
+ | |place name={{{place name|}}} | ||
+ | |has street= {{{street|}}} | ||
|has city = {{{city|}}} | |has city = {{{city|}}} | ||
|has state = {{{state|}}} | |has state = {{{state|}}} |
Revision as of 10:19, 1 March 2019
Usage:
{{has location |city={{{city}}} |county={{{county}}} |state={{{state}}} |country={{{country}}} |alt={{{alt}}} |alt page={{{alt page}} }}
use link=none to hide text, and save data only
This was transcended from Template:Has location/doc.
[[Category:{{{county}}}]]