2 354
contributi
m (una versione importata) |
m (una versione importata) |
||
(Una versione intermedia di un altro utente non mostrate) | |||
Riga 45: | Riga 45: | ||
:tag('th') | :tag('th') | ||
:attr('colspan', 2) | :attr('colspan', 2) | ||
:cssText(rowArgs. | :cssText(rowArgs.stilegruppoN or args.StileGruppo or nil) | ||
:wikitext(rowArgs.gruppo) | :wikitext(rowArgs.gruppo) | ||
-- Altrimenti se rowArgs.valore non è nullo inserisce una riga dati, verificando | -- Altrimenti se rowArgs.valore non è nullo inserisce una riga dati, verificando | ||
Riga 55: | Riga 55: | ||
row | row | ||
:tag('th') | :tag('th') | ||
:cssText(args.StileNome or | :cssText(rowArgs.stilenomeN or args.StileNome or nil) | ||
:wikitext(rowArgs.nome) | :wikitext(rowArgs.nome) | ||
dataCell = row:tag('td') | dataCell = row:tag('td') | ||
Riga 64: | Riga 64: | ||
end | end | ||
dataCell | dataCell | ||
:addClass(rowArgs.classe or | :addClass(rowArgs.classe or nil) | ||
:cssText(args.StileValore or | :cssText(rowArgs.stilevaloreN or args.StileValore or nil) | ||
:wikitext(checkList(rowArgs.valore)) | :wikitext(checkList(rowArgs.valore)) | ||
end | end | ||
Riga 76: | Riga 76: | ||
:tag('span') | :tag('span') | ||
:addClass('sinottico_sottotitolo') | :addClass('sinottico_sottotitolo') | ||
:cssText(args.StileSopraTitolo or | :cssText(args.StileSopraTitolo or nil) | ||
:wikitext(args.SopraTitolo) | :wikitext(args.SopraTitolo) | ||
:done() | :done() | ||
Riga 87: | Riga 87: | ||
:tag('span') | :tag('span') | ||
:addClass('sinottico_sottotitolo') | :addClass('sinottico_sottotitolo') | ||
:cssText(args.StileSottoTitolo or | :cssText(args.StileSottoTitolo or nil) | ||
:wikitext(args.SottoTitolo) | :wikitext(args.SottoTitolo) | ||
end | end | ||
Riga 94: | Riga 94: | ||
:tag('caption') | :tag('caption') | ||
:addClass('sinottico_testata') | :addClass('sinottico_testata') | ||
:cssText(args.StileTitoloEst or | :cssText(args.StileTitoloEst or nil) | ||
:node(suptitle) | :node(suptitle) | ||
:wikitext(args.TitoloEst) | :wikitext(args.TitoloEst) | ||
Riga 105: | Riga 105: | ||
:attr('colspan', '2') | :attr('colspan', '2') | ||
:node(suptitle) | :node(suptitle) | ||
:cssText(args.StileTitoloInt or | :cssText(args.StileTitoloInt or nil) | ||
:wikitext(args.TitoloInt) | :wikitext(args.TitoloInt) | ||
:node(subtitle) | :node(subtitle) | ||
Riga 117: | Riga 117: | ||
:addClass('sinottico_testo_centrale ' .. (args.ClasseImmagine or '')) | :addClass('sinottico_testo_centrale ' .. (args.ClasseImmagine or '')) | ||
:attr('colspan', '2') | :attr('colspan', '2') | ||
:cssText(args.StileImmagine or | :cssText(args.StileImmagine or nil) | ||
:wikitext(args.Immagine) | :wikitext(args.Immagine) | ||
if args.Didascalia then | if args.Didascalia then | ||
Riga 124: | Riga 124: | ||
:done() | :done() | ||
:tag('span') | :tag('span') | ||
:cssText(args.StileDidascalia or | :cssText(args.StileDidascalia or nil) | ||
:wikitext(args.Didascalia) | :wikitext(args.Didascalia) | ||
end | end | ||
Riga 151: | Riga 151: | ||
valore = args['Valore' .. num], | valore = args['Valore' .. num], | ||
classe = args['Classe' .. num], | classe = args['Classe' .. num], | ||
stilegruppoN = args['GruppoStile' .. num], | |||
stilenomeN = args['NomeStile' .. num], | |||
stilevaloreN = args['ValoreStile' .. num] | |||
}) | }) | ||
end | end | ||
Riga 164: | Riga 166: | ||
:attr('colspan', '2') | :attr('colspan', '2') | ||
:addClass('sinottico_piede') | :addClass('sinottico_piede') | ||
:cssText(args.StileUltima or | :cssText(args.StileUltima or nil) | ||
:wikitext(args.Ultima) | :wikitext(args.Ultima) | ||
:newline() | :newline() | ||
Riga 192: | Riga 194: | ||
root | root | ||
:addClass('sinottico') | :addClass('sinottico') | ||
:cssText(args.StileTabella or | :cssText(args.StileTabella or nil) | ||
:attr('summary', args.Summary or 'Tabella sinottica che riassume i principali dati del soggetto') | :attr('summary', args.Summary or 'Tabella sinottica che riassume i principali dati del soggetto') | ||
end | end | ||
Riga 307: | Riga 309: | ||
{prefix = 'Gruppo', depend={'GruppoStile'}}, | {prefix = 'Gruppo', depend={'GruppoStile'}}, | ||
{prefix = 'GruppoOpzionale', depend={'GruppoStile'}}, | {prefix = 'GruppoOpzionale', depend={'GruppoStile'}}, | ||
{prefix = 'Valore', depend={'Nome', 'Classe'}}, | {prefix = 'Valore', depend={'Nome', 'Classe', 'NomeStile', 'ValoreStile'}}, | ||
}, 50) | }, 50) | ||
preprocessSingleArg('Ultima') | preprocessSingleArg('Ultima') |
contributi