Difference between revisions of "Template:Has location"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{has location/doc}} | {{has location/doc}} | ||
− | </noinclude>{{#if:{{{alt|}}}|[[{{{alt}}}]] |{{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{county|}}}| , |}}|}} {{#if:{{{county|}}}|[[:Category:{{{county|}}}|{{{county|}}}]]{{#if:{{{state|}}}| , |}}|}} {{#if:{{{state|}}}|[[:Category:{{{state|}}}|{{{state|}}}]]|}}{{#if:{{{country|}}}| , |}} {{#if:{{{country|}}}|[[:Category:{{{country|}}}|{{{country|}}}]]|}} }} | + | </noinclude>{{#if:{{{alt|}}}|[[{{{alt}}}]] |{{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{county|}}}|, |}}|}} {{#if:{{{county|}}}|[[:Category:{{{county|}}}|{{{county|}}}]]{{#if:{{{state|}}}|, |}}|}} {{#if:{{{state|}}}|[[:Category:{{{state|}}}|{{{state|}}}]]|}}{{#if:{{{country|}}}|, |}} {{#if:{{{country|}}}|[[:Category:{{{country|}}}|{{{country|}}}]]|}} }} |
− | |||
{{#subobject:location | {{#subobject:location | ||
|has street={{{street|}}} | |has street={{{street|}}} | ||
Line 9: | Line 8: | ||
|Has state={{{state|}}} | |Has state={{{state|}}} | ||
|Has country={{{country|}}} | |Has country={{{country|}}} | ||
− | }} | + | }}{{#if: {{{county|}}} | [[Category:{{{county|}}}]] | }}{{#if: {{{state|}}} | [[Category:{{{state|}}}]] | }}{{#if: {{{country|}}} | [[Category:{{{country|}}}]] | }} |
− | |||
− | {{#if: {{{county|}}} | [[Category:{{{county|}}}]] | }} | ||
− | {{#if: {{{state|}}} | [[Category:{{{state|}}}]] | }} | ||
− | {{#if: {{{country|}}} | [[Category:{{{country|}}}]] | }} |
Revision as of 20:43, 7 January 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.