Difference between revisions of "Module:Authority control files"
Jump to navigation
Jump to search
blackwiki>Tom.Reding m (•) |
blackwiki>Tom.Reding (group1 -> title) |
||
| Line 13: | Line 13: | ||
name = 'Authority control files', | name = 'Authority control files', | ||
navboxclass = 'authority-control-files', | navboxclass = 'authority-control-files', | ||
| + | title = '[[Authority control|Authority control files]]', | ||
bodyclass = 'hlist', | bodyclass = 'hlist', | ||
| − | |||
list1 = table.concat( elements, ' • ' ) | list1 = table.concat( elements, ' • ' ) | ||
} ) | } ) | ||
Revision as of 19:00, 1 September 2019
| This module depends on the following other modules: |
About
This template is used to display wikilinks to all currently supported authority control IDs, automatically loaded from Module:Authority control's p.conf table.
Usage
See also
local p = {}
function p.files(frame)
local nav = require( 'Module:Navbox' )
local conf = require( 'Module:Authority control' ).conf
local elements = {}
for _, c in pairs( conf ) do
table.insert( elements, c[2] )
end
return nav._navbox( {
name = 'Authority control files',
navboxclass = 'authority-control-files',
title = '[[Authority control|Authority control files]]',
bodyclass = 'hlist',
list1 = table.concat( elements, ' • ' )
} )
end
return p