Content deleted Content added
undo my edits: it's an interesting idea, but for it to really make sense, Module:Weather box/row/sandbox should use the generated table rather than looking directly at template parameters |
update from Module:Weather box (don't require sandbox submodule) |
||
Line 50:
local function makeSources(frame, args)
local source1 = stripToNil(args.source) or stripToNil(args['source 1'])
local source2 = stripToNil(args['source 2']) or stripToNil(args['source2'])
local result = '|-\n|colspan="14" style="text-align:center;font-size:95%;"|'
local text
if source1 or source2 then
if source1 and source2 then▼
text =
▲ if source2 then
else
text =
end
else
Line 429 ⟶ 430:
local function main(frame)
local buildRow = require('Module:Weather box/row
local args = frame:getParent().args
local results = {}
|