Module:Convert/text: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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: | Line 145: | ||
["*"] = "×", -- use "*" to replace "x" in {{convert/2}} which is different from "x" in old {{convert}} |
["*"] = "×", -- 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}} |
["/"] = " / ", -- 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: | Line 187: | ||
["order"] = "order", |
["order"] = "order", |
||
["qid"] = "qid", |
["qid"] = "qid", |
||
["qual"] = "qual", |
|||
["qualifier"] = "qual", |
|||
["round"] = "round", |
["round"] = "round", |
||
["sigfig"] = "sigfig", |
["sigfig"] = "sigfig", |
||
Line 298: | Line 301: | ||
}, |
}, |
||
-- qid=x is handled as a special case: x should be a Wikidata Q item identifier. |
-- 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"] = { |
["round"] = { |
||
["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5 |
["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5 |