Module:Good Articles: Difference between revisions

Content deleted Content added
mNo edit summary
more arg substitutions
Line 7:
local header = ""
local shortcuts = ""
iflocal argstype and= args.shortcuttype andor subpage"error: ==specify args.type then= Good Articles type"
local title = args.title or args.type
if args and args.shortcut and subpage == type then
shortcuts = frame:expandTemplate{ title = 'shortcut', args = { args.shortcut } }
header = frame:expandTemplate{ title = 'Wikipedia:Good articles/header', args = { shortcuts = shortcuts } }
end
local text = args.text or args[1] or ""
local image = args.image or "error: specify image"
local footer = [===[
</div>
Line 23 ⟶ 26:
</div>
<div style="clear:both;">
<span id="History]===] .. type .. [===[" />
<div style="padding:5px 5px 8px 5px; background-color:#66CC66; text-align:left; font-size:larger;">[[Image:Noia]===] 64.. appsimage kworldclock.png. [===[|22px|left]]'''History]===] .. type .. [===['''</div>
<div style="text-align:left;">
</div>
Line 30 ⟶ 33:
<div style="clear:both;" class="NavFrame">
<span id="World history"/>
<div class="NavHead" style="padding:2px 2px 2px 30px; background-color:#FFFAF0; text-align:left; font-size:larger;">[[Image:Noia]===] 64.. appsimage kworldclock.png. [===[|22px|left]]World]===] .. title .. history[===[</div>
<div class="NavContent" style="text-align:left;">