"ഫലകം:Infobox Australian road" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Content deleted Content added
(ചെ.) en:Template:Infobox_Australian_road എന്നതിൽ നിന്ന് ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു: adding geo template
No edit summary
വരി 21: വരി 21:
| background-color: #e6c4fb;
| background-color: #e6c4fb;
}} }}
}} }}
| above = {{#if: {{{road_name|}}}|<span style="font-size: 120%;">{{{road_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}</span>{{#if:{{{road_name2|}}}|<br /><span style="font-weight:normal; font-size: 90%;">{{{road_name2|}}}</span>}}{{#if: {{{state|}}}|<br /><span style="font-weight:normal; font-size: 85%;" class="locality">{{ #switch: {{lc:{{{state|}}} }}
| above = {{#if: {{{road_name|}}}|<div style="display:inline;font-size: 120%;">{{{road_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}</div>{{#if:{{{road_name2|}}}|<br /><div style="display:inline;font-weight:normal; font-size: 90%;">{{{road_name2|}}}</div>}}{{#if: {{{state|}}}|<br /><div style="display:inline;font-weight:normal; font-size: 85%;" class="locality">{{ #switch: {{lc:{{{state|}}} }}
|sa = [[South Australia]]
|sa = [[South Australia]]
|vic = [[Victoria (Australia)|Victoria]]
|vic = [[Victoria (Australia)|Victoria]]
വരി 32: വരി 32:
|jbt = [[Jervis Bay Territory]]
|jbt = [[Jervis Bay Territory]]
|<span class="region">{{auto link|{{{state|}}}}}</span>
|<span class="region">{{auto link|{{{state|}}}}}</span>
}}</span>}}{{#if: {{{state2|}}}|<span style="font-weight:normal; font-size: 85%;" class="region">–{{ #switch: {{lc:{{{state2|}}} }}
}}</div>}}{{#if: {{{state2|}}}|<span style="font-weight:normal; font-size: 85%;" class="region">–{{ #switch: {{lc:{{{state2|}}} }}
|sa = [[South Australia]]
|sa = [[South Australia]]
|vic = [[Victoria (Australia)|Victoria]]
|vic = [[Victoria (Australia)|Victoria]]
വരി 43: വരി 43:
|jbt = [[Jervis Bay Territory]]
|jbt = [[Jervis Bay Territory]]
|<span class="region">{{auto link|{{{state2|}}}}}</span>
|<span class="region">{{auto link|{{{state2|}}}}}</span>
}}</span>}} }}<!--Tracking category: --> {{main other|{{#if:{{{state|}}}{{{state2|}}}||[[Category:Australian road articles using deprecated parameters|S]]}}}}
}}</span>}} }}<!--Tracking category: --> {{main other|{{#if:{{{state|}}}{{{state2|}}}||[[Category:Pages using infobox Australian road with deprecated parameters|S]]}}}}
| image = {{#if:{{{route_image|}}}|{{#ifeq:{{#invoke:String|find|source={{main other|{{PAGENAMEBASE}}|{{{road_name|{{{name|}}}}}} }}|target=%d|plain=0}}|0|<!--no digit in article title, so don't display route_image-->|{{#ifexist:media:{{{route_image|}}}
| image = {{#if:{{{route_image|}}}|{{#ifeq:{{#invoke:String|find|source={{main other|{{PAGENAMEBASE}}|{{{road_name|{{{name|}}}}}} }}|target=%d|plain=0}}|0|<!--no digit in article title, so don't display route_image-->|{{#ifexist:media:{{{route_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{route_image|}}}|size=40px}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{route_image|}}}|size=40px}}
വരി 49: വരി 49:
}} }} }}
}} }} }}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|upright={{{logo_upright|0.81}}}|alt={{{logo_alt|}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|upright={{{logo_upright|0.81}}}|alt={{{logo_alt|}}}}}
| headerstyle = color:#000; {{#if: {{{uc_former|{{{status|}}}}}}|{{ #switch: {{lc:{{{uc_former|{{{status|}}}}}} }}
| headerstyle = background-color:#ddf; color:#000; {{#if: {{{uc_former|{{{status|}}}}}}|{{ #switch: {{lc:{{{uc_former|{{{status|}}}}}} }}
|under construction = background-color:#fc6;
|under construction = background-color:#fc6;
|uc = background-color:#fc6;
|uc = background-color:#fc6;
വരി 69: വരി 69:
| labelstyle = background-color:#f0f0ff; width:35%
| labelstyle = background-color:#f0f0ff; width:35%
| data1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.23}}}|alt={{{image_alt|}}}}}
| data1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.23}}}|alt={{{image_alt|}}}}}
| data2 = {{#if: {{{caption|}}}|<span style="font-size: 90%;">{{{caption|}}}</span>}}
| data2 = {{#if: {{{caption|}}}|<div style="display:inline;font-size: 90%;">{{{caption|}}}</div>}}
| data3 = {{#ifexist:media:{{{location|}}}<!--
| data3 = {{#ifexist:media:{{{location|}}}<!--
-->|[[File:{{{location}}}|270px|frameless|alt={{{location_alt|{{{loc_alt|{{{alt|}}}}}}}}}]]<!--
-->|[[File:{{{location}}}|270px|frameless|alt={{{location_alt|{{{loc_alt|{{{alt|}}}}}}}}}]]<!--
വരി 76: വരി 76:
-->|<!--
-->|<!--
-->|{{Infobox mapframe | length_km={{{length|}}} }}<!-- Tracking category:
-->|{{Infobox mapframe | length_km={{{length|}}} }}<!-- Tracking category:
-->{{main other|{{#if:{{#property:P625}}|[[Category:Infobox Australian road articles with an infobox mapframe map]]}}}}<!--
-->{{main other|{{#if:{{#property:P625}}|[[Category:Infobox Australian road articles with an infobox mapframe map|{{#if:{{{coordinates_a|}}}|π}}{{PAGENAME}}]]}}}}<!--
-->}}<!--
-->}}<!--
-->}}}<!--
-->}}}<!--
-->}}
-->}}
| data4 = {{#if: {{{loc_caption|}}}|<span style="font-size: 90%;">{{{loc_caption|}}}</span>}}
| data4 = {{#if: {{{loc_caption|}}}|<div style="display:inline;font-size: 90%;">{{{loc_caption|}}}</div>}}
| data5 = {{#ifexist:media:{{{location|}}} || {{#if: {{{coordinates_a|}}}|{{Location map many|{{#if:{{{alternative_location_map|}}}|{{{alternative_location_map}}}|{{#if: {{{force_national_map|}}} | Australia | Australia {{ #switch: {{lc:{{{state|}}}}}
| data5 = {{#ifexist:media:{{{location|}}} || {{#invoke:Australian place map|main}} }}
|sa = South Australia
|vic = Victoria
|nsw = New South Wales
|qld = Queensland
|nt = Northern Territory
|wa = Western Australia
|tas = Tasmania
|act = Australian Capital Territory
|jbt = Jervis Bay Territory
|#default =
}}{{#if:{{{use_lga_map|}}}|&#x20;{{{lga|}}}}}}}}}
|relief = {{{relief|}}}
|label1 = {{#if:{{both|{{{direction_a|}}}|{{{coordinates_b|}}}}}|{{{direction_a}}} end|{{{road_name|}}} }}
|coordinates1={{{coordinates_a|}}}
|position1 = {{#if:{{{pushpin_label_position_a|}}}|{{{pushpin_label_position_a}}}|left}}
|label2 = {{#if:{{{direction_b|}}}|{{{direction_b}}} end}}
|coordinates2={{{coordinates_b|}}}
|position2 = {{#if:{{{pushpin_label_position_b|}}}|{{{pushpin_label_position_b}}}|left}}
|marksize = 8
|float = center
|caption ={{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|}}
|border = infobox
|width = {{#if: {{{force_national_map|}}}|270|{{ #switch: {{lc:{{{state|}}} }}
|sa = 230
|qld = 190
|nt = 190
|wa = 180
|tas = 210
|act = 180
|270
}} }}
|alt = {{{map_alt|}}}
}}
}} }}
| label7 = [[Geographic coordinate system|Coordinates]]
| label7 = [[Geographic coordinate system|Coordinates]]
| data7 = {{#if:{{{coordinates_a|}}}|
| data7 = {{#if:{{{coordinates_a|}}}|
വരി 122: വരി 88:
* {{#invoke:coordinates|coordinsert|{{{coordinates_b}}}|type:landmark|region:AU{{#if: {{{state|}}}|-{{uc:{{{state}}} }}}}}}{{#if:{{both|{{{direction_b|}}}|{{{coordinates_b|}}}}}|&#32;({{{direction_b}}} end)}} }}
* {{#invoke:coordinates|coordinsert|{{{coordinates_b}}}|type:landmark|region:AU{{#if: {{{state|}}}|-{{uc:{{{state}}} }}}}}}{{#if:{{both|{{{direction_b|}}}|{{{coordinates_b|}}}}}|&#32;({{{direction_b}}} end)}} }}
| header8 = {{#if:{{{jtype|}}}{{{city|}}}{{{length|}}}{{{height|}}}{{{direction|}}}{{{direction_a|}}}{{{direction_b|}}}{{{est|}}}{{{closed|}}}{{{gazetted|}}}{{{built_by|}}}{{{maintained|}}}{{{history|}}}{{{route|}}}{{{former|}}}{{{ring|}}}{{{tloop|}}}{{{tourist|}}}{{{split|}}}|General information}}
| header8 = {{#if:{{{jtype|}}}{{{city|}}}{{{length|}}}{{{height|}}}{{{direction|}}}{{{direction_a|}}}{{{direction_b|}}}{{{est|}}}{{{closed|}}}{{{gazetted|}}}{{{built_by|}}}{{{maintained|}}}{{{history|}}}{{{route|}}}{{{former|}}}{{{ring|}}}{{{tloop|}}}{{{tourist|}}}{{{split|}}}|General information}}
| class8 = navbox-abovebelow
| label9 = Type
| label9 = Type
| data9 = {{#if: {{{road_name|}}}|{{ #switch: {{lc:{{{type|error}}} }}
| data9 = {{#if: {{{road_name|}}}|{{ #switch: {{lc:{{{type|error}}} }}
വരി 135: വരി 100:
|track = [[Trail#Motorized trails|Track]]
|track = [[Trail#Motorized trails|Track]]
|junction = [[Junction (road)|Road junction]]
|junction = [[Junction (road)|Road junction]]
|error = {{error|Error: <tt>{{!}}type{{=}}</tt> not defined ([[Template:Infobox Australian road#type|help]])}} <!--Tracking category: --> {{main other|[[Category:Australian road articles using deprecated parameters|T]]}}
|error = {{error|Error: <code>{{!}}type{{=}}</code> not defined ([[Template:Infobox Australian road#type|help]])}} <!--Tracking category: --> {{main other|[[Category:Pages using infobox Australian road with deprecated parameters|T]]}}
| {{error|Error: unknown <tt>{{!}}type{{=}}</tt> value ([[Template:Infobox Australian road#type|help]])}} <!--Tracking category: --> {{main other|[[Category:Australian road articles using deprecated parameters|T]]}}
| {{error|Error: unknown <code>{{!}}type{{=}}</code> value ([[Template:Infobox Australian road#type|help]])}} <!--Tracking category: --> {{main other|[[Category:Pages using infobox Australian road with deprecated parameters|T]]}}
}} {{ #switch: {{lc:{{{uc_former|{{{status|}}}}}} }}
}} {{ #switch: {{lc:{{{uc_former|{{{status|}}}}}} }}
|under construction = &nbsp;(Under construction)
|under construction = &nbsp;(Under construction)
വരി 182: വരി 147:
| data25 = {{{tourist|}}}
| data25 = {{{tourist|}}}
| data26 = {{#if:{{{split|}}}|{{#if:{{{section1|}}}{{{section2|}}}{{{section3|}}}||'''{{{road_name}}} is a split road'''}} }}
| data26 = {{#if:{{{split|}}}|{{#if:{{{section1|}}}{{{section2|}}}{{{section3|}}}||'''{{{road_name}}} is a split road'''}} }}

| header27 = {{#if:{{{direction_a|}}}{{{direction_a|}}}{{{end_a|}}}{{{split|}}}|Major junctions}}
| header27 = {{#if:{{{direction_a|}}}{{{direction_a|}}}{{{end_a|}}}{{{split|}}}|Major junctions}}
| class27 = navbox-abovebelow
| label28 = {{#if:{{{direction_a|}}}|{{{direction_a|}}} end|{{#if:{{{ring|}}}|From }} }}
| label28 = {{#if:{{{direction_a|}}}|{{{direction_a|}}} end|{{#if:{{{ring|}}}|From }} }}
| data28 = {{#if:{{{end_a|}}}|{{auto link|{{{end_a|}}} }} }}
| data28 = {{#if:{{{end_a|}}}|{{auto link|{{{end_a|}}} }} }}
വരി 268: വരി 233:
| label42 = {{#if:{{{split|}}}|{{{direction_b3|}}} end }}
| label42 = {{#if:{{{split|}}}|{{{direction_b3|}}} end }}
| data42 = {{#if:{{{split|}}}|{{{end_b3|}}} }}
| data42 = {{#if:{{{split|}}}|{{{end_b3|}}} }}

| header43 = {{#if:{{{region|}}}{{{lga|}}}{{{through|}}}|Location(s)}}
| header43 = {{#if:{{{region|}}}{{{lga|}}}{{{through|}}}|Location(s)}}
| class43 = navbox-abovebelow
| label44 = [[List of regions of Australia|Region]]
| label44 = [[List of regions of Australia|Region]]
| data44 = {{auto link|{{{region|}}} }}
| data44 = {{auto link|{{{region|}}} }}
വരി 296: വരി 261:
}} }}
}} }}
| data46 = {{{through|}}}
| data46 = {{{through|}}}

| header47 = {{#if:{{{restrictions|}}}{{{permit|}}}{{{fuel|}}}{{{facilities|}}}|Restrictions}}
| header47 = {{#if:{{{restrictions|}}}{{{permit|}}}{{{fuel|}}}{{{facilities|}}}|Restrictions}}
| class47 = navbox-abovebelow
| label48 = General
| label48 = General
| data48 = {{{restrictions|}}}
| data48 = {{{restrictions|}}}
വരി 306: വരി 271:
| label51 = Facilities
| label51 = Facilities
| data51 = {{{facilities|}}}
| data51 = {{{facilities|}}}

| header52 = {{#ifeq:{{lc:{{{show_links|{{#switch:{{lc:{{{type|}}}}}|highway|expressway|freeway|motorway|parkway=yes|#default=no}}}}}}}|no||Highway system}}
| header52 = {{#ifeq:{{lc:{{{show_links|{{#switch:{{lc:{{{type|}}}}}|highway|expressway|freeway|motorway|parkway=yes|#default=no}}}}}}}|no||Highway system}}
| class52 = navbox-abovebelow
| data53 = {{#ifeq:{{lc:{{{show_links|{{#switch:{{lc:{{{type|}}}}}|highway|expressway|freeway|motorway|parkway=yes|#default=no}}}}}}}|no||
| data53 = {{#ifeq:{{lc:{{{show_links|{{#switch:{{lc:{{{type|}}}}}|highway|expressway|freeway|motorway|parkway=yes|#default=no}}}}}}}|no||
* [[Highways in Australia]]
* [[Highways in Australia]]
വരി 350: വരി 315:
}}}}}}
}}}}}}
}}<!-- Start tracking
}}<!-- Start tracking
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using Infobox Australian road with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Australian road]] with unknown parameter "_VALUE_"|ignoreblank=y | alternative_location_map | built_by | caption | city | closed | coordinates_a | coordinates_b | direction_a | direction_a1 | direction_a2 | direction_a3 | direction_b | direction_b1 | direction_b2 | direction_b3 | end_a | end_a1 | end_a2 | end_a3 | end_b | end_b1 | end_b2 | end_b3 | est | exits | exits1 | exits2 | exits3 | facilities | force_national_map | former | fuel | gazetted_ref | gazetted | height_ref | height_rnd | height | history | image_alt | image | image_upright | jtype | length_ref | length_rnd | length | lga | loc_caption | loc_alt | location_alt | location | logo | logo_alt | logo_upright | maintained | map_alt | mapframe | permit | pushpin_label_position_a | pushpin_label_position_b | pushpin_map_caption | region | relief | restrictions | ring | road_name | road_name2 | roads | route_image | route | section1 | section2 | section3 | show_links | show_links2 | spans | split | state | state2 | status | through | tloop | tourist | type | uc_former | urban | use_lga_map }}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Australian road with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Australian road]] with unknown parameter "_VALUE_"|ignoreblank=y | alternative_location_map | built_by | caption | city | closed | coordinates_a | coordinates_b | direction_a | direction_a1 | direction_a2 | direction_a3 | direction_b | direction_b1 | direction_b2 | direction_b3 | end_a | end_a1 | end_a2 | end_a3 | end_b | end_b1 | end_b2 | end_b3 | est | exits | exits1 | exits2 | exits3 | facilities | force_national_map | former | fuel | gazetted_ref | gazetted | height_ref | height_rnd | height | history | image_alt | image | image_upright | jtype | length_ref | length_rnd | length | lga | loc_caption | loc_alt | location_alt | location | logo | logo_alt | logo_upright | maintained | map_alt | map_type | mapframe | permit | pushpin_label_position_a | pushpin_label_position_b | pushpin_map_caption | region | relief | restrictions | ring | road_name | road_name2 | roads | route_image | route | section1 | section2 | section3 | show_links | show_links2 | spans | split | state | state2 | status | through | tloop | tourist | type | uc_former | urban | use_lga_map }}<!--
-->{{main other|
-->{{main other|
{{#ifeq:{{{1|♠}}}|♠||[[Category:Australian road articles using deprecated parameters|{{#ifeq:{{{1|♠}}}|♠||1}}]]
{{#ifeq:{{{1|♠}}}|♠||[[Category:Pages using infobox Australian road with deprecated parameters|{{#ifeq:{{{1|♠}}}|♠||1}}]]
}}{{#if:{{{route_image|}}}|{{#ifeq:{{#invoke:String|find|source={{PAGENAMEBASE}}|target=%d|plain=0}}|0|[[Category:Australian road articles using deprecated parameters|R]]}}
}}{{#if:{{{route_image|}}}|{{#ifeq:{{#invoke:String|find|source={{PAGENAMEBASE}}|target=%d|plain=0}}|0|[[Category:Pages using infobox Australian road with deprecated parameters|R]]}}
}}{{#if:{{{length_rnd|}}}|{{#ifexpr:{{{length}}}/1.609344<10|[[Category:Australian road articles using deprecated parameters|L]]}}
}}{{#if:{{{length_rnd|}}}|{{#ifexpr:{{{length}}}/1.609344<10|[[Category:Pages using infobox Australian road with deprecated parameters|L]]}}
}}{{#if:{{{coordinates_a|}}}|{{#if:{{{coordinates_b|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|A{{PAGENAME}}]]}}
}}{{#if:{{{coordinates_a|}}}|{{#if:{{{coordinates_b|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|A{{PAGENAME}}]]}}
}}{{#if:{{{coordinates_b|}}}|{{#if:{{{coordinates_a|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|B{{PAGENAME}}]]}}
}}{{#if:{{{coordinates_b|}}}|{{#if:{{{coordinates_a|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|B{{PAGENAME}}]]}}
}}{{#ifexist:media:{{{location|}}} | {{#if: {{{coordinates_a|}}} | [[Category:Pages using infobox Australian road with an implicitly suppressed location map]] }}
}}{{#ifexist:media:{{{location|}}} | {{#if: {{{coordinates_a|}}} | [[Category:Pages using infobox Australian road with an implicitly suppressed location map]] }}
}}{{#if:{{{mapframe|}}}|[[Category:Pages using infobox Australian road with a mapframe parameter]]
}}}}<!-- End tracking
}}}}<!-- End tracking
--><noinclude>
--><noinclude>

11:30, 15 സെപ്റ്റംബർ 2019-നു നിലവിലുണ്ടായിരുന്ന രൂപം

[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

Usage

To use this template
  1. Copy the blank template below into the beginning of your document, remembering to put the code at the very top of the article and the first word of the article on the very next line.
  2. Enter values for the fields as outlined in the table below. Fields left blank will automatically be hidden.
  3. Preview.
  4. Save the page with an appropriate edit summary.

Blank template

{{Infobox Australian road
| type         = 
| road_name    = 
| state        = 
| route_image  = 
| route_image2 = 
| route_image3 = 
| route_image4 = 
| photo        = 
| caption      = 
| length       = 
| direction    = 
| start        = 
| finish       = 
| est          = 
| through      = 
| route        = 
| exits        = 
| region       = 
| permit       = 
| fuel         = 
| facilities   = 
| location     = 
| coordinates  = 
}}

Fields

All fields used by this template are optional. The following fields are available:

Field Name Required? Description Values
type no type of road "freeway", "highway", "city highway",
"road", "rural road", "street" or "track"
road_name yes name of road plain text
state no name of road If the road passes through one state, use one of the following plain text options: "qld", "QLD", "nsw", "NSW", "act", "ACT", "vic", "VIC", "tas", "TAS", "sa", "SA", "wa", "WA", "nt" or "NT". The state will be automatically linked.
If the road passes through more than one state, use the full name of each state, separated by commas. Wikilinks should be used.
route_image no route shield/box filename (see here)
route_image2 no route shield/box filename
route_image3 no route shield/box filename
route_image4 no route shield/box filename
photo no generic image of the road filename
caption no caption for the road image wikitext (can contain links)
length no length of the road number (km)
direction no general direction of the road text (eg North-South)
start yes starting point plain text, link
finish yes finishing point plain text, link
est no date or year established date, link
through yes list of major suburbs/towns it traverses plain text, link
route yes routes of which it is part plain text
exits no list of major exits/interchanges plain text
region no name of region through which the road passes plain text
location no location image of the road filename
coordinates no coordinates of the road For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
The following fields are used primarily for remote roads and those passing through Aboriginal lands
permit no If permits are required, include number. Leave blank if not required plain text
fuel no Brief description of fuel availability on the road, only visible when type=track plain text
facilities no Brief description of facilities on the road, only visible when type=track plain text
"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Infobox_Australian_road&oldid=3213191" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്