Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← 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,404
edits