"ढाँचा:Infobox historic site" का संशोधनहरू बिचको अन्तर

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट
Content deleted Content added
imported>Alakzi
Still throws an error if image is undefined
imported>Alakzi
Defer map caption handling to Location map
पङ्क्ति १: पङ्क्ति १:
{{Infobox
<includeonly>{{Infobox
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| bodyclass = vcard
| bodyclass = vcard
| bodystyle = width:250px
| bodystyle = width:250px


| above = {{{name|<includeonly>{{BASEPAGENAME}}</includeonly>}}}
| above = {{If empty|{{{name|}}}|{{PAGENAMEBASE}}}}
| abovestyle = font-size:120%; text-align:center
| abovestyle = font-size:120%; text-align:center
| aboveclass = fn org
| aboveclass = fn org
पङ्क्ति २१: पङ्क्ति २१:


<!-- Row for map if no image is specified -->
<!-- Row for map if no image is specified -->
| image3 = {{#if:{{{image|}}}||{{#if:{{{locmapin|}}}|{{#if:{{{lat_degrees|{{{latitude|}}}}}}{{{long_degrees|{{{longitude|}}}}}}|{{Location map|{{{locmapin|Earth}}}|border = none|lat={{{latitude|}}}|lat_deg={{{lat_degrees|<noinclude>0</noinclude>}}}|lat_min={{{lat_minutes|}}}|lat_sec={{{lat_seconds|}}}|lat_dir={{{lat_direction|<noinclude>N</noinclude>}}}|long={{{longitude|}}}|lon_deg={{{long_degrees|<noinclude>0</noinclude>}}}|lon_min={{{long_minutes|}}}|lon_sec={{{long_seconds|}}}|lon_dir={{{long_direction|<noinclude>W</noinclude>}}}|float=center|relief={{{map_relief|}}}|width={{{map_width|235}}}|caption=}}}} }}}}
| image3 = {{#if:{{{image|}}}||{{#if:{{{locmapin|}}}|{{#if:{{Both|{{{lat_degrees|{{{latitude|}}}}}}|{{{long_degrees|{{{longitude|}}}}}}}}|{{Location map|{{{locmapin|}}}
| border = infobox
| caption3 = {{#if:{{{image|}}}||{{#if:{{{map_caption|}}}|{{{map_caption}}}|{{#if:{{{locmapin|}}}|{{#if:{{{lat_degrees|{{{latitude|}}}}}}{{{long_degrees|{{{longitude|}}}}}}| Location of {{{name|{{PAGENAME}}}}} in {{#invoke:Location map|data|{{{locmapin|Earth}}}|name}} }}}}}}}}
| caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location of {{If empty|{{{name|}}}|{{PAGENAMEBASE}}}} in {{#invoke:Location map|data|{{{locmapin|}}}|name}}}}
| float = center
| relief = {{{map_relief|}}}
| width = {{{map_width|235}}}
| lat = {{{latitude|}}}
| lat_deg = {{{lat_degrees|}}}
| lat_min = {{{lat_minutes|}}}
| lat_sec = {{{lat_seconds|}}}
| lat_dir = {{{lat_direction|}}}
| long = {{{longitude|}}}
| lon_deg = {{{long_degrees|}}}
| lon_min = {{{long_minutes|}}}
| lon_sec = {{{long_seconds|}}}
| lon_dir = {{{long_direction|}}}
}}}}}}}}


| label1 = Type
| label1 = Type
पङ्क्ति २२५: पङ्क्ति २४०:


<!-- Row for map if image is specified above -->
<!-- Row for map if image is specified above -->
| data41 = {{#if:{{{image|}}}|{{#if:{{{locmapin|}}}|
| data41 = {{#if:{{{image|}}}|{{#if:{{{locmapin|}}}|{{#if:{{Both|{{{lat_degrees|{{{latitude|}}}}}}|{{{long_degrees|{{{longitude|}}}}}}}}|{{Location map|{{{locmapin|}}}
| border = infobox
{{#if:{{{lat_degrees|{{{latitude|}}}}}}{{{long_degrees|{{{longitude|}}}}}}|{{Location map|{{{locmapin|Earth}}}|border = none|lat={{{latitude|}}}|lat_deg={{{lat_degrees|<noinclude>0</noinclude>}}}|lat_min={{{lat_minutes|}}}|lat_sec={{{lat_seconds|}}}|lat_dir={{{lat_direction|<noinclude>N</noinclude>}}}|long={{{longitude|}}}|lon_deg={{{long_degrees|<noinclude>0</noinclude>}}}|lon_min={{{long_minutes|}}}|lon_sec={{{long_seconds|}}}|lon_dir={{{long_direction|<noinclude>W</noinclude>}}}|float=center|relief={{{map_relief|}}}|width={{{map_width|235}}}|caption=}}<div>{{#if:{{{map_caption|}}}|{{{map_caption}}}|Location of {{{name|{{PAGENAME}}}}} in {{#invoke:Location map|data|{{{locmapin|Earth}}}|name}}}}</div>}}}}}}
| caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location of {{If empty|{{{name|}}}|{{PAGENAMEBASE}}}} in {{#invoke:Location map|data|{{{locmapin|}}}|name}}}}
| float = center
| relief = {{{map_relief|}}}
| width = {{{map_width|235}}}
| lat = {{{latitude|}}}
| lat_deg = {{{lat_degrees|}}}
| lat_min = {{{lat_minutes|}}}
| lat_sec = {{{lat_seconds|}}}
| lat_dir = {{{lat_direction|}}}
| long = {{{longitude|}}}
| lon_deg = {{{long_degrees|}}}
| lon_min = {{{long_minutes|}}}
| lon_sec = {{{long_seconds|}}}
| lon_dir = {{{long_direction|}}}
}}}}}}}}
}}<!--
}}<!--
-->{{#if:{{{lat_degrees|}}}{{{long_degrees|}}}|{{#if:{{#if:{{{lat_direction|}}}||1}}{{#if:{{{long_direction|}}}||1}}|[[Category:Pages using infobox historic site with ambiguous coordinates|1{{PAGENAME}}]]}}}}<!--
-->{{#if:{{{lat_degrees|}}}{{{long_degrees|}}}|{{#if:{{#if:{{{lat_direction|}}}||1}}{{#if:{{{long_direction|}}}||1}}|[[Category:Pages using infobox historic site with ambiguous coordinates|1{{PAGENAME}}]]}}}}<!--
पङ्क्ति २३२: पङ्क्ति २६२:
}}}}<!--
}}}}<!--
-->{{#if:{{{lat_direction|}}}{{{long_direction|}}}|{{#if:{{{latitude|}}}{{{longitude|}}}|[[Category:Pages using infobox historic site with ambiguous coordinates|3{{PAGENAME}}]]
-->{{#if:{{{lat_direction|}}}{{{long_direction|}}}|{{#if:{{{latitude|}}}{{{longitude|}}}|[[Category:Pages using infobox historic site with ambiguous coordinates|3{{PAGENAME}}]]
}}}}<noinclude>
}}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

२३:०७, २९ मे २०१५ जस्तै गरी पुनरावलोकन