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

Allow for alternate name and optional map
moved new markup from sandbox
വരി 1:
{{infobox
<includeonly>{{Infobox
| bodyclass = vcard
| bodystyle = border-spacing: 3px; width: 289px;
| title = {{{name|{{PAGENAME}} }}}
 
| titleclass = fn org
| labelstyle = padding: 0em 0.3em;
| label1 = Native name
| datastyle = padding: 0em 0.3em 0em 0em;
| class1 = note
 
| data1 = {{{nativename|}}}
| child = {{{child|}}}
| image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}px|275px}}]] }}
 
| caption = {{{caption|}}}
| aboveclass = fn org
{{#if:{{{pushpin_map|}}}|
| abovestyle = background-color:#A8BDEC;
<tr class="mergedrow">
| above = {{ifempty
<td colspan="2" style="text-align:center" align="center"><center>
| {{{name|}}}
{{Location map|{{{pushpin_map|}}}
| <includeonly>{{error|Waterfall name required|tag=span}}</includeonly>}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
 
|alt = {{{pushpin_map_alt|}}}
| subheaderstyle = font-size: 110%;
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }}
|long subheader = {{#if:{{{longmnativename|}}}{{{longEWalt_name|}}}| |{{{longd|}}} }}
 
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
|lat_min image1 = {{#if:{{{latmimage|}}}{{{latNSphoto|}}}|{{{latm|}}}| }}
|lat_sec={{#if [[file: {{{latsimage|}}}{{{latNSphoto|}}}}}}|{{least|{{{image_size|{{{latsphoto_width|}}}}}}| 275}}px<!--
|lat_dir= -->{{#if:{{{latNSalt|{{{photo_alt|}}}}}}|{{!}}alt={latNS{{alt|{{{photo_alt|}}}|}}} }} ]] }}
|lon_deg caption1 = {{#if:{{{longmcaption|}}}{{{longEWphoto_caption|}}}|{{{longd|}}}| }}
 
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec data1 = {{#if:{{{longspushpin_map|}}}{{{longEWmap|}}}|{{{longs|}}}| }}
| {{Infobox map
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
| map = {{{pushpin_map|{{{map|}}}}}}
|marksize =6
| map_alt = {{{pushpin_map_alt|{{{map_alt|}}}}}}
|float = none
| map_width = {{least|{{{pushpin_mapsize|{{{map_width|240}}}}}}|275}}
|caption =
| map_caption = {{{pushpin_map_caption|{{{map_caption|}}}}}}
|border = none
|position relief = {{{pushpin_label_positionrelief|}}}
|width label = {{#if:{pushpin_label|{{{pushpin_mapsize|}}}map_label|{{{pushpin_mapsizename|}}} | 250 }}}}}}
| label_position = {{{pushpin_label_position|{{{map_label_position}}}}}}
|AlternativeMap = {{{pushpin_image|}}}
| mark = {{ifempty|{{{mark|}}}|Red pog.svg}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}}}
| lat = {{decdeg
</center></td>
| {{{latd|{{{lat_d|}}}}}}
</tr>
| {{{latm|{{{lat_m|}}}}}}
}}
| {{{lats|{{{lat_s|}}}}}}
| {{{latNS|{{{lat_NS|}}}}}} }}
| long ={{decdeg
| {{{longd|{{{long_d|}}}}}}
| {{{longm|{{{long_m|}}}}}}
| {{{longs|{{{long_s|}}}}}}
| {{{longEW|{{{long_EW|}}}}}} }}
| x = {{{x|}}}
| y = {{{y|}}} }} }}
 
| label2 = Location
| class2 = label
| data2 = {{{location|}}}
 
| label3 = Latitude
| data3 = {{{latitude|}}}
| label4 = Longitude
| data4 = {{{longitude|}}}
| label5 = [[Geographic coordinate system|Coordinates]]
| data5 = {{#if:{{{latd|{{{lat_d|}}}}}}{{{longd|{{{coordinateslong_d|}}}}}}
| {{Infobox coord
| label6 = Elevation
| lat_d = {{{latd|{{{lat_d|}}}}}}
| lat_m = {{{latm|{{{lat_m|}}}}}}
| lat_s = {{{lats|{{{lat_s|}}}}}}
| lat_NS = {{{latNS|{{{lat_NS|}}}}}}
| long_d = {{{longd|{{{long_d|}}}}}}
| long_m = {{{longm|{{{long_m|}}}}}}
| long_s = {{{longs|{{{long_s|}}}}}}
| long_EW = {{{longEW|{{{long_EW|}}}}}}
| type = {{ifempty|{{{coords_type|}}}|waterbody}}
| region = {{{region|}}}
| dim = {{{dim|}}}
| scale = {{ifempty|{{{scale|}}}|50000}}
| source = {{{source|}}}
| format = {{{format|}}}
| display = {{{display|}}}
| name = <!-- leave undefined --> }}{{{coordinates_ref|{{{coords_ref|}}}}}}
| {{ifempty|{{{coordinates|}}}|{{{coords|}}} }}{{{coordinates_ref|{{{coords_ref|}}}}}}
}}
 
| rowclass6 = note
| label6 = Elevation
| data6 = {{{elevation|}}}
| data6 = {{{elevation|}}}
| label7 = [[Waterfall#Types_of_waterfalls|Type]]
 
| class7 = category
| label7 = [[Waterfall#Types|Type]]
| data7 = {{{type|}}}
| data7 = {{{type|}}}
| label8 = Total height
 
| rowclass8 = note
| data8label8 = {{{Total height|}}}
| data8 = {{{height|}}}
| label9 = Total width
 
| rowclass9 = note
| data9label9 = {{{Total width|}}}
| data9 = {{{width|}}}
| label10 = Height of longest drop
 
| data10 = {{{height_longest|}}}
| label10 = Longest drop
| data10 = {{{height_longest|}}}
 
| label11 = Average width
| data111 = {{{average_width|}}}
 
| label12 = Number of drops
| rowclass12 = note
| label12 = Number of drops
| data12 = {{{number_drops|}}}
| data12 = {{{number_drops|}}}
| label13 = Average flow rate
 
| rowclass13 = note
| label13 = Average flow rate
| data13 = {{{average_flow|}}}
| data13 = {{{average_flow|}}}
| label14 = Watercourse
 
| rowclass14 = note
| label14 = Watercourse
| data14 = {{{watercourse|}}}
| data14 = {{{watercourse|}}}
| label15 = World height ranking
| data15 = {{{world_rank|}}}
| below = {{{footnotes|}}}
}}</includeonly><noinclude>
{{template doc}}
 
| label15 = World height ranking
[[fa:الگو:جعبه آبشار]]
| data15 = {{{world_rank|}}}
[[nn:Mal:Infoboks foss]]
}}<noinclude>
{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}
| {{documentation}}
| {{template sandbox notice}}
}}
<!--
PLEASE ADD CATEGORIES AND INTER-WIKI
LINKS TO THE /doc SUB-PAGE, THANKS
-->
</noinclude>
"https://ml.wikipedia.org/wiki/ഫലകം:Infobox_waterfall" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്