Content deleted Content added
→Width with em value: new section |
|||
Line 935:
Width cannot be specified with em value in the <code>team-width</code> and <code>score-width</code> parameters. Since the em value is useful for specifying width in number of characters, I would like you to be able to specify the width with the em value. --[[User:Nekohan|Nekohan]] ([[User talk:Nekohan|talk]]) 17:07, 10 June 2020 (UTC)
* {{re|Nekohan}} This limitation is inherited from the {{oldid|Round16|835593091|pre-Lua versions}} of the various RoundN-like templates. RoundN was designed to be fully backwards compatible so that the thousands of pages using the original templates would not need to be edited after the templates they used were converted to RoundN. While adding EM widths support is probably doable without breaking backwards compatibility, implementing such support is probably not worth it because it is easy enough to simply multiply whatever EM value you want by 12.6 (wikitables put font at 90% of the surrounding font size, which is generally the article text size of 14px = 1em; thus, 14 * 0.9 = 12.6). —[[User:Codehydro|<font color="#aaaaaa" face="Unicode" style="font-size:12pt;">'''Code'''</font>]][[User talk:Codehydro|<font color="#5577aa">'''Hydro'''</font>]] 14:07, 25 August 2020 (UTC)
|