ماژول:صندخ/ادوات/شخص: نسخهئون ِفرق
محتوای حذفشده محتوای افزودهشده
بدون خلاصۀ ویرایش |
عینی عربی برچسب: برگرداندهشده |
||
۵۳ بند:
local function dateandplace(thedate, theplace)
if thedate and theplace and mw.ustring.find(thedate, 'نامعلوم') and mw.ustring.find(theplace, 'نامعلوم') then▼
if thedate and theplace
▲
then
theplace = nil
thedate = mw.ustring.gsub(thedate,
mw.language.getContentLanguage():ucfirst(unknowndatelabel),
'نا معلوم تاریخ')
end
if(#{thedate,theplace} == 0) then return nil end
if(type(thedate) == 'string' and type(theplace) == 'string')
then return thedate .. '<br />' .. theplace end
if(type(theplace) == 'string') then return theplace end
return thedate
end
--عکس
سطر ۲۹۴ ⟵ ۳۰۵:
label = 'بمردن',
value = {'محل مرگ', 'تاریخ مرگ', 'بمردن','بمردن_تاریخ','بمردن تاریخ','مرگ تاریخ','تاریخ درگذشت','تاریخ_درگذشت','مرگ','سالمرگ','بمردن روز','بمردنیروز','درگذشت'},
wikidata = { wikimod='Wikidata.Ca', sep="\n",
wikidata = {property= 'P570', listrank = 'bestrank', conjunction=' یا '}, wikidata2 = {
func='yearsOld', formatting='unit' , before='<span style="white-space:nowrap;">(', after=')</span>' },▼
wikidata3 = {property= 'P20', listrank = 'bestrank', conjunction='
▲ },
metadata = {
description = " اگه {{بمردن و عمر تاریخ}} شابلون ره کار بزنین بتتر هسته .",
سطر ۷۰۴ ⟵ ۷۲۰:
end
{▼
type = 'row', ▼
wikidata = {▼
wikimod = 'Wikidata.Ca', formatting='table',▼
rowformat = '$0$R0$1',▼
conjunction = '<br />'},▼
},▼
metadata = {▼
option = "", ▼
type = "",▼
}▼
}}▼
end▼
-- Influences
سطر ۱٬۰۳۱ ⟵ ۱٬۰۲۸:
local points = wikidata.getFormattedQualifiers(statement, {'P1351'})
if points
points =nbr_in_arabic(points,'گل','گل',"گل")
local qualifiers = linguistic.conj{compets, points}▼
else points = nil
end
if qualifiers then
str= str .. ' <small><br
end
return str
۱٬۵۷۹ بند:
label = 'برده/آزاد',
value = 'برده آزاد',
wikidata = {
wikimod='Wikidata.Ca', property = 'P3716', showDate = 'true' formatting='table' , rowformat='$0', whitelist0='Q12773225/Q841571'
▲ },
metadata = {
description = "",
سطر ۱٬۷۶۳ ⟵ ۱٬۷۶۸:
end
function person.works_in_collection()
return {
label ='مجموعه درون',
value = {'مجموعه درون', 'works in collection'},
wikimod='Wikidata.Ca',
qualifier1='P6241 OR P1436',
qualifier2='P6241',
qualifier3='P1436',
rowsubformat1='<small>$2$3</small>',
rowsubformat2='<br />:: منشی : $2',
rowsubformat3='<br />:: حجم : $3',
▲ },
▲ metadata = {
description = "",
▲ option = "",
▲ type = "",
▲end
function person.archivesat()
return {
سطر ۱٬۷۷۵ ⟵ ۱٬۸۰۵:
qualifier3='P973',
qualifier4='P518',
rowformat ='* $0$R0$2 $4 $1 $3',
conjunction='<
rowsubformat1=' $1',
rowsubformat2=', $2',
|