Module:Convert/text: Difference between revisions

(change recent "/" range to output thin spaces around the slash, per request at Template talk:Convert#Slash with thin spaces)
(update from sandbox per Template talk:Convert#Module version 17)
Line 145:
["*"] = "×", -- use "*" to replace "x" in {{convert/2}} which is different from "x" in old {{convert}}
["/"] = " / ", -- for a table of high/low temperatures with {{convert|83|/|63|F|disp=br()|abbr=values}}
["#"] = { off = ", ", on = ", ", abbr_range_x = true, adj = " ± " }, -- to show multiple Wikidata values
}
 
Line 186 ⟶ 187:
["order"] = "order",
["qid"] = "qid",
["qual"] = "qual",
["qualifier"] = "qual",
["round"] = "round",
["sigfig"] = "sigfig",
Line 298 ⟶ 301:
},
-- qid=x is handled as a special case: x should be a Wikidata Q item identifier.
-- qual=x is handled as a special case: x should be a Wikidata Q item identifier.
["round"] = {
["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5
Anonymous user