ढाँचा:Indian state navigation box/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट


{{Indian state navigation box/कागजात}} is a meta-template used for each Indian state and territory.

Parameters[सम्पादन गर्नुहोस्]

Mandatory[सम्पादन गर्नुहोस्]

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.
title
Combines the {{{type}}} and {{{name}}} parameters.
emblem_image
Image to appear at the top left of the template in the titlebar. Only supply the image name, not the full wiki syntax. It is recommended to use the Emblem of the state. Example:
emblem_image = KeralaSeal.jpg
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.
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 districts of Tamil Nadu|<span style="color:#ffd700;">Districts</span>]]
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.
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. It is recommended to use a map to fill the space.

Example:

image = [[Image:example.jpg|250px]]
portal
Adds the portal of the state if exists.

Example:

portal = [[Portal:Kerala|Kerala]]
subtitle
Used only on {{National Capital Territory of Delhi}} to say "Capital of India" since National Capital Territory of Delhi has no capital.

Example[सम्पादन गर्नुहोस्]

Code[सम्पादन गर्नुहोस्]

{{Indian state navigation box
| template_name = {{subst:PAGENAME}}
| name    = [[Kerala]] 
| type    = [[States of India|State]]
| capital = [[Thiruvananthapuram]]
| emblem_image   = KeralaSeal.jpg
| portal  = [[Portal:Kerala|Kerala]]

| group1 = Symbols
| body1  = 
Bird: [[Great Hornbill]] {{!}}  
Animal: [[Indian Elephant]] {{!}}  
Tree: [[Coconut]] {{!}}  
Flower: [[Golden Shower Tree|Golden Shower]] {{!}}  ...

| group2 = [[:Category:Kerala|Topics]]
| body2  =
[[History of Kerala|History]] {{!}}
[[Economy of Kerala|Economy]] {{!}}
[[Geography of Kerala|Geography]] {{!}}  ...

| group3 = Populated areas
| body3  = 
[[Thiruvananthapuram]]{{!}}
[[Kochi]]{{!}}  
[[Kozhikode]]{{!}}
[[Kollam]]{{!}} 
[[Thrissur]]{{!}}
[[Kannur]]{{!}}  ...
}}

Result[सम्पादन गर्नुहोस्]