Module:MissionDetails: Difference between revisions

mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 52: Line 52:
             :tag( 'td' )
             :tag( 'td' )
                 :addClass( 'missiondetails-info' )
                 :addClass( 'missiondetails-info' )
                 :wikitext( '[[File:mission map icon.png|17px|link=]] ' .. icon .. start )
                 :wikitext( '' .. icon .. start )
                 :done()
                 :done()
             :done()
             :done()
Line 84: Line 84:
                 :addClass( 'qc-active' )
                 :addClass( 'qc-active' )
                 :tag( 'i' )
                 :tag( 'i' )
                     :wikitext( 'Skill requirements are not boostable unless marked with a [B] for boostable.' )
                     :wikitext( '' )
                     :done()
                     :done()
                 :newline():newline()
                 :newline():newline()
Line 98: Line 98:
                 :addClass( 'missiondetails-info' )
                 :addClass( 'missiondetails-info' )
                 :tag( 'i' )
                 :tag( 'i' )
                     :wikitext( 'Items from the [[tool belt]] are not listed unless they do not work or are not automatically added.' )
                     :wikitext( '' )
                     :done()
                     :done()
                 :newline():newline()
                 :newline():newline()
Line 178: Line 178:
['Official length'] = args.length or nil,
['Official length'] = args.length or nil,
}
}
local smwstat = mw.smw.set(smw)
if not smwstat == true then
err = err .. ' ' .. smwstat.error
end
return tostring(info) .. tostring(err)
return tostring(info) .. tostring(err)