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;" | {{#if: {{{seat|}}}| | ||
{{!}} style="background:#efefef;"{{!}} Seat<!-- use old way and new way --> | |||
{{!}} {{#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">[ | {{!}} 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 | | 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 | | Washington=[[Category:Washington Counties]] | ||
| {{#ifeq:{{NAMESPACE}}|Template talk| |[[Category: | | {{#ifeq:{{NAMESPACE}}|Template talk| |[[Category:{{{county}}}]]}} }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}}[[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:19, 1 November 2022
The above documentation is transcluded from Template:Infobox U.S. Town/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |