Difference between revisions of "Template:Infobox U.S. County"

From FamilySearch Wiki
Jump to: navigation, search
m (fix parameter)
m (fix)
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|-
 
|-
 
| colspan="2" style="text-align: center; font-size: larger;" | '''<span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>'''
 
| colspan="2" style="text-align: center; font-size: larger;" | '''<span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>'''
 +
|-
 +
{{#if: {{{digital collection|}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{digital collection|}}} }}
 
|-
 
|-
 
{{#if: {{{seal|}}}|
 
{{#if: {{{seal|}}}|
Line 49: Line 52:
 
|-
 
|-
 
{{#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">{{URL|{{{web|}}}}}</span>}}
 
|- class="note"
 
|- class="note"
 
{{#if: {{{named for|}}}|
 
{{#if: {{{named for|}}}|
Line 66: Line 69:
 
|-
 
|-
 
{{#if: {{{ex image|}}}|
 
{{#if: {{{ex image|}}}|
{{!}} colspan="2" {{!}} [[Image:{{{ex image}}}|center|{{{ex image size|200}}}px]]<small>{{{ex image cap|}}}</small> }}
+
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{ex image}}}|center|{{{ex image size|200}}}px]]<small>{{{ex image cap|}}}</small> }}
 
|-  
 
|-  
 
{{#if: {{{adoption_sign|}}}|
 
{{#if: {{{adoption_sign|}}}|
Line 74: Line 77:
 
{{#if: {{{footnotes|}}} |
 
{{#if: {{{footnotes|}}} |
 
{{!}} 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-->{{{category|{{#switch:{{{state}}}
+
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
{{{!}}} Alaska=[[Category:Alaska boroughs]]
+
| Alaska={{{category|[[Category:Alaska boroughs]]}}}
{{{!}}} Georgia=[[Category:Georgia (U.S. state) counties]]
+
| Georgia={{{category|[[Category:Georgia (U.S. state) counties]]}}}
{{{!}}} Louisiana=[[Category:Louisiana parishes]]
+
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
{{{!}}} Washington=[[Category:Washington (U.S. state) counties]]
+
| Washington={{{category|[[Category:Washington (U.S. state) counties]]}}}
{{{!}}} {{namespace detect {{{!}}} main  = [[Category:{{{state}}} counties]] {{{!}}} other = }}
+
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} counties]]}}} | other = }}
}} }}}</includeonly><noinclude>
+
}}</includeonly><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:32, 16 November 2012


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