Editing Module:Life Guide
From The Petit Planet Wiki
More actions
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 9: | Line 9: | ||
args = require('Module:Arguments').getArgs(frame, { parentFirst = true }) | args = require('Module:Arguments').getArgs(frame, { parentFirst = true }) | ||
end | end | ||
local html = mw.html.create() | local html = mw.html.create() | ||
| Line 23: | Line 20: | ||
:tag('div') | :tag('div') | ||
:addClass('lifeguide') | :addClass('lifeguide') | ||
:addClass( | :addClass(not args.table and title.rootText == 'Life Guide' and 'lifeguide-standalone' or '') | ||
:tag('dl') | :tag('dl') | ||
:tag('dt'):wikitext(lifeguideArgs.title or page) | :tag('dt'):wikitext(lifeguideArgs.title or page) | ||
| Line 33: | Line 30: | ||
:tag('div') | :tag('div') | ||
:addClass('lifeguide') | :addClass('lifeguide') | ||
:addClass( | :addClass(not args.table and title.rootText == 'Life Guide' and 'lifeguide-standalone' or '') | ||
:node(p._LifeGuideFormat(args)) | :node(p._LifeGuideFormat(args)) | ||
end | end | ||