وحدة:Wikidata2/P54: الفرق بين النسختين
[نسخة منشورة] | [نسخة منشورة] |
تم حذف المحتوى تمت إضافة المحتوى
Mr. Ibrahem (نقاش | مساهمات) طلا ملخص تعديل |
Mr. Ibrahem (نقاش | مساهمات) طلا ملخص تعديل |
||
سطر 1:
local p = {}
local wl = require('وحدة:ص.م')▼
local teams_id = { 'Q476028',"Q847017" }
local national_id = { 'Q23895910','Q23847779','Q6979593',"Q21945604"
,"Q23759293","Q23905105","Q3874020","Q1194951", "Q6979740","Q23901137"}
function template ( args )
▲local wl = require('وحدة:ص.م')
local rows = mw.html.create( 'tr' )
local years = args[1] .. " - " .. args[2]
local goals;
if args[4] and args[4] ~="" then
goals = "(" .. args[4] .. ")"
end
rows:attr('colspan', 4)
--head:css('background-color', '#E1E1E1')
rows:tag('td'):tag("span"):addClass('nowrap'):wikitext(years)
rows:tag('td'):wikitext(args[3])
rows:tag('td'):tag("span"):addClass('nowrap'):wikitext(args[2] or "-")
rows:tag('td'):tag("span"):addClass('nowrap'):wikitext(goals)
return tostring(rows)
end
function ifd ( entit )
السطر 69 ⟵ 85:
end
--if options.football1 and options.football1 ~= '' then
Args = {(start1 or ''),(finish1 or ''),s,(amatch or ''),(goal or '')}
--s = template (Args)
--end
end
السطر 132 ⟵ 143:
local head = mw.html.create( 'tr' )
head:attr('colspan', 4)
head:css('background-color', '#E1E1E1')
head:tag('td'):wikitext("'''سنوات'''")
head:tag('td'):wikitext("'''فريق'''")
|