Editing Module:QuestDetails

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 8: Line 8:
mw.smw.set({
mw.smw.set({
["start_point"] = args.start_point,
["start_point"] = args.start_point,
})
end
if args.required_for then
mw.smw.set({
["required_for"] = args.required_for,
})
end
if args.next_quest then
mw.smw.set({
["next_quest"] = args.next_quest,
})
})
end
end
Line 23: Line 13:
mw.smw.set({
mw.smw.set({
["requirements"] = '\n'..args.requirements,
["requirements"] = '\n'..args.requirements,
})
end
if args.items then
mw.smw.set({
["items"] = '\n'..args.items,
})
})
end
end
Line 57: Line 42:
:wikitext('Start Point')
:wikitext('Start Point')
:done()
:done()
:attr('style', 'vertical-align:top; width:15%; padding: 1em;')
:attr('style', 'vertical-align:top; width:15%; padding: 0 1em;')
:done()
:done()
:tag( 'td' )
:tag( 'td' )
Line 67: Line 52:
:done()
:done()
if (args.required_for) then
table
:tag( 'tr' )
:tag( 'td' )
:tag( 'b' )
:wikitext('Required for')
:done()
:attr('style', 'vertical-align:top; width:15%; padding: 1em;')
:done()
:tag( 'td' )
:tag('div')
:newline()
:wikitext( args.required_for )
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
:done()
:done()
end
table
:tag( 'tr' )
:tag( 'tr' )
:tag( 'td' )
:tag( 'td' )
:attr('style', 'vertical-align:top; width:15%; padding: 1em;')
:tag( 'b' )
:tag( 'b' )
:wikitext('Requirements')
:wikitext('Requirements')
:done()
:done()
:attr('style', 'vertical-align:top; width:15%; padding: 0 1em;')
:done()
:done()
:tag( 'td' )
:tag( 'td' )
:attr('style', 'max-width:85%; width:auto; padding: 0.3em;')
:tag('div')
:tag('div')
:addClass('lighttable checklist')
:addClass('lighttable checklist')
:newline()
:newline()
:wikitext(requirements)
:wikitext(requirements)
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
:newline()
:done()
:done()
:done()
:done()
:done()
if (args.items) then
table
:tag( 'tr' )
:tag( 'td' )
:attr('style', 'vertical-align:top; width:15%; padding: 1em;')
:tag( 'b' )
:wikitext('Items')
:done()
:done()
:tag( 'td' )
:attr('style', 'max-width:85%; width:auto; padding: 0.3em;')
:tag('div')
:addClass('lighttable checklist')
:newline()
:wikitext(args.items)
:newline()
:done()
:done()
:done()
end
if (args.recommended) then
if (args.recommended) then
Line 132: Line 75:
:wikitext('Recommended')
:wikitext('Recommended')
:done()
:done()
:attr('style', 'vertical-align:top; width:15%; padding: 1em;')
:attr('style', 'vertical-align:top; width:15%; padding: 0 1em;')
:done()
:done()
:tag( 'td' )
:tag( 'td' )
:attr('style', 'max-width:85%; width:auto; padding-left: 1em;')
:tag('div')
:tag('div')
:addClass('lighttable checklist')
:newline()
:newline()
:wikitext( args.recommended )
:wikitext( args.recommended )
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
:newline()
:done()
:done()
:done()
:done()
Line 152: Line 93:
:wikitext('Enemies')
:wikitext('Enemies')
:done()
:done()
:attr('style', 'vertical-align:top; width:15%; padding: 1em;')
:attr('style', 'vertical-align:top; width:15%; padding: 0 1em;')
:done()
:done()
:tag( 'td' )
:tag( 'td' )
:tag('div')
:tag('p')
:newline()
:wikitext( args.enemies )
: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;')
Please note that all contributions to Brighter Shores Wiki are considered to be released under the CC BY-NC-SA 3.0 (see Brighter Shores:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template

This page is a member of a hidden category: