"ढाँचा:Infobox UNESCO World Heritage Site" का संशोधनहरू बिचको अन्तर

When this is embedded into a parent infobox, the header will now use {{Designation/divbox|WHS}} so it is consistent with the formatting of {{Infobox designation list}}. There are numerous articles that either use both embedded infoboxes or just {{Infobox designation list}}, and thus there have been contrasting styles
Also like {{Infobox designation list}}, adding several "rowclass(n)=mergedrow" so unnecessary row borders do not show up when embedded into ((infobox settlement}} and other similar infoboxes
पङ्क्ति १६:
|caption = {{#if:{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}} |{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}}}}
 
|rowclass1 = <includeonly>{{#if:{{{child|{{{Child|}}}}}}|mergedrow|}}</includeonly>
|header1 = <includeonly>{{#if:{{{child|{{{Child|}}}}}}|{{Designation/divbox|WHS}}|}}</includeonly>
 
|labelstyle = padding-right:0.3em;
 
|rowclass2 = mergedrow
|label2 = Official&nbsp;name
|data2 = {{{Official_name|{{{official_name|}}}}}}
|rowclass3 = mergedrow
|label3 = [[Table of World Heritage Sites by country|Location]]
|data3 = {{{Location|{{{location|}}}}}}
|rowclass4 = mergedrow
|label4 = Part of
|data4 = {{{Part_of|{{{part_of|}}}}}}
|rowclass5 = mergedrow
|label5 = Includes
|data5 = {{{Includes|{{{includes|}}}}}}
|rowclass6 = mergedrow
|label6 = [[World Heritage Site#Selection criteria|Criteria]]
|class6 = category
|data6 = {{#if: {{{Type|}}} |{{{Type}}}:&nbsp;| }}{{{Criteria|{{{criteria|}}}}}}
|rowclass8 = mergedrow
|label8 = Reference
|data8 = {{#if:{{{ID|}}} |{{#if:{{{Link|}}} |[{{{Link}}} {{{ID}}}] |[http://whc.unesco.org/en/list/{{{ID}}} {{{ID}}}] }} }}
|rowclass10 = mergedrow
|label10 = <span style="font-size:85%;font-weight:normal;">[http://whc.unesco.org/en/list/?search=&search_by_country=&type=&media=&region=&order=region UNESCO region]</span>
 
|rowclass14 = mergedrow
|label14 = Inscription
|data14 = {{if first display both|{{{Year|{{{year|}}}}}}| (<!--
Line ४२ ⟶ ५१:
-->}} [[World Heritage Committee|Session]])<!--
-->}}
|rowclass16 = mergedrow
|label16 = Extensions
|data16 = {{{Extension|{{{extension|}}}}}}
|rowclass18 = mergedrow
|label18 = [[List of World Heritage in Danger|Endangered]]
|data18 = {{{Danger|{{{danger|}}}}}}
 
|rowclass22 = mergedrow
|label22 = Area
|class22 = category
|data22 = {{{Area|{{{area|}}}}}}
|rowclass24 = mergedrow
|label24 = Buffer&nbsp;zone
|class24 = category
|data24 = {{{Buffer_zone|{{{buffer_zone|}}}}}}
 
|label26 = Website
|class26 = category