Template:Moldova district navigation box/doc
Usage
This template is the master template for all of the Moldova district/municipality templates. A sample is shown here:
{{Moldova district navigation box | collapse_state = expanded | template_name = Anenii Noi district, Moldova | district = Anenii Noi | Country = Moldova | seat = Anenii Noi | map_image = Anenii Noi county.png | map_caption = Map of Moldova highlighting Anenii Noi district | map_size = <!-- if you want different from 120px --> | title1 = [[City|Cities]] | body1 = [[Anenii Noi]] | title2 = [[List of localities in Moldova|Communes]] | body2 = <div> [[Botnăreşti]] {{!}} [[Bulboaca]] {{!}} [[Calfa]] {{!}} ... </div> | title3 = sub-city and<br/> sub-commune level<br/> [[Village|Villages]] | body3 = <div> [[Anenii Noi|Albiniţa]] {{!}} [[Anenii Noi|Beriozchi]] {{!}} [[Anenii Noi|Hîrbovăţul Nou]] {{!}} ... </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 180px). 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.