Хтосьці

加入於 二〇一一年一月一二日 (週三)
由Хтосьці在話題thanks上作出的最新留言:一一 年前

thanks

Hello Хтосьці I noticed you created a very useful module for the classical chinese wikepedia. is this a final solution? or something more can be done to improve this?

But anyways. thanks for your help!

無命燕居 (talk) 二〇一三年四月一日 (一) 一七時三九分 (UTC)回覆

不客氣

Hello!

It works, but has 2 issues.

1. MediaWiki uses = symbol in templates. So it cannot be used in the beginning of the text.

So, instead of this (this will not work): You must use this (add newline): Or this (add 1=):
{{vert|== 此例也 ==
此例也}}
{{vert|
== 此例也 ==
此例也}}
{{vert|1=== 此例也 ==
此例也}}

This is because = is a special symbol, I can’t fix it. :( But I think the variant with newline is not that bad... :?

2. Also, I think it needs a length limit. Right now you can’t take a random article and make it vertical: lines will be too long. It works only for very short articles (like 食物): {{vert|1={{:食物}}}}

But if you replace 食物 with a longer article, it will look awful. I think some limit is needed for long lines... But limit can be added later, module can be used without it.


Also, if you have ideas what modules might be useful, please share your thoughts. :) I like writing modules. :D


I’d also like to thank all the editors of the Classical Chinese Wikipedia and other Chinese Wikipedias! I think it is a very interesting project! 我希望有一天我會學習文言文…… :)

Хтосьці (talk) 二〇一三年四月一日 (一) 一九時四二分 (UTC)回覆