Content deleted Content added
test |
removed italic style from "average" header, added link to "citation needed", changed text for source |
||
Line 196:
local countryDisplayUS, countryDisplayUK, countryDisplayOther
if args.country ~= nil and args.country ~= '' then
if args.country == "U.S." or args.country == "US" or args.country == "United States" then countryDisplayUS = 'U.S.'
elseif args.country == "U.K." or args.country == "UK" or args.country == "United Kingdom" then countryDisplayUK = 'U.K.'
else countryDisplayOther = args.country
end
Line 241:
:attr('scope','col')
:attr('rowspan','2')
:wikitext("
end
Line 267:
row:tag('th')
:attr('scope','col')
:wikitext("
end
end
Line 336:
local span = mw.html.create( 'span' )
span:css( 'color', 'red' )
:wikitext(frame:expandTemplate{ title='dummy reference', args={ '[[Wikipedia:Citation needed|citation needed
if countryDisplayUS then
root:wikitext("<small>
elseif countryDisplayUK then
root:wikitext("<small>Audience measurement was performed by [[Broadcasters' Audience Research Board]].</small>" .. (args.refs or tostring(span)))
else
root:wikitext("<small>Source: </small>" .. (args.refs or tostring(span)))
|