« Module:Infobox/Radio » : différence entre les versions

tech
Aucun résumé des modifications
Ligne 18 : Ligne 18 :
{ type = 'row', label = 'Editor ID', value = 'editorid' },
{ type = 'row', label = 'Editor ID', value = 'editorid' },
{ type = 'row', label = '[[Form ID|Form ID]]', value = { 'formid', 'baseid' }},
{ type = 'row', label = '[[Form ID|Form ID]]', value = { 'formid', 'baseid' }},
{ type = 'row', label = '[[Form ID|Ref ID]]', value = 'refid' },
{ type = 'row', label = '[[Form ID|Ref ID]]', value = 'refid' }
}},
}},
{ type = 'row', label = 'Mentions', value = function(localdata) return require('Module:Abréviation').links({ localdata['mentions'], sep = '<br/>' }) end },
{ type = 'row', label = 'Mentions', value = function(localdata) return require('Module:Abréviation').links({ localdata['mentions'], sep = '<br/>' }) end },

Version du 15 novembre 2025 à 14:35

La documentation pour ce module peut être créée à Module:Infobox/Radio/doc

local localdata = require('Module:Infobox/Localdata')

return {
	parts = {
		{ type = 'title', value = 'nom', subtitle = 'sous-titre', subhead = { games = 'jeux', link = 'Stations de radio' }},
		{ type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }},
		{ type = 'table', title = 'Autre', rows = {
			{ type = 'row', label = 'Quêtes', value = 'quêtes' },
			{ type = 'row', label = 'Événements', value = 'événements' }
		}},
		{ type = 'table', title = 'Caractéristiques', rows = {
			{ type = 'row', label = 'Origine', value = 'origine' },
			{ type = 'row', label = 'Étendue', value = 'étendue' },
			{ type = 'row', label = 'Fréquence', value = 'fréquence' }
		}},
		{ type = 'table', title = 'Technique', collapseparameters = { collapsible = true, collapsed = true }, rows = {
			{ type = 'row', label = 'GECK id', value = 'geck id' },
			{ type = 'row', label = 'Editor ID', value = 'editorid' },
			{ type = 'row', label = '[[Form ID|Form ID]]', value = { 'formid', 'baseid' }},
			{ type = 'row', label = '[[Form ID|Ref ID]]', value = 'refid' }
		}},
		{ type = 'row', label = 'Mentions', value = function(localdata) return require('Module:Abréviation').links({ localdata['mentions'], sep = '<br/>' }) end },
		{ type = 'text', value = 'pied' }
	}
}