「模組:Vertical」:各本之異

[底本][底本]
刪去的內容 新增的內容
Хтосьці
 
Хтосьці
Lua不能用{{Vtext|...}}乎? 不好……
第一〇行:
header = s:match("===%s*(.+)%s*===s*")
if header ~= nil then
return '{{VH2|<div style="font-size:x-large;font-weight:bold;line-height:1em;width:1.5em; float:right; cursor: vertical-text;">' .. header .. '}}</div>'
end
header = s:match("==%s*(.+)%s*==s*")
if header ~= nil then
return '{{VH1|<div style="font-size:xx-large;font-weight:bold;line-height:1em;width:1.5em; float:right; cursor: vertical-text;">' .. header .. '}} </div>'
end
return '{{Vtext|<div style="width:1.5em; float:right; cursor: vertical-text;">' .. s .. '}} </div>'
end