Format:Comitat SUA
Municipalități și comunități din [[{{{county}}}, {{{state}}}|{{{county}}}]], [[{{{state}}}|{{{state}}}]] Reședința comitatului: [[{{{seat}}}, {{{state}}}|{{{seat}}}]] | |
---|---|
{{{title1}}} |
{{{body1}}} |
{{{title2}}} |
{{{body2}}} |
{{{title3}}} |
{{{body3}}} |
{{{title4}}} |
{{{body4}}} |
{{{title5}}} |
{{{body5}}} |
{{{title6}}} |
{{{body6}}} |
{{{title7}}} |
{{{body7}}} |
{{{title8}}} |
{{{body8}}} |
{{{title9}}} |
{{{body9}}} |
Documentație format
Această documentație este adusă de la pagina Format:Comitat SUA/doc.
|
[lectură]
[modificare]
[istoric] |
Usage
This template is the master template for all of the United States county/parish templates. A sample is shown here:
{{US county navigation box | template_name = Chester County, Pennsylvania | county = Chester County | state = Pennsylvania | seat = West Chester | map_image = Map of Pennsylvania highlighting Chester County.svg | map_caption = | title1 = [[City|Cities]] | body1 = <div> [[Coatesville, Pennsylvania|Coatesville]] </div> | title2 = [[Borough|Boroughs]] | body2 = <div> [[Atglen, Pennsylvania|Atglen]] {{!}} [[Avondale, Pennsylvania|Avondale]] {{!}} ... </div> | title3 = [[Civil townships|Townships]] | body3 = <div> [[Birmingham Township, Pennsylvania|Birmingham]] {{!}} [[Caln Township, Pennsylvania|Caln]] {{!}} ... </div> | title4 = [[Unincorporated community|Communities]] and [[census-designated place|CDPs]] | body4 = <div> [[Chesterbrook, Pennsylvania|Chesterbrook]] {{!}} [[Devon-Berwyn, Pennsylvania|Devon-Berwyn]] {{!}} ... </div> }}<noinclude> [[Category:"State" county navigational boxes|{{PAGENAME}}]] </noinclude> |
There are a total of 7 title/body pairs, so you can use up to "title7" and "body7" (of course, more can easily be added at any time).
Other optional parameters for special cases:
- map_size
- Use to set width of map image if different from default (currently 100px). Value is the number without "px", i.e.
| map_size = 80
- color
- Use this to change the default background color for the main title and sidebar titles, i.e.
color = #2e8b57
- text_color
- Use this to change the default text color for the main title and sidebar titles. Note that you will still need to manually change the color of any wikilinks using a span tag, i.e.
[[Unincorporated community|<span style="color:gold">Communities</span>]]
- collapse_state
autocollapse
: (default) the navigation box will start out collapsed if there are two or more collapsible tables on the same page.collapsed
: the navigation box will always start out in a collapsed state.- blank or anything other than the above (
expanded
, etc.) : always start out in an expanded state.