টেমপ্লেট:Jctint/core/নথি
অবয়ব
< টেমপ্লেট:Jctint | core
This is the base template for creating Manual of Style-compliant road junction lists.
পরামিতি
[সম্পাদনা]Bold parameters are the most important parameters.
পাস-থ্রু পরামিতি
[সম্পাদনা]These parameters can simply be passed through to a wrapper template, such as {{IAint}} or {{CTint}}.
|1=
accepts the following values: exit and old. Exit will turn on the exit number column of the table, while old will turn on both the old and new exit number columns.|2=
only accepts name, which will turn on a column for named interchanges. Entries can be wikilinked.
অবস্থান
[সম্পাদনা]|unitary=
accepts any text. Will span across the region, sub1, and sub2 columns. NEW
|unitary_align=
accepts right or center to force the text alignment in the unitary cell. Default value is left. NEW
|primary_topic=
only accepts no. Use if the location is always disambiguated, such as cities in the United States.
|region=
accepts the name of a state, province, or other equivalent region.
|region_special=
accepts any text and will override the region parameter.|regionspan=
accepts integers only. It will create a rowspan for the specified number of rows in the region column. Any value will turn on this column, so only use this when a route spans more than one state or province.
|sub1=
(subdivision-1) accepts the name of the first-level division in a state or province, such as a county.
|sub1name=
takes the type of first-level division. Counties would simply use County.|sub1_special=
accepts any text and will override the sub1 parameter.|sub1span=
accepts integers only. It will create a rowspan for the specified number of rows in the division column; it is not necessary to specify this parameter if the value is 1.|sub1_note=
accepts any text. It will place a note in small text below the county name.|regiondab=
only accepts yes. Will append the region to the subdivision-1 link.
|sub2=
(subdivision-2) accepts the name of a city or township within the first-level division.
|sub2_special=
accepts any text; ignored when the sub2 parameter is set.|sub2span=
accepts integers only. It will create a rowspan for the specified number of rows in the location column; it is not necessary to specify this parameter if the value is 1.|sub1dab=
accepts the name of the first-level division. If specified, this parameter will disambiguate a city or township; useful for similarly-named locations in different counties.|area=
accepts text; however any text will be included in the wikilink. For example,|area=town
will create a link similar to [[Jamestown (town), Wisconsin|Town of Jamestown]].
|indep_city=
accepts the names of independent cities which are themselves first-level divisions of the state or province. Since they are both counties and cities, independent cities span both the county and location columns.
|indep_city_special=
accepts any text and will override the indep_city parameter.|indep_city_align=
accepts right or center to force the text alignment in the independent city cell. Default value is left. NEW|sub2span=
will also work for independent cities.
ইউনিট
[সম্পাদনা]|unit=
accepts any numerical value for milepost or kilometerpost. This number is right-aligned in the table. The table will automatically convert values from this column into another unit (miles↔kilometers). NEW BEHAVIOR|unit2=
also accepts any numerical value. When used together with unit, the template will create an en dash between the two values. This is useful for ranges when an intersection does not occur at one singular point.
|unitdef=
accepts mi or km. This value defines the unit used in the left distance column. The right distance column is automatically converted to the other unit. NEW|uspan=
accepts integers only. It will create a rowspan for the specified number of rows in the unit column(s); it is not necessary to specify this parameter if the value is 1.|altunit=
accepts any value. This column is useful for locations that do not use numerical values for distances, such as California's postmiles. This column will not be converted to another unit in the future. If only the altunit parameter is required, you may turn off the unit columns with|unit=none
.|auspan=
accepts integers only. It will create a rowspan for the specified number of rows in the altunit column; it is not necessary to specify this parameter if the value is 1.
- Note: if a non-numerical character is entered into
|unit=
or|unit2=
, the article in question will be placed into Category:Jctint template using non-numeric parameter values
প্রস্থান এবং সংযোগস্থল
[সম্পাদনা]|place=
accepts any text and will override all of the parameters below. This cell will across 2 to 5 columns depending on the values of|1=
and|2=
. NEW
|pspan=
accepts integers only. It will create a rowspan for the specified number of rows for the place column; it is not necessary to specify this parameter if the value is 1. NEW
|exit=
accepts any value for the exit number. This number will be center-aligned in the table.
|espan=
accepts integers only. It will create a rowspan for the specified number of rows in the exit column; it is not necessary to specify this parameter if the value is 1.|old=
accepts any value for former exit numbers. This will only work if|1=old
. This number will be center-aligned and shaded gray in the table.|ospan=
accepts integers only. It will create a rowspan for the specified number of rows in the old column; it is not necessary to specify this parameter if the value is 1. This will only work if|1=old
.|name=
accepts any value for the names of interchanges. This will only work if|2=name
. This should only be used if the names can be easily cited.|namespan=
accepts integers only. It will create a rowspan for the specified number of rows in the name column; it is not necessary to specify this parameter if the value is 1. This will only work if|2=name
.
|road=
accepts any value for the name of the intersected road; also accepts {{Jct}}.
|rspan=
accepts integers only. It will create a rowspan for the specified number of rows in the road column; it is not necessary to specify this parameter if the value is 1.
|notes=
accepts any value for notes needed for explanation. When a value of "none" is passed to this parameter, the final table cell will not be produced (useful when there are rowspanned notes in rows above, or in tandem with spanning the road column.
|nspan=
accepts integers only. It will create a rowspan for the specified number of rows in the notes column; it is not necessary to specify this parameter if the value is 1.
অন্যান্য পরামিতি
[সম্পাদনা]|jspan=
accepts integers only. It will create a rowspan for the specified number of rows for any junction; it is not necessary to specify this parameter if the value is 1.|rcspan=
accepts integers only. It will create a colspan for the specified number of columns in the road and notes columns; it is not necessary to specify this parameter if the value is 1. It is necessary to turn off the notes column using|notes=none
.
উদাহরণ
[সম্পাদনা]- আরও দেখুন: {{CTint}}, {{IAint}}, {{ILint}}, {{INint}}, {{LAint}}, {{MNint}}, {{ONint}}, and {{WIint}}
{{Jctint/core |1={{{1|}}} |2={{{2|}}} |region=<state> |region_special={{{state_special|}}} |regionspan={{{sspan|}}} |indep_city={{{indep_city|}}} |indep_city_special={{{indep_city_special|}}} |sub1={{{county|}}} |sub1name=County |sub1span={{{cspan|}}} |sub1_special={{{county_special|}}} |sub1_note={{{county_note|}}} |sub1dab={{{ctdab|}}} |sub2={{{location|}}} |sub2span={{{lspan|}}} |sub2_special={{{location_special|}}} |area={{{area|}}} |type={{{type|}}} |unit={{{mile|}}} |unit2={{{mile2|}}} |old={{{old|}}} |exit={{{exit|}}} |name={{{name|}}} |road={{{road|}}} |notes={{{notes|}}} }}