模块:Vertical header:修订历史

来自决策链云智库

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

2024年1月25日 (星期四)

  • 当前之前 16:512024年1月25日 (四) 16:51Zeroclanzhang 讨论 贡献 2,094字节 +186 无编辑摘要
  • 当前之前 12:552024年1月25日 (四) 12:55Zeroclanzhang 讨论 贡献 1,908字节 +1,908 创建页面,内容为“local p = {} function p._vertical_header(args) local text = args.text local maxWidth = args.maxWidth local rows = 1 local width = 0 if maxWidth ~= "" then width = maxWidth else for eachMatch in text:gmatch("<[bB][rR] */? *>") do rows = rows + 1 end width = rows * 0.875 width = width .. "em" end local wikiText = "class = \"nowrap" local sortPadding = args.sortPadding if sortPadding == "" then wikiText = wikiText .. " unsortable" en…”