وحدة:بطاقة/قالب/حدود دولية
المظهر
هذه الصفحة شرح لوحدة من وحدات البطاقات المبنية اعتمادا على وحدة:بطاقة. وتستعمل في {{بطاقة حدود دولية}}.
-- Credits:
-- وهراني @arwiki (ar:وحدة:بطاقة/قالب/حدود دولية)
-- Version: 20250128
local generic = require( 'وحدة:بطاقة/أدوات' )
return {
description = "بطاقة لعرض بيانات حول حدود دولية بين كيانين",
maincolor = '#CEDEFF', -- اللون المستعمل لعنوان البطاقة
wikimod = 'Wikidata.Ca',
parts = { -- محتويات البطاقة
generic.title(),
generic.mainimage(),
generic.locationmap(),
generic.detailedmap(),
{type = 'table' , title ='الخصائص' ,rows = {
{type = 'row',
label = 'النوع',
value = {'نوع','type'},
wikidata = {
property='P31', formatting='table', conjunction='<br />',
rowformat='$0$R0' , whitelist0='Q15104814,Q3089219'
},
metadata = {
description = "",
}
},
{type = 'row' ,
label = 'الأقطار',
value = {'أقطار','دول','territory1','territory2'},
wikidata = {
property='P17' , formatting='table',
rowformat='{{flag|$0}}$R0', colformat0='label',
conjunction='<br />'
},
metadata = {
description = "",
}
},
{type = 'row' ,
label = 'الطول',
value = {'طول','length'},
wikidata = {property='P2043',formatting='unit'},
metadata = {
description = "طول الحدود",
}
},
{type = 'row' ,
label = 'على الحدود',
value = {'يضم','has_parts'},
wikidata = {
property='P527',conjunction='<br />',
formatting = 'table', rowformat = '$0$R0 $1',
qualifier1 = 'P2043 OR P527/P2043',
rowsubformat1='<small class="nowrap">($1)</small>',
colformat1 = 'unitcode'
},
metadata = {
description = "",
}
},
{type = 'row' ,
label = 'مقامة في',
value = {'مقامة_في','located_in'},
wikidata = {property='P706',conjunction='<br />'},
metadata = {
description = "",
}
},
{type = 'row' ,
label = '[[الحبيسة والمستحاطة|الجيوب]]',
value = {'جيوب','enclaves'},
--, wikidata = {property='P'},
metadata = {
description = "",
}
},
}},
{type = 'table' , title ='التاريخ' ,rows = {
{type = 'row' ,
label = 'أقيمت',
value = {'أقيمت','established'},
wikidata = {
property='P571', qualifier1 = 'P805',
formatting='table', conjunction='<br />',
rowformat='$0$R0 $1' ,
rowsubformat1='<small><br />(وفق $1)</small>'
},
metadata = {
description = "تاريخ إقامة الحدود",
}
},
{type = 'row' ,
label = 'الأوضاع',
value = {'وضع','current'},
wikidata = {
property='P31', formatting='table', conjunction='<br />',
rowformat='$0$R0 $1' , whitelist0='Q87443571',
qualifier2='P580', qualifier3='P582',
colformat2='Y' , colformat3='Y' ,
qualifier1 ='P580 or P582',
rowsubformat1='<small><br />($2 – $3)</small>'
},
metadata = {
description = "الأوضاع الحالية للحدود",
}
},
{type = 'row' ,
label = 'ألغيت',
value = {'ألغيت','disestablished'},
--wikidata = {property='P'},
metadata = {
description = "تاريخ الإلغاء",
}
},
{type = 'row' ,
label = 'عوضتها',
value = {'عوضتها','replaced_by'},
wikidata = {property='P1366', showDate='true'},
metadata = {
description = "الحدود التي عوضت هذه الحدود",
}
},
{type = 'row' ,
label = 'الاتفاقيات',
value = {'اتفاقيات','treaties'},
--, wikidata = {property='P'},
metadata = {
description = "أهم الاتفاقيات حول الحدود (مع ذكر التاريخ)",
}
},
{type = 'row' ,
label = 'أحداث هامة',
value = {'أحداث','events'},
wikidata = {
property='P793',
showDate = 'true', conjunction = "<br />"
},
metadata = {
description = "أهم الأحداث التي شهدتها الحدود (مع ذكر التاريخ)",
}
},
}},
generic.bathymetricmap(),
{type = 'table' , title ='الملاحظات' ,rows = {
{type = 'row1col' ,
value = {'ملاحظات','notes'},
--wikidata = {property='P'},
metadata = {
description = "",
}
},
}}
}
}