hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » xpwiki » xpWiki開発日記 » 2008-04-25

2008 4月 25 (金)
 

Ver 3.17.20 - 21 (テーブル整形ルール拡張と {{ }} によるファイル参照など) anchor.png Edit

Tag: Wiki書式 画像表示 Wikiヘルパー テーブル拡張書式

Page Top

概要 anchor.png Edit

  • WikiHelper での書式挿入で &font(); から、Bold は '' '' , Italic は ''' ''' を使用するようにした。理由は、この方が標準的な書式だからです。
  • テーブルの整形ルールを拡張しました。
  • &ref([パラメータ]){[代替テキスト]}; と同等機能を簡易に書ける {{[パラメータ]|[代替テキスト]}} を追加しました。
  • レンダラーモードで content id が一意となるように考慮しました。
  • 同一ページ中に TOC が複数ある場合に、折りたたみ機能が正常に動作しない問題を修正しました。
Page Top

テーブルの整形ルール拡張 anchor.png Edit

  • セル内の行揃えは、1つ以上の空白(半角スペース)や "<" "=" ">" を使って表現することもできます。
    |           ~Table with alignment          |||h
    |         right|    center    |left          |
    |left          |         right|    center    |
    | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
    
    |=~Table with alignment                    |||h
    |>right        |=center       |<left         |
    |<left         |>right        |=center       |
    | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
    Table with alignment
    rightcenterleft
    leftrightcenter
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • 空白のセルは、左のセルと連結されます。(左に有効なセルがない時は、右のセルと連結します。)
  • セル内に > を単独で記述すると右のセルと連結します(colspan)。
  • セル内に < を単独で記述すると左のセルと連結します(colspan)。
  • セル内に ~ または ^ を単独で記述すると上のセルと連結します(rowspan)。
Page Top

{{ }} によるファイル参照 anchor.png Edit

行中で &ref または、{{ }} を記述すると、添付ファイルまたは指定されたURLにあるファイルへのリンクを貼り付けることができます。ファイルが画像ファイルの場合は、その画像を表示します。

書式
&ref(添付ファイル名[,パラメタ]){代替文字列};
{{添付ファイル名[,パラメタ][|代替文字列]}}

&ref(URL[,パラメタ]){代替文字列};
{{URL[,パラメタ][|代替文字列]}}
{{test.txt|これはテスト}}
fileこれはテスト
Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-25 21:13 nao-pon
    • * xoops_version.php (1.336):
      • Version 3.71.21
  • 2008-04-25 21:13 nao-pon
    • * plugin/noautolink.inc.php (1.1):
      • Disable the autolink in a page.
  • 2008-04-25 21:12 nao-pon
    • * skin/js/xpwiki.js (1.15):
      • It corresponds to two or more TOC in the same page.
  • 2008-04-25 21:11 nao-pon
    • * class/func/pukiwiki_func.php (1.164):
      • Content id must become unique in the renderer mode.
  • 2008-04-25 11:54 nao-pon
    • * xoops_version.php (1.335):
      • Version 3.71.20
  • 2008-04-25 11:54 nao-pon
    • * ID/: en/wiki/.timestamp (1.2), en/wiki/466F726D617474696E6752756C6573.txt (1.2), ja/wiki/.timestamp (1.2), ja/wiki/466F726D617474696E6752756C6573.txt (1.2):
  • 2008-04-25 11:51 nao-pon
    • * class/make_link.php (1.26), class/func/pukiwiki_func.php (1.163), ini/pukiwiki.ini.php (1.73), plugin/attach.inc.php (1.39):
      • Added syntax of file reference "Require File Name [ &ref(FILE NAME); or #ref(FILE NAME) ]". ( Like a DokuWiki )
      • Added new config to pukiwiki.ini.php
        // Enable easy ref syntax {{...}}
        $root->easy_ref_syntax = 1;
  • 2008-04-25 11:48 nao-pon
    • * class/convert_html.php (1.28):
      • Enhancing of table format. ( Like a DokuWiki )
  • 2008-04-25 11:43 nao-pon
    • * skin/css/main.css (1.19):
      • Edited CSS.
  • 2008-04-25 11:42 nao-pon
    • * class/func/xpwiki_func.php (1.163):
      • Added a function touch_page($page, $time).
  • 2008-04-25 11:40 nao-pon
    • * include/check.func.php (1.15):
      • Fixed problem of TZ.
  • 2008-04-25 11:27 nao-pon
    • * plugin/timestamp.inc.php (1.5):
      • Added a function restore().
  • 2008-04-25 11:26 nao-pon
    • * skin/js/: gecko.js (1.9), main.js (1.45), winie.js (1.8):
      • Use to Bold: '' '', Italic: ''' '''.
Page Top

一行コメント anchor.png Edit




トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
Counter: 262, today: 1, yesterday: 0
初版日時: 2008-04-25 (金) 23:30:49
最終更新: 2008-04-25 (金) 23:30:49 (JST) (5843d) by nao-pon
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
オンライン状況
578 人のユーザが現在オンラインです。 (10 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 578

もっと...
サイト情報