Модуль:External links: различия между версиями

[отпатрулированная версия][отпатрулированная версия]
Содержимое удалено Содержимое добавлено
Олимпийский комитет Швеции
кёрлинг + фикс
Строка 364:
{ 'BSRussia', 'P6252', function( id ) return 'http://bsrussia.com/profiles/persons/' .. id; end },
{ 'Chess Games', 'P1665', function( id ) return 'http://www.chessgames.com/perl/chessplayer?pid=' .. id; end },
{ 'Curlingzone.com', 'P3556', function( id ) return 'http://www.curlingzone.com/player.php?playerid=' .. id; end },
{ 'Driver Database', 'P3684', function( id ) return 'https://www.driverdb.com/drivers/' .. id .. '/'; end },
{ 'Elite Prospects', 'P2481', function( id ) return 'http://www.eliteprospects.com/player.php?player=' .. id; end },
Строка 454 ⟶ 455 :
{ 'UIPM', 'P2726', function( id ) return 'http://www.uipmworld.org/athlete/' .. id; end },
{ 'Vesti.kz', 'P6215', function( id ) return 'http://vesti.kz/player/' .. id .. '/' end },
{ 'World Curling Tour', 'P3556', function( id ) return 'http://www.worldcurl.com/player.php?playerid=' .. id; end },
{ 'worldfootball.net (игрок)', 'P2020', function( id ) return 'http://www.worldfootball.net/player_summary/' .. id .. '/' end },
{ 'worldfootball.net (судья)', 'P6314', function( id ) return 'https://www.worldfootball.net/referee_summary/' .. id .. '/' end },
Строка 459 ⟶ 461 :
{ 'АМФР', 'P6320', function( id ) return ' http://amfr.ru/persons/' .. id .. '/'; end },
{ 'Британская олимпийская ассоциация', 'P4490', function( id ) return 'https://www.teamgb.com/athletes/' .. id; end },
{ 'Всемирная федерация кёрлинга', 'P3557', function( id ) return 'http://results.worldcurling.org/Person/Details/' .. id; end },
{ 'ВФЛА', 'P5077', function( id ) return 'http://sport.rusathletics.com/AthleteProfile/' .. id; end },
{ 'Датский футбольный союз', 'P6109', function( id ) return 'https://www.dbu.dk/landshold/landsholdsdatabasen/LBasePlayerInfo.aspx?playerid=' .. id; end },
Строка 782 ⟶ 785 :
html = html .. resourceLabel .. ': ';
end
 
local preitemId
for index, resourceData in pairs(resourceDatas) do
local itemId = resourceData.itemId;
if index == 2 then
--даёт возможность поставить id из одного свойства в разные ссылки
if itemId == preitemId then
break
end
end
 
local languages = resourceData.languages;
local link = params[3] ( itemId );
Строка 792 ⟶ 804 :
interwiki = linkFirstChar == ':'
end
 
if ( separateDesign ) then
if ( index ~= 1 ) then
Строка 829 ⟶ 840 :
end
end
preitemId = resourceData.itemId;
end
if ( #params >= 4 and params[4] ) then