45,647
edits
(Created page with "local m_labeldata = mw.loadData("Module:labels/data") local m_utilities = require("Module:utilities") local m_links = require("Module:links") local export = {} -- for testin...") |
No edit summary |
||
Line 139: | Line 139: | ||
if data.glossary then | if data.glossary then | ||
local glossary_entry = type(data.glossary) == "string" and data.glossary or label | local glossary_entry = type(data.glossary) == "string" and data.glossary or label | ||
label = "[[Appendix:Glossary#" .. glossary_entry .. "|" .. ( data.display or label ) .. "]]" | label = "[[wikt:Appendix:Glossary#" .. glossary_entry .. "|" .. ( data.display or label ) .. "]]" | ||
elseif data.Wikipedia then | elseif data.Wikipedia then | ||
Wikipedia_entry = type(data.Wikipedia) == "string" and data.Wikipedia or label | Wikipedia_entry = type(data.Wikipedia) == "string" and data.Wikipedia or label | ||
Line 219: | Line 219: | ||
label = "" | label = "" | ||
else | else | ||
label = (omit_comma and "" or '<span class="ib-comma">,</span>') .. | label = (omit_comma and "" or '<span class="ib-comma" style="font-style: normal;">,</span>') .. | ||
(omit_space and "" or " ") .. | (omit_space and "" or " ") .. | ||
ret.label | ret.label | ||
Line 227: | Line 227: | ||
return | return | ||
"<span class=\"ib-brac\">(</span><span class=\"ib-content\">" .. | "<span class=\"ib-brac\">(</span><span class=\"ib-content\" style=\"font-style: italic;\">" .. | ||
table.concat(labels, "") .. | table.concat(labels, "") .. | ||
"</span><span class=\"ib-brac\">)</span>" | "</span><span class=\"ib-brac\">)</span>" |