Changes
Jump to navigation
Jump to search
← Older edit
Module:Shortcut
(view source)
Revision as of 18:24, 4 April 2025
26 bytes removed
,
4 April
m
1 revision imported
Line 77:
Line 77:
local root = mw.html.create()
local root = mw.html.create()
−
root:wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Shortcut/styles.css'} })
+
root:wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = '
Module:
Shortcut/styles.css'} })
-- Anchors
-- Anchors
local anchorDiv = root
local anchorDiv = root
Line 103:
Line 103:
local shortcutList = root
local shortcutList = root
:tag('div')
:tag('div')
−
:addClass('module-shortcutboxplain
plainlist
noprint')
+
:addClass('module-shortcutboxplain noprint')
:attr('role', 'note')
:attr('role', 'note')
if options.float and options.float:lower() == 'left' then
if options.float and options.float:lower() == 'left' then
Line 117:
Line 117:
:wikitext(shortcutHeading)
:wikitext(shortcutHeading)
end
end
−
local
list
=
shortcutList:tag
('
ul
')
+
−
for i, item in ipairs
(listItems)
do
+
local
ubl
=
require
('
Module:List
')
.unbulleted
(listItems)
−
list:tag('li')
:wikitext(
item
)
+
shortcutList
:wikitext(
ubl
)
−
end
return tostring(root)
return tostring(root)
end
end
Krizar
confirmed, superuser,
Administrators
667
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Module
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
About
Main page
Recent changes
Random page
WikiData entry
WineDB entry
IGDB entry
Chocolatey Package
Help about MediaWiki
Tools
Special pages
Printable version