پودمان:ازداگنجه/متن
ظاهر
local texte = require "پودمان:ازداگنجه/پردازه"
local function incipit(s)
if not s then
return
end
return "« " .. s .. "… »"
end
local function explicit(s)
if not s then
return
end
return "« …" .. s .. " »"
end
return {
maincolor = '#C4698F',
parts = {
{
type = 'عنوان',
value = {'نام', 'عنوان'},
icon = 'auteur',
italic = true,
setdisplaytitle = true,
},
texte.mainimage('Article à illustrer Poème'),
{
type = 'table',
title = 'Informations générales',
rows = {
{
type = 'mixed',
label = 'عنوان',
plurallabel = 'عنوانها',
value = 'عنوان',
property = 'P1476'
},
{
type = 'mixed',
label = 'زیرعنوان',
plurallabel = 'زیرعنوانها',
value = 'زیرعنوان',
property = 'P1680'
},
{
type = 'mixed',
label = 'عنوان کاری',
plurallabel = 'عنوانهای کاری',
value = 'عنوان کاری',
property = 'P1638'
},
{
type = 'mixed',
label = 'مبنای نام',
value = 'مبنای نام',
property = 'P138'
},
{
type = 'mixed',
label = 'پدیدآورنده',
plurallabel = 'پدیدآورندگان',
value = 'پدیدآورنده',
property = 'P50'
},
{
type = 'mixed',
label = 'پدیدآورنده احتمالی',
plurallabel = 'پدیدآورندگان احتمالی',
value = 'پدیدآورنده احتمالی',
property = 'P1779'
},
{
type = 'mixed',
label = 'نویسنده پیشگفتار',
plurallabel = 'نویسندگان پیشگفتار',
value = 'نویسنده پیشگفتار',
property = 'P2679'
},
{
type = 'mixed',
label = 'نویسنده پسگفتار',
plurallabel = 'نویسندگان پسگفتار',
value = 'نویسنده پسگفتار',
property = 'P2680'
},
{
type = 'mixed',
label = 'فیلمنامهنویس',
plurallabel = 'فیلمنامهنویسان',
value = 'فیلمنامهنویس',
property = 'P58'
},
{
type = 'mixed',
label = 'اپرانویس',
plurallabel = 'اپرانویسان',
value = 'اپرانویس',
property = 'P87'
},
{
type = 'mixed',
label = 'همکار',
plurallabel = 'همکاران',
value = 'همکار',
property = 'P767'
},
{
type = 'mixed',
label = 'کشور خاستگاه',
value = 'کشور خاستگاه',
property = 'P495'
},
{
type = 'mixed',
label = 'کارفرما',
plurallabel = 'کارفرمایان',
value = 'کارفرما',
property = 'P88',
},
{
type = 'mixed',
label = 'زبان',
plurallabel = 'زبانها',
value = 'زبان',
property = 'P364',
},
{
type = 'mixed',
label = 'تاریخ نگارش',
value = 'تاریخ نگارش',
property = 'P571',
},
{
type = 'mixed',
label = 'خوانشگر',
plurallabel = 'خوانشگران',
value = 'خوانشگر',
property = 'P823',
},
{
type = 'mixed',
label = 'مکان',
plurallabel = 'مکانها',
value = 'مکان',
property = 'P276',
},
{
type = 'mixed',
label = 'نخستین رونمایی',
plurallabel = 'نخستین رونمایی',
value = 'نخستین رونمایی',
property = 'P1191',
},
{
type = 'mixed',
label = 'مدت',
plurallabel = 'مدت',
value = 'مدت',
property = 'P2047',
},
{
type = 'mixed',
label = 'Diffuseur',
plurallabel = 'Diffuseurs',
value = 'diffuseur',
property = 'P449',
},
{
type = 'mixed',
label = 'Publication',
plurallabel = 'Publications',
value = 'publication',
italic = true,
property = 'P1433',
},
{
type = 'mixed',
label = 'Lieu de publication',
plurallabel = 'Lieux de publication',
value = 'lieu de publication',
property = 'P291',
},
{
type = 'mixed',
label = 'Éditeur',
plurallabel = 'Éditeurs',
value = 'éditeur',
property = 'P123',
},
{
type = 'mixed',
label = 'Éditeur scientifique',
plurallabel = 'Éditeurs scientifiques',
value = 'éditeur scientifique',
property = 'P98',
},
{
type = 'mixed',
label = 'Recto',
value = 'recto',
property = 'P2682',
},
{
type = 'mixed',
label = 'Verso',
value = 'verso',
property = 'P2681',
},
{
type = 'mixed',
label = 'Nombre de pages',
value = 'pages',
property = 'P1104',
},
{
type = 'mixed',
label = 'Police d\'écriture',
plurallabel = 'Polices d\'écriture',
value = 'police',
property = 'P2739',
},
{
type = 'mixed',
label = 'Date de publication',
plurallabel = 'Dates de publication',
value = 'date',
property = 'P577',
},
{
type = 'mixed',
label = 'Type',
plurallabel = 'Types',
value = 'type',
property = 'P136',
},
{
type = 'mixed',
label = 'Mouvement',
plurallabel = 'Mouvements',
value = 'mouvement',
property = 'P135',
},
{
type = 'mixed',
label = 'Idéologie',
plurallabel = 'Idéologies',
value = 'idéologie',
property = 'P1142',
},
{
type = 'mixed',
label = 'Illustrateur',
plurallabel = 'Illustrateurs',
value = 'illustrateur',
property = 'P110',
},
{
type = 'mixed',
label = 'Dédicataire',
plurallabel = 'Dédicataires',
value = 'dédicataire',
property = 'P825',
},
{
type = 'mixed',
label = 'Destinataire',
plurallabel = 'Destinataires',
value = 'destinataire',
property = 'P1817',
},
{
type = 'mixed',
label = 'Dépositaire',
plurallabel = 'Dépositaires',
value = 'dépositaire',
property = 'P2058',
},
{
type = 'mixed',
label = 'Cible',
plurallabel = 'Cibles',
value = 'cible',
property = 'P2360',
},
{
type = 'mixed',
label = 'Inspiré de',
value = 'inspiré de',
property = 'P941',
},
{
type = 'mixed',
label = 'Adapté de',
value = 'adapté de',
property = 'P144',
},
{
type = 'mixed',
label = 'Série',
plurallabel = 'Séries',
value = 'série',
property = 'P179',
},
{
type = 'mixed',
label = 'شماره در مجموعه',
value = 'شماره در مجموعه',
property = 'P1545',
},
{
type = 'mixed',
label = 'پس از',
value = 'پس از',
property = 'P155',
},
{
type = 'mixed',
label = 'پیش از',
value = 'پیش از',
property = 'P156',
},
{
type = 'mixed',
label = 'مترجم',
plurallabel = 'مترجمان',
value = 'مترجم',
property = 'P655',
},
{
type = 'mixed',
label = 'ISBN-10',
value = 'ISBN-10',
property = 'P957',
},
{
type = 'mixed',
label = 'ISBN-13',
value = 'ISBN-13',
property = 'P212',
},
{
type = 'mixed',
label = 'Distinction',
plurallabel = 'Distinctions',
value = 'distinction',
property = 'P166',
},
{
type = 'mixed',
label = 'Texte intégral',
value = 'texte intégral',
property = 'P953',
},
{
type = 'mixed',
label = 'Licence',
plurallabel = 'Licences',
value = 'licence',
property = 'P275',
},
{
type = 'mixed',
label = 'وبگاه رسمی',
plurallabel = 'وبگاههای رسمی',
value = 'وبگاه رسمی',
property = 'P856',
},
},
},
{
type = 'table',
title = 'Contenu',
rows = {
{
type = 'mixed',
label = 'Structure',
value = 'structure',
wikidata = {property = 'P2635', showqualifiers = 'P518'}
},
{
type = 'mixed',
label = 'Narrateur',
plurallabel = 'Narrateurs',
value = 'narrateur',
property = 'P2438',
},
{
type = 'mixed',
label = 'Dépeint',
value = 'dépeint',
property = 'P180'
},
{
type = 'mixed',
label = 'Personnage',
plurallabel = 'Personnages',
value = 'dépeint',
property = 'P674'
},
{
type = 'mixed',
label = 'Liste des personnages',
value = 'liste des personnages',
property = 'P1881'
},
{
type = 'mixed',
label = 'Univers',
value = 'univers',
property = 'P1434'
},
{
type = 'mixed',
label = 'Époque de l\'action',
plurallabel = 'Époques de l\'action',
value = 'époque',
property = 'P2408'
},
{
type = 'mixed',
label = 'Lieu de l\'action',
plurallabel = 'Lieux de l\'action',
value = 'lieu de l\'action',
property = 'P840'
},
{
type = 'mixed',
label = 'موضوع',
plurallabel = 'موضوعات',
value = 'موضوع',
property = 'P921'
},
{
type = 'mixed',
label = 'Aarne-Thompson-Uther',
value = 'Aarne-Thompson-Uther',
property = 'P2540'
},
{
type = 'mixed',
label = 'Incipit',
value = function ( localdata ) return incipit(localdata["incipit"]) end,
wikidata = {property = 'P1922', displayformat = function(v) return incipit(v.datavalue.value.text) end}
},
{
type = 'mixed',
label = 'Explicit',
value = function ( localdata ) return explicit(localdata["incipit"]) end,
wikidata = {property = 'P3132', displayformat = function(v) return explicit(v.datavalue.value.text) end}
},
},
},
{
type = 'images',
style = {['padding-top'] = '25px'},--{['border-width'] = '10px', ['border-style'] = 'solid'},
label = 'Audio',
captionparameter = 'légende audio',
value = 'audio',
property = 'P51',
numval = 1,
},
},
}