Module:QuestDetails: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 11: Line 11:
local requirements;
local requirements;
if (args[2]) then
if (args['requirements']) then
requirements = args[2]
requirements = args['requirements']
else
else
requirements = 'None'
requirements = 'None'
Line 30: Line 30:
:tag( 'td' )
:tag( 'td' )
:tag('p')
:tag('p')
:wikitext( args[1] )
:wikitext( args['start_point'] )
:done()
:done()
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
Line 51: Line 51:
:done()
:done()
if (args[3]) then
if (args['recommended']) then
table
table
:tag( 'tr' )
:tag( 'tr' )
Line 62: Line 62:
:tag( 'td' )
:tag( 'td' )
:tag('p')
:tag('p')
:wikitext( args[3] )
:wikitext( args['recommended'] )
:done()
:done()
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
Line 69: Line 69:
end
end
if (args[4]) then
if (args['enemies']) then
table
table
:tag( 'tr' )
:tag( 'tr' )
Line 80: Line 80:
:tag( 'td' )
:tag( 'td' )
:tag('p')
:tag('p')
:wikitext( args[4] )
:wikitext( args['enemies'] )
:done()
:done()
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')