20060205 Compare two pages: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
Line 21: Line 21:


== todo ==
== todo ==
* hide the TOC (automatic table of contents)
* ''done:'' hide the TOC (automatic table of contents)
: formal solution: [http://meta.wikimedia.org/wiki/MediaWiki%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94#How_do_I_add_a_table_of_contents.3F How do I add a table of contents?]
: alternative solution: increase the space of top-right of right column
: alternative solution: increase the space of top-right of right column
<pre>border-top: 40px dotted #E0EDEE;</pre>
<pre>border-top: 40px dotted #E0EDEE;</pre>

Revision as of 02:04, 23 March 2006

usage

  • compare two different language wiki pages

css layout

{| class="plainlinks" cellspacing="5" cellpadding="0"
|-valign="top"
| style="width:50%; border-right: 1px solid #cca; border-bottom: 1px solid #cca; padding: 10px; -moz-border-radius: 10px; color:black; background:#f9f9f9;" |
<!-- 左欄 -->
{{:頁面名稱1}}

|width="50%" style="padding:0;margin:0;"|
<div style="border-top: 40px dotted #E0EDEE; border-bottom:1px solid #CFD5D7; border-right: 1px solid #CFD5D7; padding: 10px; -moz-border-radius: 10px 10px 0 0; background:#E0EDEE">
<!-- 右欄 -->
{{:頁面名稱2}}

</div>

todo

  • done: hide the TOC (automatic table of contents)
formal solution: How do I add a table of contents?
alternative solution: increase the space of top-right of right column
border-top: 40px dotted #E0EDEE;
  • add line number?