Template:Infobox U.S. County/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(18 intermediate revisions by 5 users not shown)
Line 17: Line 17:
|-
|-
| <pre>{{Infobox U.S. County
| <pre>{{Infobox U.S. County
&#124; seal                =  
| seal                =  
&#124; seal size            =
| seal size            =
&#124; county              =
| county              =
&#124; adoption_sign = 
| boundary_map         =
&#124; boundary_map   =
| county_map          =
&#124; county_map          =
| state                =  
&#124; state                =  
| state_map            =
&#124; state_map            =
| latd                 =  
&#124; latd               =  
| longd                =  
&#124; longd                =  
| founded title        =
&#124; founded title        =
| founded year        =  
&#124; founded year        =  
| founded date        =  
&#124; founded date        =  
| parent county        =
&#124; motto                =  
| motto                =  
&#124; seat                =
| seat                =
&#124; seat wl              =  
| seat wl              =  
&#124; building image      =
| building image      =
&#124; building image size  =
| building image size  =
&#124; building address    =
| building image cap  =
&#124; web                  =  
| building address    =
&#124; named for            =  
| web                  =  
&#124; named for image      =
| named for            =  
&#124; named for image size =
| named for image      =
&#124; flag                =  
| named for image size =
&#124; flag size            =
| flag                =  
&#124; logo                =  
| flag size            =
&#124; logo size            =
| logo                =  
&#124; ex image            =  
| logo size            =
&#124; ex image size        =
| ex image            =  
&#124; ex image cap        =  
| ex image size        =
&#124; footnotes            =  
| ex image cap        =  
| adoption_sign        = 
| footnotes            =  
}}
}}
</pre>
</pre>
Line 65: Line 67:
; seal size        : (optional) Allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
; seal size        : (optional) Allows changing image size from 75px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)


=== Adoption sign ===
=== Location maps  ===
A sign as set-up by the [[Help:Adopt-a-page|Adopt-a-page]] program
;adoption_sign : (optional) Name of the adoption sign (without braces) ie ''Adoption Example'' and not ''<nowiki>{{Adoption Example}}</nowiki>''


=== Location maps ===
These parameters are used to specify the image file to be displayed.  
These parameters are used to specify the image file to be displayed.
;boundary_map    :the image name (name only) i.e. Or-baker-boundary.png
;county_map        : the image name (name only), i.e. Or-baker.png
;state_map          : the image name (name only), i.e. Oregon.png


=== Date founded ===
;boundary_map 
The old way of specifying this was via the '''founded''' parameter. Although that still works, the new method is via the following parameters. The year and date use the {{tl|AutoLink}} template to automatically generate a WikiLink if an article with a matching name exists.
:the image name (name only) i.e. Or-baker-boundary.png
;county_map 
:the image name (name only), i.e. Or-baker.png
;state_map 
:the image name (name only), i.e. Oregon.png
 
=== Coordinates ===
 
;latd 
:Latitude decimal degrees
 
;longd 
:Longitude decimal degrees
 
Note: If you wish to display degree, minutes and seconds use whole numbers and the additional parameters ''latm'', ''lats'', ''longm'', ''longs'' and enter '''N''' or '''S''' for ''latNS'' and '''E''' or '''W''' for ''longEW''.
 
=== Facts ===
==== Date founded ====
The old way of specifying this was via the '''founded''' parameter. Although that still works, the new method is via the following parameters.  
; founded year      : if you include a reference, the auto-wikilink won't work, so add [[ ]] around the year
; founded year      : if you include a reference, the auto-wikilink won't work, so add [[ ]] around the year
; founded date      : (optional) syntax is: February 1
; founded date      : (optional) syntax is: February 1
; founded title    : (optional) text to replace the default heading "Founded"  (IMPORTANT: omit this parameter if not used; leaving it blank will cause a blank box to left of year)
; founded title    : (optional) text to replace the default heading "Founded"  (IMPORTANT: omit this parameter if not used; leaving it blank will cause a blank box to left of year)


=== County motto ===
==== Parent County ====
; parent county : (optional) use wikitext to add a link to the parent county. If more than one add <nowiki><br /></nowiki> between each one eg. <tt><nowiki>[[Washington County, State|Washington]]<br/>[[Adams County, State|Adams]]</nowiki></tt>
 
==== County motto ====
; motto            : (optional) the county motto
; motto            : (optional) the county motto


