Template:Infobox U.S. Town: Difference between revisions

(remove {{AutoLink}} from {{{founded date}}} and {{{founded year|}}})
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 33: Line 33:
{{!}} {{{motto}}} }}
{{!}} {{{motto}}} }}
|-
|-
!style="background:#efefef;"| Seat<!-- use old way and new way -->
{{#if: {{{seat|}}}|
| {{#if:{{{seat|}}}|{{{seat}}}
{{!}} style="background:#efefef;"{{!}}  Seat<!-- use old way and new way -->
| {{#if:{{{seat wl|}}}|[[{{{seat wl}}}, {{{state}}}{{!}}{{{seat wl}}}]]}} }}
{{!}} {{#if:{{{seat|}}}|{{{seat}}}
{{!}} {{#if:{{{seat wl|}}}|[[{{{seat wl}}}, {{{state}}}{{!}}{{{seat wl}}}]]}} }} }}
|-
|-
{{#if: {{{building image|}}}|
{{#if: {{{building image|}}}|
Line 45: Line 46:
|-
|-
{{#if: {{{web|}}}|
{{#if: {{{web|}}}|
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' <span class="url">[http://{{{web|}}} {{{web|}}}]</span>}}
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' <span class="url">[https://{{{web|}}} {{{web|}}}]</span>}}
|- class="note"
|- class="note"
{{#if: {{{named for|}}}|
{{#if: {{{named for|}}}|
Line 68: Line 69:
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
| Alaska=[[Category:Alaska boroughs]]
| Alaska=[[Category:Alaska Boroughs]]
| Georgia=[[Category:Georgia (U.S. state) counties]]
| Georgia=[[Category:Georgia (U.S. state) counties]]
| Louisiana=[[Category:Louisiana parishes]]
| Louisiana=[[Category:Louisiana parishes]]
| Washington=[[Category:Washington (U.S. state) counties]]
| Washington=[[Category:Washington Counties]]
| {{#ifeq:{{NAMESPACE}}|Template talk| |[[Category:Towns in {{{state}}}]]}} }}</includeonly><noinclude>
| {{#ifeq:{{NAMESPACE}}|Template talk| |[[Category:{{{county}}}]]}} }}</includeonly><noinclude>


{{documentation}}
{{documentation}}[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 11:19, 1 November 2022


[view] [edit] [history] [purge] Documentation icon Template documentation