Die Dokumentation für dieses Modul kann unter Modul:GetImage/List/Doku erstellt werden

--[[ 	Generates a list of marker types ]]--  -- Module variable and administration local gil = { 	moduleInterface = { 		suite  = 'GetImage/List', 		serial = '2024-08-18', 		item   = nil 	} }  -- Module import local gip = require( 'Modul:GetImage/Properties' )  local types = { 	group = 'Gruppe',  -- type translations 	label = 'Beschriftung', 	type  = 'Typ' }  -- Language-dependent sorting substitutes local substitutes = { 	{ l = 'ä', as = 'a' }, 	{ l = 'ö', as = 'o' }, 	{ l = 'ü', as = 'u' }, 	{ l = 'ß', as = 'ss' } }  local function convertForSort( s ) 	s = mw.ustring.lower( s ) 	for i, obj in ipairs( substitutes ) do 		s = mw.ustring.gsub( s, obj.l, obj.as ) 	end 	return s end  -- generates a table with type documentation function gil.generatePublicTransportSymbolsList( frame ) 	local rows = {} 	for key, value in pairs( gip.publicTransportSymbols ) do 		table.insert( rows, ( '<tr><td>%s</td><td>%s</td><td>[[File:%s|20px|center]]</td></tr>' ):format ( key, value, value ) ) 	end 	table.sort( rows, 		function( a, b ) 			return convertForSort( a ) < convertForSort( b ) 		end 	) 	table.insert( rows, 1, '<table class="prettytable sortable multiline" cellspacing="0">\n' 		.. ( '<tr><th>%s</th><th>%s</th><th>%s</th></tr>' ):format ( 'Symbolname', 'Dateiname', 'Darstellung' ) 		) 	table.insert( rows, '</table>' ) 	return table.concat( rows, '\n' ) end  return gil