თარგი:აშშ-ის შტატების სანავიგაციო დაფა/ინფო

მასალა ვიკიპედიიდან — თავისუფალი ენციკლოპედია

{{აშშ-ის შტატების სანავიგაციო დაფა/ინფო}} is a meta-template used for each U.S. state, territory, and the District of Columbia navbox.

პარამეტრები[წყაროს რედაქტირება]

სავალდებულო[წყაროს რედაქტირება]

template_name
The name of the template, which is needed for the "view • talk • edit" links to work properly on all of the pages where the template is used on. You can enter {{subst:PAGENAME}} for this value as a shortcut.
სათაური
Combines the {{{ტიპი}}} and {{{სახელი}}} parameters.
დროშა_სურათი
Image to appear at the top left of the template in the titlebar. Only supply the image name, not the full wiki syntax. Example:
flag_image = Flag of New York.svg
groupn
Subtitle to appear at the left of each bodyn
bodyn
There are a total of 8 group/list pairs, so you can use up to group8 and list8. Additional items can easily be added to the template if needed.

Optional[წყაროს რედაქტირება]

capital
Lists the capital below the state
color
Changes the default background color for the main title and sidebar titles, i.e.
color = #2e8b57
Working examples: {{კალიფორნია}}, {{მერილენდი}}, and {{პენსილვანია}}.
flag_caption
Text to appear when the mouse is held over the image.
text_color
Changes 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.
[[List of Nevada counties|<span style="color:#ffd700;">Counties</span>]]
Working examples: {{ნევადა}}, {{მენი}}, and {{ჰავაი}}.
seat
Used for the seat of government for {{ამერიკის სამოა}}.
state [autocollapse, uncollapsed, collapsed]
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.
expanded or blank : always start out in an expanded state.
subtitle
Used only on {{კოლუმბიის ფედერალური ოლქი}} to say "Capital of the United States" since DC has no capital.
image
Adds an image to the right of the body area. Use only if there is a lot of extra whitespace at the right side of the body area (for example თარგი:ჰავაი or თარგი:ამერიკის სამოა). It is recommended to use a map to fill the space, similar to Template:US county navigation box. Example:
image = [[Image:example.jpg|250px]]

მაგალითი[წყაროს რედაქტირება]

კოდი[წყაროს რედაქტირება]

{{აშშ-ის შტატების სანავიგაციო დაფა
| თარგის სახელი = {{subst:PAGENAME}}
| სათაური   = [[ნიუ-იორკი]]ს [[აშშ-ის შტატები|შტატი]] 
| დედაქალაქი = [[ალბანი (ნიუ-იორკი)|ალბანი]]
| დროშა_სურათი   = Flag of New York.svg

| ჯგუფი1 = [[:კატეგორია:ნიუ-იორკი|თემები]]
| სხეული1  =
[[ნიუ-იორკის ისტორია|ისტორია]] {{!}} 
[[ნიუ-იორკის კოლეჯებისა და უნივერსიტეტების სია|განათლება]] {{!}}
[[ნიუ-იორკის პოლიტიკა|პოლიტიკა]] {{!}}  ...

| ჯგუფი2 = [[აშშ-ის რეგიონები#ნიუ-იორკი|რეგიონები]]
| სხეული2  =
[[ადირონდაკის მთები]] {{!}}
[[დედაქალაქის რაიონი]] {{!}}
[[კატსკილის მთები]] {{!}}  ...

| ჯგუფი3 = [[ნიუ-იორკის ქალაქების სია|საქალაქო არეალები]]
| სხეული3  = 
[[ალბანი (ნიუ-იორკი)|ალბანი]]/[[სკენექტადი (ნიუ-იორკი)|სკენექტადი]]/[[ტროი (ნიუ-იორკი)|ტროი]] {{!}} 
[[ბინგჰემპტონი (ნიუ-იორკი)|ბინგჰემპტონი]] {{!}}
[[ბუფალო]]/[[ნიაგარა ფოლსი (ნიუ-იორკი)|ნიაგარა ფოლსი]] {{!}}  ...
}}

Result[წყაროს რედაქტირება]

იხილეთ აგრეთვე[წყაროს რედაქტირება]