Module:Goalscorers and Module:Goalscorers/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m leading whitespace for this sentence |
spaces in correct places now |
||
Line 933: | Line 933: | ||
<div class="div-col columns column-count column-count-3" style="column-count:3;"> |
<div class="div-col columns column-count column-count-3" style="column-count:3;"> |
||
{{#if:{{{assists|}}}|{{{30 assists}}}|{{{30 goals}}}}}</div>|}}]] |
{{#if:{{{assists|}}}|{{{30 assists}}}|{{{30 goals}}}}}</div>|}}]] |
||
local output = "\n" |
local output = (text == "") and "" or "\n" |
||
local number = 30 |
local number = 30 |
||
Line 983: | Line 983: | ||
local source = g.args['source'] or "" |
local source = g.args['source'] or "" |
||
if source ~= "" then source = "<small>Source: " .. source .. "</small>" end |
if source ~= "" then source = "<small>Source: " .. source .. "</small>" end |
||
return text .. output .. footer .. source |
return text .. output .. footer .. source |
||
end |
end |