=== County seat ===
==== County seat ====
The old way of specifying this was via the '''seat''' parameter. Although that still works, a new method that automatically generates the WikiLink is shown below.
The old way of specifying this was via the '''seat''' parameter. Although that still works, a new method that automatically generates the WikiLink is shown below.
; seat wl          : name of county seat; the wikilink is created for you: "City" results in "<nowiki>[[City, State|City]]</nowiki>"
; seat wl          : name of county seat; the wikilink is created for you: "City" results in "<nowiki>[[City, State|City]]</nowiki>"
Line 92: Line 109:
; building image          : (optional) building image (name only), i.e. Dorchester County courthouse.jpg
; building image          : (optional) building image (name only), i.e. Dorchester County courthouse.jpg
; building image size    : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
; building image size    : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
; building image cap      : (optional) a caption displayed in small text below the building image
;building address        : (optional) displayed in text below the building image, use <code><nowiki><br/></nowiki></code> to separate different lines (not dependant on image being shown
;building address        : (optional) displayed in text below the building image, use <code><nowiki><br/></nowiki></code> to separate different lines (not dependant on image being shown


=== Official county web site ===
=== Official county web site ===
; web               : (optional) url for website, without "http://" and brackets, i.e. www.LaPorteCounty.org (template automatically generates external link)
 
;web
:(optional) url for official county website (not courthouse), without "http://" and brackets, i.e. www.LaPorteCounty.org (template automatically generates external link)


=== Source of county name ===
=== Source of county name ===
Line 117: Line 137:
; ex image size    : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
; ex image size    : (optional) allows changing image size from 200px default (IMPORTANT: omit this parameter if not used; leaving it blank will cause the image to display full size)
; ex image cap      : (optional) a caption displayed in small text below the extra image
; ex image cap      : (optional) a caption displayed in small text below the extra image


=== Footnotes ===
=== Footnotes ===
; footnotes        : (optional) text to display next at bottom of infobox (no heading)
; footnotes        : (optional) text to display next at bottom of infobox (no heading)


== Examples ==
<div style="font-size:90%;">{{hidden begin
| toggle=left |titlestyle=font-size:120%;
| title=Example for [[Anderson County, Texas]]}}
'''Code'''
<pre style="overflow:auto">
{{Infobox U.S. County
| county = Anderson County
| county_map = Tx-anderson.png
| state = Texas
| state_map = Texas.png
| founded year = 1846
| founded date = March 24
| parent county = [[Houston County, Texas Genealogy|Houston]]
| seat wl = Palestine
| building image = TexasAndersonCourthouse.jpg
| building address = 500 N. Church Street,</br>#10, Palestine, TX 75801
| named for = {{wpd|Kenneth Lewis Anderson|Kenneth L. Anderson}}, congressman and vice president of the Republic of Texas
| adoption_sign =
}}
</pre>
'''Result'''
<hr/><br/>
{{Infobox U.S. County
| county = Anderson County
| county_map = Tx-anderson.png
| state = Texas
| state_map = Texas.png
| founded year = 1846
| founded date = March 24
| parent county = [[Houston County, Texas Genealogy|Houston]]
| seat wl = Palestine
| building image = TexasAndersonCourthouse.jpg
| building address = 500 N. Church Street,</br>#10, Palestine, TX 75801
| named for = {{wpd|Kenneth Lewis Anderson|Kenneth L. Anderson}}, congressman and vice president of the Republic of Texas
| adoption_sign = |category=
}} {{hidden end}}{{closing div}}
{{clear}}
<div style="font-size:90%;">{{hidden begin
| toggle=left |titlestyle=font-size:120%;
| title=Example for [[Yell County, Arkansas]]}}
'''Code'''
<pre style="overflow:auto">
{{Infobox U.S. County
| county = Yell County
| county_map = Ar-yell.png
| state = Arkansas
| state_map = Arkansas.png
| founded year = 1840
| founded date = December 5
| seat wl = Danville
| adoption_sign =
| custom_text = <center>[mailto:gaylelt@comcast.net Gayle Triller], County Coordinator<br>'''[http://www.argenweb.net/yell/ Yell Co. ARGenWeb]'''</center>
}}
</pre>
'''Result'''
<hr/><br/>
{{Infobox U.S. County
| county = Yell County
| county_map = Ar-yell.png
| state = Arkansas
| state_map = Arkansas.png
| founded year = 1840
| founded date = December 5
| seat wl = Danville
| adoption_sign =
| custom_text = <center>[mailto:gaylelt@comcast.net Gayle Triller], County Coordinator<br>'''[http://www.argenweb.net/yell/ Yell Co. ARGenWeb]'''</center>
}} {{hidden end}}{{closing div}}
{{clear}}
<includeonly>
<includeonly>
[[Category:Infobox templates|U.S. County]]
[[Category:Infobox templates|U.S. County]]
</includeonly>
</includeonly>
Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, smwadministrator, smwcurator, smweditor, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
795,753

edits