Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Module:SMAPI compatibility
(view source)
Revision as of 05:17, 20 February 2021
93 bytes added
,
05:17, 20 February 2021
add markers to extract summary in external tools
Line 185:
Line 185:
-- stable status
-- stable status
−
field:wikitext(compat.summaryIcon .. " " .. compat.summary)
+
field:wikitext(
"<span class=\"mod-summary\">" ..
compat.summaryIcon .. " " .. compat.summary
.. "</span>"
)
if compat.status == "optional" then
if compat.status == "optional" then
field:wikitext("<ref name=\"optional-update\" />")
field:wikitext("<ref name=\"optional-update\" />")
Line 193:
Line 193:
if betaCompat ~= nil then
if betaCompat ~= nil then
field:wikitext("<br />")
field:wikitext("<br />")
−
field:wikitext("'''SDV beta only:''' " .. betaCompat.summaryIcon .. " " .. betaCompat.summary)
+
field:wikitext("'''SDV beta only:'''
<span class=\"mod-beta-summary\">
" .. betaCompat.summaryIcon .. " " .. betaCompat.summary
.. "</span>"
)
if betaCompat.status == "optional" then
if betaCompat.status == "optional" then
field:wikitext("<ref name=\"optional-update\" />")
field:wikitext("<ref name=\"optional-update\" />")
Pathoschild
translators
8,445
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Module
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version