20060205 Compare two pages: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
m (4個修訂)
 
(4 intermediate revisions by 2 users not shown)
Line 21: Line 21:


== todo ==
== todo ==
* hide the TOC (automatic table of contents)
* the layout will destroy the 'print friendly' page
: alternative solution: increase the space of top-right
 
* ''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
<pre>border-top: 40px dotted #E0EDEE;</pre>
<pre>border-top: 40px dotted #E0EDEE;</pre>


Line 33: Line 36:


[[Category:Journal]]
[[Category:Journal]]
[[Category:Translation]]

Latest revision as of 14:36, 21 June 2009

usage[edit]

  • compare two different language wiki pages

css layout[edit]

{| 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[edit]

  • the layout will destroy the 'print friendly' page
  • 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?