Changes between Version 3 and Version 4 of WikiFormatting
- Timestamp:
- Dec 30, 2016, 2:54:47 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiFormatting
v3 v4 1 = Wiki 文法 = #WikiFormatting 1 = WikiFormatting 2 2 3 [[TracGuideToc]] 3 4 4 Wiki マークアップは Trac のコアとなる機能です。他のパーツと緊密に統合することによって、 Trac をフレキシブルかつ強力にしています。 5 6 Trac はビルトインの小規模だけれども強力な wiki のレンダリングエンジンを搭載しています。この wiki エンジンは他の有名な wiki のコマンドのサブセット 7 特に、 [http://moinmo.in/ MoinMoin] や [trac:WikiCreole] を拡張して実装しています。 8 9 10 このページでは、 WikiFormatting が使用できるところではどこでも使用できる wiki のマークアップについて掘り下げた説明をします。 11 12 以下に記述する ''チートシート'' に最も一般的なシンタックスのちょっとした概要を載せます。 ''カテゴリ'' カラムの中にあるそれぞれのリンクをたどってこのページの下の方にある詳細な説明を見ることができます。 13 14 いくつかの他の wiki ページにも Trac の wiki のマークアップについて詳細な特徴について、より掘り下げて書かれています: 15 - TracLinks はいかなる Trac のリソースまたはその一部を正確に参照する方法についてカバーしています 16 - WikiPageNames wiki ページの命名規則、 CamelCase かそれ以外かについて書かれています 17 - WikiMacros には動的にコンテンツを生成するためのマクロの一覧がリストされています 18 - WikiProcessors と WikiHtml には wiki テキストの一部を特別な方法で処理する方法についての詳細が書かれています 19 20 21 == チートシート == #Cheatsheet 22 23 ||= '''カテゴリ''' =||= '''Wiki マークアップ''' =||= '''表示''' =|| 5 Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and powerful whole. 6 7 Trac has a built-in small and powerful wiki rendering engine. This wiki engine implements a growing subset of the commands from other popular Wikis, especially [http://moinmo.in/ MoinMoin] and [trac:WikiCreole]. 8 9 This page will give you an in-depth explanation of the wiki markup available anywhere WikiFormatting is allowed. 10 11 The sections below provide an overview for the most common syntax, each link in the ''Category'' column will lead you to the more detailed explanation later in this page. 12 13 A few other wiki pages present the advanced features of the Trac wiki markup in more depth: 14 - TracLinks covers all the possible ways to refer precisely to any Trac resource or parts thereof. 15 - WikiPageNames covers the various names a wiki page can take, whether in CamelCase or not. 16 - WikiMacros lists the macros available for generating dynamic content. 17 - WikiProcessors and WikiHtml details how parts of the wiki text can be processed in special ways. 18 - [trac:wiki:TracDev/Proposals/AdvancedWikiOperations AdvancedWikiOperations] provides some operations in uncommon or administrative scenarios. 19 20 == Common wiki markup 21 22 ||= '''Category''' =||= '''Wiki Markup''' =||= '''Display''' =|| 24 23 |----------------------------------------------------------- 25 24 {{{#!th rowspan=3 26 [#FontStyles フォント書式]27 }}} 28 || `''' 太字'''`, `''斜体''`, `'''''Wikipedia 書式'''''` || \29 || ''' 太字''', ''斜体'', '''''Wikipedia 書式''''' ||30 || {{{` 等幅 (''他のマークアップを無視'')`}}} || \31 || ` 等幅 (''他のマークアップを無視'')` ||32 || `** 太字**`, `//斜体//`, `**//!WikiCreole 書式//**` || \33 || ** 太字**, //斜体//, **//!WikiCreole 書式//** ||34 |----------------------------------------------------------- 35 ||= [#Headings 見出し] =||\36 {{{#!td 37 {{{ 38 == 見出し 2 ==39 === 見出し 3 ^([#hn 注])^25 [#FontStyles Font Styles] 26 }}} 27 || `'''bold'''`, `''italic''`, `'''''Wikipedia style'''''` || \ 28 || '''bold''', ''italic'', '''''Wikipedia style''''' || 29 || {{{`monospaced (''other markup ignored'')`}}} || \ 30 || `monospaced (''other markup ignored'')` || 31 || `**bold**`, `//italic//`, `**//!WikiCreole style//**` || \ 32 || **bold**, //italic//, **//!WikiCreole style//** || 33 |----------------------------------------------------------- 34 ||= [#Headings Headings] =||\ 35 {{{#!td 36 {{{ 37 == Level 2 38 === Level 3 ^([#hn note])^ 40 39 }}} 41 40 }}} 42 41 {{{#!td style="padding-left: 2em" 43 == 見出し 2 ==44 === 見出し 3 ^([#hn 注])^45 }}} 46 |----------------------------------------------------------- 47 ||= [#Paragraphs 改行] =||\48 {{{#!td 49 {{{ 50 複数行の51 第一段落52 53 第二段落54 }}} 55 }}} 56 {{{#!td 57 複数行の 58 第一段落 59 60 第二段落 61 }}} 62 |----------------------------------------------------------- 63 ||= [#Lists リスト] =||\64 {{{#!td 65 {{{ 66 * 複数行の67 番号なしリスト68 1. ネストしたリスト69 a. 異なる番号付け70 書式71 }}} 72 }}} 73 {{{#!td 74 * 複数行の75 番号なしリスト76 1. ネストしたリスト77 a. 異なる番号付け78 書式42 == Level 2 43 === Level 3 ^([#hn note])^ 44 }}} 45 |----------------------------------------------------------- 46 ||= [#Paragraphs Paragraphs] =||\ 47 {{{#!td 48 {{{ 49 First paragraph 50 on multiple lines. 51 52 Second paragraph. 53 }}} 54 }}} 55 {{{#!td 56 First paragraph 57 on multiple lines. 58 59 Second paragraph. 60 }}} 61 |----------------------------------------------------------- 62 ||= [#Lists Lists] =||\ 63 {{{#!td 64 {{{ 65 * bullet list 66 on multiple lines 67 1. nested list 68 a. different numbering 69 styles 70 }}} 71 }}} 72 {{{#!td 73 * bullet list 74 on multiple lines 75 1. nested list 76 a. different numbering 77 styles 79 78 }}} 80 79 |----------------------------------------------------------- 81 80 {{{#!th 82 [#DefinitionLists 用語定義リスト]83 }}} 84 {{{#!td 85 {{{ 86 用語:: 複数行にわたる87 用語の定義88 }}} 89 }}} 90 {{{#!td 91 用語:: 複数行にわたる92 用語の定義93 }}} 94 |----------------------------------------------------------- 95 ||= [#PreformattedText 整形済みテキスト] =||\96 {{{#!td 97 {{{ 98 {{{ 99 複数行、''no wiki''100 空白文字も除去しない101 }}} 102 }}} 103 }}} 104 {{{#!td 105 {{{ 106 複数行、''no wiki''107 空白文字も除去しない108 }}} 109 }}} 110 |----------------------------------------------------------- 111 ||= [#Blockquotes 引用ブロック] =||\112 {{{#!td 113 {{{ 114 もし、いくつかのスペースが行の先頭にある場合、115 テキストは引用を表します。116 }}} 117 }}} 118 {{{#!td 119 もし、いくつかのスペースが行の先頭にある場合、120 テキストは引用を表します。121 }}} 122 |----------------------------------------------------------- 123 ||= [#DiscussionCitations 引用] =||\81 [#DefinitionLists Definition Lists] 82 }}} 83 {{{#!td 84 {{{ 85 term:: definition on 86 multiple lines 87 }}} 88 }}} 89 {{{#!td 90 term:: definition on 91 multiple lines 92 }}} 93 |----------------------------------------------------------- 94 ||= [#PreformattedText Preformatted Text] =||\ 95 {{{#!td 96 {{{ 97 {{{ 98 multiple lines, ''no wiki'' 99 white space respected 100 }}} 101 }}} 102 }}} 103 {{{#!td 104 {{{ 105 multiple lines, ''no wiki'' 106 white space respected 107 }}} 108 }}} 109 |----------------------------------------------------------- 110 ||= [#Blockquotes Blockquotes] =||\ 111 {{{#!td 112 {{{ 113 if there's some leading 114 space the text is quoted 115 }}} 116 }}} 117 {{{#!td 118 if there's some leading 119 space the text is quoted 120 }}} 121 |----------------------------------------------------------- 122 ||= [#DiscussionCitations Discussion Citations] =||\ 124 123 {{{#!td 125 124 {{{ … … 133 132 }}} 134 133 |----------------------------------------------------------- 135 ||= [#Tables 表] =||\136 {{{#!td 137 {{{ 138 ||= 表のヘッダ =|| セル||139 |||| ( 詳細は下記参照) ||140 }}} 141 }}} 142 {{{#!td 143 ||= 表のヘッダ =|| セル||144 |||| ( 詳細は下記参照) ||134 ||= [#Tables Tables] =||\ 135 {{{#!td 136 {{{ 137 ||= Table Header =|| Cell || 138 |||| (details below) || 139 }}} 140 }}} 141 {{{#!td 142 ||= Table Header =|| Cell || 143 |||| (details below) || 145 144 }}} 146 145 |----------------------------------------------------------- 147 146 {{{#!th rowspan=2 148 [#Links リンク]147 [#Links Links] 149 148 }}} 150 149 || `http://trac.edgewall.org` ||\ … … 154 153 |----------------------------------------------------------- 155 154 {{{#!th rowspan=5 156 [#TracLinks Trac リンク]155 [#TracLinks TracLinks] 157 156 }}} 158 157 || `wiki:WikiFormatting`, `wiki:"WikiFormatting"` ||\ 159 158 || wiki:WikiFormatting, wiki:"WikiFormatting" || 160 || `#1 ( チケット)`, `[1] (チェンジセット)`, `{1} (レポート)` ||\161 || #1 ( チケット), [1] (チェンジセット), {1} (レポート) ||159 || `#1 (ticket)`, `[1] (changeset)`, `{1} (report)` ||\ 160 || #1 (ticket), [1] (changeset), {1} (report) || 162 161 || `ticket:1, ticket:1#comment:1` ||\ 163 162 || ticket:1, ticket:1#comment:1 || 164 || ` チケット [ticket:1]`, `[ticket:1 チケット 1]` ||\165 || チケット [ticket:1], [ticket:1 チケット 1] ||166 || ` チケット [[ticket:1]]`, `[[ticket:1|チケット 1]]` ||\167 || チケット [[ticket:1]], [[ticket:1|チケット 1]] ||168 |----------------------------------------------------------- 169 {{{#!th rowspan=2 170 [#SettingAnchors アンカーの設定]171 }}} 172 || `[=#point1 (1)] 1 つ目...` ||\173 || [=#point1 (1)] 1 つ目... ||174 || ` [#point1 (1)] 参照` ||\175 || [#point1 (1)] 参照||163 || `Ticket [ticket:1]`, `[ticket:1 ticket one]` ||\ 164 || Ticket [ticket:1], [ticket:1 ticket one] || 165 || `Ticket [[ticket:1]]`, `[[ticket:1|ticket one]]` ||\ 166 || Ticket [[ticket:1]], [[ticket:1|ticket one]] || 167 |----------------------------------------------------------- 168 {{{#!th rowspan=2 169 [#SettingAnchors Setting Anchors] 170 }}} 171 || `[=#point1 (1)] First...` ||\ 172 || [=#point1 (1)] First... || 173 || `see [#point1 (1)]` ||\ 174 || see [#point1 (1)] || 176 175 |----------------------------------------------------------- 177 176 {{{#!th rowspan=3 178 [#Escaping LinksWikiPageNamesandotherMarkup リンクの無効化]179 }}} 180 || `!'' シングルクオテーション 2 つ` ||\181 || !'' シングルクオテーション 2 つ||177 [#Escaping Escaping Markup] 178 }}} 179 || `!'' doubled quotes` ||\ 180 || !'' doubled quotes || 182 181 || `!wiki:WikiFormatting`, `!WikiFormatting` ||\ 183 182 || !wiki:WikiFormatting, !WikiFormatting || 184 || {{{`}}}`{{{-}}}`{{{`}}}` 3重中括弧`||\185 || `{{{-}}}` 3重中括弧||186 |----------------------------------------------------------- 187 ||= [#Images 画像] =|| `[[Image(`''link''`)]]` || [[Image(htdocs:../common/trac_logo_mini.png)]] ||183 || [[html(<code>`{{{-}}}` triple curly brackets</code>)]] ||\ 184 || `{{{-}}}` triple curly brackets || 185 |----------------------------------------------------------- 186 ||= [#Images Images] =|| `[[Image(`''link''`)]]` || [[Image(htdocs:../common/trac_logo_mini.png)]] || 188 187 |----------------------------------------------------------- 189 188 {{{#!th rowspan=2 190 [#Macros マクロ]191 }}} 192 || `[[MacroList(*)]]` || ''( 簡単なマクロ一覧)'' ||193 || `[[Image?]]` || ''( イメージマクロのヘルプ)'' ||194 |----------------------------------------------------------- 195 ||= [#Processors プロセッサ] =||\189 [#Macros Macros] 190 }}} 191 || `[[MacroList(*)]]` || ''(short list of all available macros)'' || 192 || `[[Image?]]` || ''(help for the Image macro)'' || 193 |----------------------------------------------------------- 194 ||= [#Processors Processors] =||\ 196 195 {{{#!td 197 196 {{{ 198 197 {{{ 199 198 #!div style="font-size: 80%" 200 ソースコードのハイライト:199 Code highlighting: 201 200 {{{#!python 202 201 hello = lambda: "world" … … 208 207 {{{ 209 208 #!div style="font-size: 80%" 210 ソースコードのハイライト:211 {{{#!python 209 Code highlighting: 210 {{{#!python 212 211 hello = lambda: "world" 213 212 }}} … … 215 214 }}} 216 215 |----------------------------------------------------------- 217 ||= [#Comments コメント] =||\216 ||= [#Comments Comments] =||\ 218 217 {{{#!td 219 218 {{{ 220 219 {{{#!comment 221 編集している人への注: ...220 Note to Editors: ... 222 221 }}} 223 222 }}} … … 225 224 {{{#!td style="padding-left: 2em" 226 225 {{{#!comment 227 編集している人への注: ...228 }}} 229 }}} 230 |----------------------------------------------------------- 231 ||= [#Miscellaneous その他] =||\232 {{{#!td 233 {{{ 234 改 [[br]] 行235 改 \\ 行226 Note to Editors: ... 227 }}} 228 }}} 229 |----------------------------------------------------------- 230 ||= [#Miscellaneous Miscellaneous] =||\ 231 {{{#!td 232 {{{ 233 Line [[br]] break 234 Line \\ break 236 235 ---- 237 236 }}} 238 237 }}} 239 238 {{{#!td style="padding-left: 2em" 240 改 [[br]] 行 241 改 \\ 行 239 Line [[br]] break 240 Line \\ break 242 241 ---- 243 242 }}} 244 243 245 246 == フォント書式 == #FontStyles 247 248 Trac の Wiki は以下のフォント書式に対応しています: 249 ||= Wiki マークアップ =||= 表示 =|| 250 {{{#!td 251 {{{ 252 * '''太字''', 253 ''' シングルクオテーションを 3 つ (!''') も 254 頭にエクスクラメーションマーク (!) を付ければ、太字になります''' 255 * ''斜体'' 256 * '''''太字 + 斜体''''' そして ''斜体と 257 ''' 斜体 + 太字 ''' '' 258 * __下線__ 259 * {{{等幅}}} または `等幅` 260 (ゆえに `{{{` または {{{`}}} で囲む) 261 * ~~取り消し線~~ 262 * ^上付き文字^ 263 * ,,下付き文字,, 264 * **これも太字**, //これは斜体//, 265 そして **'' 太字 + 斜体 **'' //(0.12 以降)// 266 }}} 267 }}} 268 {{{#!td 269 * '''太字''', 270 ''' シングルクオテーションを 3 つ (!''') も 271 頭にエクスクラメーションマーク (!) を付ければ、太字になります。''', 272 * ''斜体'' 273 * '''''太字 + 斜体''''' そして ''斜体と 274 ''' 斜体 + 太字 ''' '' 275 * __下線__ 276 * {{{等幅}}} または `等幅` 277 (ゆえに `{{{` または {{{`}}} で囲む) 278 * ~~取り消し線~~ 279 * ^上付き文字^ 280 * ,,下付き文字,, 281 * **これも太字**, //これは斜体//, 282 そして **'' 太字 + 斜体 **'' //(0.12 以降)// 283 }}} 284 285 Note: 286 * `{{{...}}}`と {{{`...`}}} コマンドは表示を等角フォントにするだけではなく、内容を整形済みテキストとして扱います。つまりテキストに対して、どのような Wiki 処理も行いません 287 * {{{ ! }}} は wiki パーサに wiki フォーマットとして解釈しないように伝えます。なので、 ! の後ろにスペースを置くことに注意して下さい。例えば、太字で行が終わるようなときです 288 * すべてのフォント書式の記号は開始記号と終了記号のペアで使われなければなりません 289 そして、これらのペアは適切にネストされなければなりません ( 特に、斜体の `''` は 290 `//` とペアにすることはできませんし、太字の `'''` は `**` とペアにすることはできません ) 291 292 293 == 見出し == #Headings 294 295 見出しは、その行を 1 つから 6 つまでの等号記号 ("=") ではじめ、 296 その後にスペースを 1 つおいて、見出しのテキストを記述することにより作成することができます。 244 == Font Styles 245 246 The Trac wiki supports the following font styles: 247 ||= Wiki Markup =||= Display =|| 248 {{{#!td 249 {{{ 250 * '''bold''', 251 ''' triple quotes !''' 252 can be bold too if prefixed by ! ''', 253 * ''italic'' 254 * '''''bold italic''''' or ''italic and 255 ''' italic bold ''' '' 256 * __underline__ 257 * {{{monospace}}} or `monospace` 258 (hence `{{{` or {{{`}}} quoting) 259 * ~~strike-through~~ 260 * ^superscript^ 261 * ,,subscript,, 262 * **also bold**, //italic as well//, 263 and **'' bold italic **'' //(since 0.12)// 264 * [[span(style=color: #FF0000, a red text )]] 265 }}} 266 }}} 267 {{{#!td 268 * '''bold''', 269 ''' triple quotes !''' 270 can be bold too if prefixed by ! ''', 271 * ''italic'' 272 * '''''bold italic''''' or ''italic and 273 ''' italic bold ''' '' 274 * __underline__ 275 * {{{monospace}}} or `monospace` 276 (hence `{{{` or {{{`}}} quoting) 277 * ~~strike-through~~ 278 * ^superscript^ 279 * ,,subscript,, 280 * **also bold**, //italic as well//, 281 and **'' bold italic **'' //(since 0.12)// 282 * [[span(style=color: #FF0000, a red text )]] 283 }}} 284 285 Notes: 286 * `{{{...}}}` and {{{`...`}}} commands not only select a monospace font, but also treat their content as verbatim text, meaning that no further wiki processing is done on this text. 287 * {{{ ! }}} tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after !, e.g. when ending bold. 288 * all the font styles marks have to be used in opening/closing pairs, 289 and they must nest properly; in particular, an `''` italic can't be paired 290 with a `//` one, and `'''` can't be paired with `**`. 291 292 == Headings 293 294 You can create heading by starting a line with one up to six ''equal'' characters ("=") followed by a single space and the headline text. 297 295 298 296 [=#hn] 299 見出しのテキストの後ろには同じ数の等号 ("=") が必要ですが、もはやこれは必須ではありません。 300 301 ついに、ヘッダは 1 つの明示的な id によって選択的に追えるかもしれません。そうでなければ、暗黙ではあるけれども読み取り可能な id が生成されます。 302 303 ||= Wiki マークアップ =||= 表示=||304 {{{#!td 305 {{{ 306 = 見出し1=307 == 見出し2308 === ''これ'' について===309 === 明示的な Id === #using-explicit-id-in-heading310 == 見出し2#sub2297 The headline text can be followed by the same number of "=" characters, but this is not mandatory. That is, `=== Section3 ===` is identical to `=== Section3`. 298 299 Finally, the heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated. 300 301 ||= Wiki Markup =||= Display =|| 302 {{{#!td 303 {{{ 304 = Heading = 305 == Subheading 306 === About ''this'' === 307 === Explicit id === #using-explicit-id-in-heading 308 == Subheading #sub2 311 309 }}} 312 310 }}} … … 314 312 {{{ 315 313 #!div 316 = 見出し1=317 == 見出し2318 === ''これ'' について===319 === 明示的な Id === #using-explicit-id-in-heading320 == 見出し2#sub2321 }}} 322 }}} 323 324 == 改行 == #Paragraphs325 326 2 つのテキストブロックの間に 1 行以上の空行がある場合、新しい段落として改行を行います。 327 328 強制的に改行だけを行いたい場合、このように書いてください:329 ||= Wiki マークアップ =||= 表示=||330 {{{#!td 331 {{{ 332 行 1[[BR]]行2333 }}} 334 {{{ 335 段落336 1337 338 段落339 2340 }}} 341 }}} 342 {{{#!td 343 行 1[[BR]]行2344 345 段落346 1347 348 段落349 2350 }}} 351 352 == リスト == #Lists353 354 番号付きリストと番号無しリストの両方があります。 355 356 例:357 ||= Wiki マークアップ =||= 表示=||314 = Heading = 315 == Subheading 316 === About ''this'' === 317 === Explicit id === #using-explicit-id-in-heading 318 == Subheading #sub2 319 }}} 320 }}} 321 322 == Paragraphs 323 324 A new text paragraph is created whenever two blocks of text are separated by one or more empty lines. 325 326 A forced line break can also be inserted, using: 327 ||= Wiki Markup =||= Display =|| 328 {{{#!td 329 {{{ 330 Line 1[[BR]]Line 2 331 }}} 332 {{{ 333 Paragraph 334 one 335 336 Paragraph 337 two 338 }}} 339 }}} 340 {{{#!td 341 Line 1[[BR]]Line 2 342 343 Paragraph 344 one 345 346 Paragraph 347 two 348 }}} 349 350 == Lists 351 352 The wiki supports both ordered/numbered and unordered lists. 353 354 Example: 355 ||= Wiki Markup =||= Display =|| 358 356 {{{#!td 359 357 {{{ 360 358 * Item 1 361 359 * Item 1.1 362 * Item 1.1.1 360 * Item 1.1.1 363 361 * Item 1.1.2 364 362 * Item 1.1.3 365 363 * Item 1.2 366 364 * Item 2 367 - 各項目は行の先頭から開始することができます。368 そして複数行にまたがることができます。369 - 複数行にまたがる場合は、適切なインデントをするよう370 注意してください。さもないと371 新しい段落が開始してしまいます。372 365 - items can start at the beginning of a line 366 and they can span multiple lines 367 - be careful though to continue the line 368 with the appropriate indentation, otherwise 369 that will start a new paragraph... 370 373 371 1. Item 1 374 372 a. Item 1.a … … 377 375 i. Item 1.b.ii 378 376 1. Item 2 379 番号付きのリストは明示的に番号を付けてあげることで380 リストを再開できます:377 And numbered lists can also be restarted 378 with an explicit number: 381 379 3. Item 3 382 380 }}} … … 385 383 * Item 1 386 384 * Item 1.1 387 * Item 1.1.1 385 * Item 1.1.1 388 386 * Item 1.1.2 389 387 * Item 1.1.3 390 388 * Item 1.2 391 389 * Item 2 392 - 各項目は行の先頭から開始することができます。393 そして複数行にまたがることができます。394 - 複数行にまたがる場合は、適切なインデントをするよう395 注意してください。さもないと396 新しい段落が開始してしまいます。 390 - items can start at the beginning of a line 391 and they can span multiple lines 392 - be careful though to continue the line 393 with the appropriate indentation, otherwise 394 that will start a new paragraph... 397 395 398 396 1. Item 1 … … 402 400 i. Item 1.b.ii 403 401 1. Item 2 404 番号付きのリストは明示的に番号を付けてあげることでリストを再開できます:402 And numbered lists can also be restarted with an explicit number: 405 403 3. Item 3 406 404 }}} 407 405 408 409 == 用語定義リスト == #DefinitionLists 410 411 Wikiは用語定義リストも作成できます。 412 413 ||= Wiki マークアップ =||= 表示 =|| 406 == Definition Lists 407 408 The wiki also supports definition lists. 409 410 ||= Wiki Markup =||= Display =|| 414 411 {{{#!td 415 412 {{{ 416 413 llama:: 417 毛の生えた哺乳類の一種。414 some kind of mammal, with hair 418 415 ppython:: 419 毛がない爬虫類の一種。420 ( typoを見つけたかい?)416 some kind of reptile, without hair 417 (can you spot the typo?) 421 418 }}} 422 419 }}} 423 420 {{{#!td 424 421 llama:: 425 毛の生えた哺乳類の一種。422 some kind of mammal, with hair 426 423 ppython:: 427 毛がない爬虫類の一種。 428 (typoを見つけたかい?) 429 }}} 430 431 定義する用語の前にスペースが一つ必要なことを忘れないで下さい。 432 433 434 == 整形済みテキスト == #PreformattedText 435 436 整形済みテキストを含むブロックは、ソースコードの一部や、ノート、例示に適しています。引用ブロックとしたいテキストの前後を、 3 つの ''ブレース (curly braces)'' で括ってください。ブレースは独立した行に置かなければいけません。 437 438 ||= Wiki マークアップ =||= 表示 =|| 424 some kind of reptile, without hair 425 (can you spot the typo?) 426 }}} 427 428 Note that you need a space in front of the defined term. 429 430 == Preformatted Text 431 432 Block containing preformatted text are suitable for source code snippets, notes and examples. Use three ''curly braces'' wrapped around the text to define a block quote. The curly braces need to be on a separate line. 433 434 ||= Wiki Markup =||= Display =|| 439 435 {{{#!td 440 436 {{{ … … 452 448 }}} 453 449 454 Note : このブロックは、 [WikiProcessors Wiki プロセッサ] で処理されるべき行を示すためにも使用されます。455 456 == 引用ブロック == #Blockquotes457 458 段落を引用ブロックとしてマークするには、段落を 2 個のスペースでインデントします。 459 460 ||= Wiki マークアップ =||= 表示=||450 Note that this kind of block is also used for selecting lines that should be processed through WikiProcessors. 451 452 == Blockquotes 453 454 In order to mark a paragraph as blockquote, indent that paragraph with two spaces. 455 456 ||= Wiki Markup =||= Display =|| 461 457 {{{#!td 462 458 {{{ 463 段落 464 このテキストは何かの引用です。465 }}} 466 }}} 467 {{{#!td 468 段落 469 このテキストは何かの引用です。470 }}} 471 472 == 引用 == #DiscussionCitations473 474 進行中の議題のスレッド、チケットのコメントエリアなどで引用を表すために、メールライクな引用マーク (">", ">>" など) が使用できます。 475 476 ||= Wiki マークアップ =||= 表示=||459 Paragraph 460 This text is a quote from someone else. 461 }}} 462 }}} 463 {{{#!td 464 Paragraph 465 This text is a quote from someone else. 466 }}} 467 468 == Discussion Citations 469 470 To delineate a citation in an ongoing discussion thread, such as the ticket comment area, email-like citation marks (">", ">>", etc.) may be used. 471 472 ||= Wiki Markup =||= Display =|| 477 473 {{{#!td 478 474 {{{ … … 490 486 }}} 491 487 492 493 == 表 == #Tables494 === Simple Tables === 495 簡単なテーブルはこのように記述します:496 ||= Wiki マークアップ =||= 表示=||488 == Tables 489 === Simple Tables 490 491 Simple tables can be created like this: 492 ||= Wiki Markup =||= Display =|| 497 493 {{{#!td 498 494 {{{ … … 506 502 }}} 507 503 508 ヘッダとするセルは、等号 ('=') のペアで中身をラップすることで指定できます。 509 下記の例のように、等号 ('=') はセルのセパレータとくっつけておかなければなりません:510 ||= Wiki マークアップ =||= 表示=||511 {{{#!td 512 {{{ 513 || ||= 安定版 =||= 最新版=||504 Cell headings can be specified by wrapping the content in a pair of '=' characters. 505 Note that the '=' characters have to stick to the cell separators, like this: 506 ||= Wiki Markup =||= Display =|| 507 {{{#!td 508 {{{ 509 || ||= stable =||= latest =|| 514 510 ||= 0.10 =|| 0.10.5 || 0.10.6dev|| 515 511 ||= 0.11 =|| 0.11.6 || 0.11.7dev|| … … 517 513 }}} 518 514 {{{#!td style="padding: 2em;" 519 || ||= 安定版 =||= 最新版=||515 || ||= stable =||= latest =|| 520 516 ||= 0.10 =|| 0.10.5 || 0.10.6dev|| 521 517 ||= 0.11 =|| 0.11.6 || 0.11.7dev|| 522 518 }}} 523 519 524 最後に、空のセルを指定することは、隣の空ではないセルの範囲が空のセルまで広がることを意味します。例:525 ||= Wiki マークアップ =||= 表示=||520 Finally, specifying an empty cell means that the next non empty cell will span the empty cells. For example: 521 ||= Wiki Markup =||= Display =|| 526 522 {{{#!td 527 523 {{{ … … 539 535 }}} 540 536 541 もし、セルの中身がセルの左右どちらか一方の端に "くっついている" ならば、そのテキストはくっついている端に寄せて表示されるでしょう。例:542 ||= Wiki マークアップ =||= 表示=||543 {{{#!td 544 {{{ 545 ||= テキスト =||= 数字=||546 || 左寄せ|| 1.0||547 || 中央寄せ|| 4.5||548 || 右寄せ|| 4.5||549 || デフォルトの配置|| 2.5||550 || デフォルト|| 2.5||551 || デフォルト|| 2.5||552 || デフォルト|| 2.5||537 Note that if the content of a cell "sticks" to one side of the cell and only one, then the text will be aligned on that side. Example: 538 ||= Wiki Markup =||= Display =|| 539 {{{#!td 540 {{{ 541 ||=Text =||= Numbers =|| 542 ||left align || 1.0|| 543 || center || 4.5|| 544 || right align|| 4.5|| 545 || default alignment || 2.5|| 546 ||default|| 2.5|| 547 || default || 2.5|| 548 || default || 2.5|| 553 549 }}} 554 550 }}} 555 551 {{{#!td style="padding: 2em;" 556 ||= テキスト =||= 数字=||557 || 左寄せ|| 1.0||558 || 中央寄せ|| 4.5||559 || 右寄せ|| 4.5||560 || デフォルトの配置|| 2.5||561 || デフォルト|| 2.5||562 || デフォルト|| 2.5||563 || デフォルト|| 2.5||564 }}} 565 566 上記の例に反して、テーブルのセルにより多くのテキストが含まれている場合、複数の行にわたるマークアップを使用して行を広げられれば便利かもしれません。バックスラッシュ (`\`) がセルのセパレータの後ろの行末にあるとき、Trac は次の行に新しい行の新しいセルがあったとしても、新しい行を開始しません。 567 568 ||= Wiki マークアップ=||569 {{{#!td 570 {{{ 571 || 行 1 [http://trac.edgewall.org/newticket 新しいチケット] || \572 || 行 2 [http://trac.edgewall.org/roadmap ロードマップ] || \573 || 行 3 最後の行||552 ||=Text =||= Numbers =|| 553 ||left align || 1.0|| 554 || center || 4.5|| 555 || right align|| 4.5|| 556 || default alignment || 2.5|| 557 ||default|| 2.5|| 558 || default || 2.5|| 559 || default || 2.5|| 560 }}} 561 562 If contrary to the example above, the cells in your table contain more text, it might be convenient to spread a table row over multiple lines of markup. The `\` character placed at the end of a line after a cell separator tells Trac to not start a new row for the cells on the next line. 563 564 ||= Wiki Markup =|| 565 {{{#!td 566 {{{ 567 || this is column 1 [http://trac.edgewall.org/newticket new ticket] || \ 568 || this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \ 569 || that's column 3 and last one || 574 570 }}} 575 571 }}} 576 572 |------------- 577 ||= 表示=||573 ||= Display =|| 578 574 {{{#!td style="padding: 2em;" 579 || 行 1 [http://trac.edgewall.org/newticket 新しいチケット] || \ 580 || 行 2 [http://trac.edgewall.org/roadmap ロードマップ] || \ 581 || 行 3 最後の行 || 582 }}} 583 584 === 複雑なテーブル === #ComplexTables 585 586 上記に記載されている表における簡単な "パイプ" 形式のマークアップによる試みがあなたのニーズに合わないとしたら、 [#Processors-example-tables テーブル用 Wiki プロセッサ] を使用して、より凝ったテーブルを作成することができます。 587 588 589 == リンク == #Links 590 591 WikiPageNames や URL は自動的にハイパーリンクされます。 !WikiPageLinks を無効化したい場合、 {{{!WikiPageLink}}} のように、エクスクラメーションマーク (!) を語頭に置きます。 592 593 ||= Wiki マークアップ =||= 表示 =|| 575 || this is column 1 [http://trac.edgewall.org/newticket new ticket] || \ 576 || this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \ 577 || that's column 3 and last one || 578 }}} 579 580 === Complex Tables 581 582 If the possibilities offered by the simple pipe-based markup ('||') for tables described above are not enough for your needs, you can create more elaborate tables by using [#Processors-example-tables WikiProcessor based tables]. 583 584 == Links 585 586 Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark ('!'), such as {{{!WikiPageLink}}}. 587 588 ||= Wiki Markup =||= Display =|| 594 589 {{{#!td 595 590 {{{ … … 601 596 }}} 602 597 603 スクエアブラケット ('[', ']') 内にリンクの後ろにスペースとタイトルをつけることによって、よりリンクの内容をふさわしく表したタイトルをつけることができます。 604 このタイトルが省略されたとき、リンクが外部リンクでない限りにおいて明示的なプレフィックスが捨てられるでしょう。これは、 [WikiPageNames Wiki ページ名] のコンベンションに従わない wiki ページを扱うときに役に立つでしょう。 605 606 ||= Wiki マークアップ =||= 表示=||598 Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. 599 If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention. 600 601 ||= Wiki Markup =||= Display =|| 607 602 {{{#!td 608 603 {{{ 609 604 * [http://www.edgewall.com Edgewall Software] 610 * [wiki:TitleIndex Title Index] 611 * [wiki:TitleIndex] 605 * [wiki:TitleIndex Title Index] 606 * [wiki:TitleIndex] 612 607 * [wiki:ISO9000] 613 608 }}} … … 615 610 {{{#!td 616 611 * [http://www.edgewall.com Edgewall Software] 617 * [wiki:TitleIndex Title Index] 618 * [wiki:TitleIndex] 612 * [wiki:TitleIndex Title Index] 613 * [wiki:TitleIndex] 619 614 * [wiki:ISO9000] 620 615 }}} 621 616 622 [trac:WikiCreole] の書式に従って、この種のタイトルはまた、//二重の// スクエアブラケット ('![[', ']]') 内にリンクの後ろにパイプ ('|') とタイトルを書くことによっても指定することができます。 617 Following the [trac:WikiCreole] trend, the descriptive title can also be specified by writing the link followed by a pipe ('|') and a title and all this inside //double// square brackets. 623 618 624 619 {{{#!td … … 626 621 * [[http://www.edgewall.com|Edgewall Software]] 627 622 * [[wiki:TitleIndex|Title Index]] 628 または[[TitleIndex|Title Index]]623 or even [[TitleIndex|Title Index]] 629 624 * [[wiki:TitleIndex]] 630 ''' ![[TitleIndex]] はできません! '''625 ''' but not ![[TitleIndex]]! ''' 631 626 * [[ISO9000]] 632 627 }}} … … 635 630 * [[http://www.edgewall.com|Edgewall Software]] 636 631 * [[wiki:TitleIndex|Title Index]] 637 または[[TitleIndex|Title Index]]632 or even [[TitleIndex|Title Index]] 638 633 * [[wiki:TitleIndex]] 639 ''' ![[TitleIndex]] はできません !'''634 ''' but not ![[TitleIndex]]! ''' 640 635 * [[ISO9000]] 641 636 }}} 642 637 643 '''Note''': [trac:WikiCreole] のリンク用の書式は 644 Wikipedia や他の wiki で使用されていたりするので、素早くタイプでき、 645 確実に親しみやすいです。しかし不幸なことにこの書式は、 [#Macros マクロ] の書式とかぶってしまいます。 646 したがって、まれなケースですが、マクロ名にちなんだ wiki ページ名にリンクをはる必要があるとき 647 ( 典型的な例では、 TitleIndex, InterTrac や InterWiki)、 648 `[[TitleIndex]]` と書くと、ページへリンクする代わりにマクロを 649 呼び出してしまいます。 650 651 == Trac リンク == #TracLinks 652 653 Wiki ページでは Trac の他のコンポーネントに直接リンクできます。チケット、レポート、チェンジセット、マイルストーン、ソースファイル、他の Wiki ページへは以下のようにリンクを記述します: 654 655 ||= Wiki マークアップ =||= 表示 =|| 656 {{{#!td 657 {{{ 658 * チケット: #1 または ticket:1 659 * レポート: {1} または report:1 660 * チェンジセット: r1, [1] または changeset:1 638 '''Note''': the [trac:WikiCreole] style for links is quick to type and certainly looks familiar as it is the one used on Wikipedia and in many other wikis. Unfortunately it conflicts with the syntax for [#Macros macros]. 639 So in the rare case when you need to refer to a page which is named after a macro (typical examples being TitleIndex, InterTrac and InterWiki), by writing `[[TitleIndex]]` you will actually call the macro instead of linking to the page. 640 641 == Trac Links 642 643 Wiki pages can link directly to other parts of the Trac system. Pages can refer to tickets, reports, changesets, milestones, source files and other Wiki pages using the following notations: 644 645 ||= Wiki Markup =||= Display =|| 646 {{{#!td 647 {{{ 648 * Tickets: #1 or ticket:1 649 * Reports: {1} or report:1 650 * Changesets: r1, [1] or changeset:1 661 651 * ... 662 * 他の Trac のインスタンスをターゲット、 663 つまり InterTrac リンクを使用している場合: 664 - チケット: #Trac1 または Trac:ticket:1 665 - チェンジセット: [Trac1] or Trac:changeset:1 666 }}} 667 }}} 668 {{{#!td 669 * チケット: #1 または ticket:1 670 * レポート: {1} または report:1 671 * チェンジセット: r1, [1] または changeset:1 672 * ... 673 * 他の Trac のインスタンスをターゲット、 674 つまり InterTrac リンクを使用している場合: 675 - チケット: #Trac1 または Trac:ticket:1 676 - チェンジセット: [Trac1] or Trac:changeset:1 677 }}} 678 679 他にもいろいろな Trac リンクがあります。 [TracLinks Trac リンク] により細かい情報とデフォルトで使用できるすべてのリンクのリソルバのリファレンスについて書かれています。 680 681 682 == アンカーの設定 == #SettingAnchors 683 684 アンカー、またはもっと正しく言うならば、 [http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 アンカー名] は ドキュメント内の場所をユニークに特定するために、Wiki ページ内のいたるところに明示的に追加することができます: 652 * targeting other Trac instances, 653 so called InterTrac links: 654 - Tickets: #Trac1 or Trac:ticket:1 655 - Changesets: [Trac1] or Trac:changeset:1 656 }}} 657 }}} 658 {{{#!td 659 * Tickets: #1 or ticket:1 660 * Reports: {1} or report:1 661 * Changesets: r1, [1] or changeset:1 662 * ... 663 * targeting other Trac instances, 664 so called InterTrac links: 665 - Tickets: #Trac1 or Trac:ticket:1 666 - Changesets: [Trac1] or Trac:changeset:1 667 }}} 668 669 There are many more flavors of Trac links, see TracLinks for more in-depth information and a reference for all the default link resolvers. 670 671 == Setting Anchors 672 673 An anchor, or more correctly speaking, an [http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 anchor name] can be added explicitly at any place in the Wiki page, in order to uniquely identify a position in the document: 685 674 686 675 {{{ … … 688 677 }}} 689 678 690 [#Headings 上記で説明した] 明示的にヘッダ id をつけるときのフォーマットと合うようにこのシンタックスが採用されました。例:679 This syntax was chosen to match the format for explicitly naming the header id [#Headings documented above]. For example: 691 680 {{{ 692 == 長いタイトル== #title693 }}} 694 695 そのアンカーに対応するリンクのシンタックスにも近いです:681 == Long title == #title 682 }}} 683 684 It is also very close to the syntax for the corresponding link to that anchor: 696 685 {{{ 697 686 [#point1] 698 687 }}} 699 688 700 オプションとしてアンカーにラベルを設定できます:689 Optionally, a label can be given to the anchor: 701 690 {{{ 702 691 [[=#point1 '''Point 1''']] 703 692 }}} 704 693 705 ||= Wiki マークアップ =||= 表示=||694 ||= Wiki Markup =||= Display =|| 706 695 |---------------------------------- 707 696 {{{#!td 708 697 {{{ 709 [#point2 ポイント 2 へジャンプする]698 [#point2 jump to the second point] 710 699 711 700 ... 712 701 713 ポイント 2: [=#point2] ここにジャンプしています714 }}} 715 }}} 716 {{{#!td 717 [#point2 ポイント 2 へジャンプする]702 Point2: [=#point2] Jump here 703 }}} 704 }}} 705 {{{#!td 706 [#point2 jump to the second point] 718 707 719 708 ... 720 709 721 ポイント 2: [=#point2] ここにジャンプしています 722 }}} 723 724 より複雑なアンカー (例: カスタマイズしたタイトルが必要なとき) については、Span マクロ (例: `[[span(id=point2, class=wikianchor, title=Point 2, ^(2)^)]]`) を使用することができます。 725 726 727 == リンクの無効化と Wiki ページ名、その他のマークアップ == #EscapingLinksWikiPageNamesandotherMarkup 728 729 エクスクラメーションマーク (!) を語頭に付与することで、 TracLinks が出力するハイパーリンクを無効化できます。 730 731 ||= Wiki マークアップ =||= 表示 =|| 710 Point2: [=#point2] Jump here 711 }}} 712 713 For more complex anchors (eg when a custom title is wanted), you can use the Span macro: `[[span(id=point2, class=wikianchor, title=Point 2, ^(2)^)]]`. 714 715 == Escaping Links, WikiPageNames and other Markup == #Escaping 716 717 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single exclamation mark ('!'). 718 719 ||= Wiki Markup =||= Display =|| 732 720 {{{#!td 733 721 {{{ 734 722 !NoHyperLink 735 !#42 はリンクではありません。736 }}} 737 {{{ 738 様々な形式のリストマークアップの無効化:739 `-` マイナス記号の無効化\\740 ``1. 番号の無効化\\741 {{{*}}} アスタリスク記号の無効化723 !#42 is not a link 724 }}} 725 {{{ 726 Various forms of escaping for list markup: 727 ^^- escaped minus sign \\ 728 ^^1. escaped number \\ 729 ^^* escaped asterisk sign 742 730 }}} 743 731 }}} 744 732 {{{#!td 745 733 !NoHyperLink 746 !#42 はリンクではありません。747 748 様々な形式のリストマークアップの無効化:749 `-` マイナス記号の無効化\\750 ``1. 番号の無効化\\751 {{{*}}} アスタリスク記号の無効化752 }}} 753 754 == 画像 == #Images755 756 U RL が `.png`, `.gif` or `.jpg` で終わっている場合、自動的にイメージへのリンクとはならずに `<img>` タグに変換されます。757 758 現在では `[[Image]]` マクロを使用しなければなりません。画像を表示する最も簡単な方法は、現在のページへの添付ファイルとして画像をアップロードし、 `[[Image(picture.gif)]]` のようにファイル名を指定してマクロを呼び出す方法です。 759 760 現在のページに加えて、他のリソースを参照することも可能です。 761 * `[[Image(wiki:WikiFormatting:picture.gif)]]` ( 他のページの添付ファイルを参照する)762 * `[[Image(ticket:1:picture.gif)]]` ( チケットに添付されたファイルを参照する)763 * `[[Image(htdocs:picture.gif)]]` ( [TracEnvironment TracEnvironment 環境] の `htdocs` ディレクトリ内のファイルを参照する)764 * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` ( リポジトリにあるファイルを参照)765 766 ||= Wiki マークアップ =||= 表示=||734 !#42 is not a link 735 736 Various forms of escaping for list markup: 737 ^^- escaped minus sign \\ 738 ^^1. escaped number \\ 739 ^^* escaped asterisk sign 740 }}} 741 742 == Images 743 744 Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags. 745 746 You now have to use the ![[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like `[[Image(picture.gif)]]`. 747 748 In addition to the current page, it is possible to refer to other resources: 749 * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page) 750 * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket) 751 * `[[Image(htdocs:picture.gif)]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory) 752 * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository) 753 754 ||= Wiki Markup =||= Display =|| 767 755 {{{#!td 768 756 {{{ … … 774 762 }}} 775 763 776 `[[Image()]]` マクロに関するより詳しい情報は WikiMacros に記載されています。役に立ついくつかのオプションがあります (`title=`, `link=`, など) 777 778 779 == マクロ == #Macros 780 781 マクロは、動的コンテンツを Wiki ページに挿入するための ''カスタム関数'' です。 782 783 ||= Wiki マークアップ =||= 表示 =|| 764 See WikiMacros for further documentation on the `[[Image()]]` macro, which has several useful options (`title=`, `link=`, etc.) 765 766 == Macros 767 768 Macros are ''custom functions'' to insert dynamic content in a page. 769 770 ||= Wiki Markup =||= Display =|| 784 771 {{{#!td 785 772 {{{ … … 791 778 }}} 792 779 793 使用方法とインストールされているマクロの一覧は WikiMacros に記述されています。 794 795 特定のマクロの詳細なヘルプを見るためには、マクロ名にクエスチョンマーク ("?") をつけることにより、直接見ることができます。 796 797 ||= Wiki マークアップ =||= 表示=||780 See WikiMacros for more information, and a list of installed macros. 781 782 The detailed help for a specific macro can also be obtained more directly by appending a "?" to the macro name. 783 784 ||= Wiki Markup =||= Display =|| 798 785 {{{#!td 799 786 {{{ … … 805 792 }}} 806 793 807 808 == プロセッサ == #Processors 809 810 Trac は WikiProcessors の機能によって、 Wiki 以外のマークアップにも対応しています。例えば、プロセッサとしてページの描画に 811 [wiki:WikiRestructuredText reStructuredText] や [wiki:WikiHtml HTML] を使用することができます。 812 813 ||= Wiki マークアップ =||= 表示 =|| 794 == Processors 795 796 Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in 797 [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML]. 798 799 ||= Wiki Markup =||= Display =|| 814 800 |-------------------------------------------------------- 815 801 {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%" … … 824 810 #!html 825 811 <h1 style="text-align: right; color: blue"> 826 HTML テスト812 HTML Test 827 813 </h1> 828 814 }}} … … 833 819 {{{ 834 820 #!html 835 <h1 style="text-align: right; color: blue">HTML テスト</h1>821 <h1 style="text-align: right; color: blue">HTML Test</h1> 836 822 }}} 837 823 … … 840 826 {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%" 841 827 842 [=#Processors-example-highlight Example 2:] ソースコードのハイライト828 [=#Processors-example-highlight Example 2:] Code Highlighting 843 829 844 830 }}} … … 849 835 #!python 850 836 class Test: 851 837 852 838 def __init__(self): 853 839 print "Hello World" … … 873 859 {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%" 874 860 875 [=#Processors-example-tables Example 3:] 複雑なテーブル861 [=#Processors-example-tables Example 3:] Complex Tables 876 862 877 863 }}} … … 880 866 {{{ 881 867 {{{#!th rowspan=4 align=justify 882 `#td` や `#th` プロセッサを用いることによって、883 表にいろいろな中身を入れ込むことができます:868 With the `#td` and `#th` processors, 869 table cells can contain any content: 884 870 }}} 885 871 |---------------- 886 872 {{{#!td 887 - リスト888 - 埋め込みテーブル889 - 簡単な複数行にわたる内容873 - lists 874 - embedded tables 875 - simple multiline content 890 876 }}} 891 877 |---------------- 892 878 {{{#!td 893 プロセッサはネストして使用することが簡単にできるので、894 表はこのようにもできます:879 As processors can be easily nested, 880 so can be tables: 895 881 {{{#!th 896 例:882 Example: 897 883 }}} 898 884 {{{#!td style="background: #eef" 899 || ここは三重の入れ子になっている違いない... ||885 || must be at the third level now... || 900 886 }}} 901 887 }}} 902 888 |---------------- 903 889 {{{#!td 904 複雑なマークアップではなかったときでさえ、905 この表のセルのフォームは複数行にわたる906 内容を書くときには便利でしょう。890 Even when you don't have complex markup, 891 this form of table cells can be convenient 892 to write content on multiple lines. 907 893 }}} 908 894 }}} … … 912 898 913 899 {{{#!th rowspan=4 align=justify 914 `#td` や `#th` プロセッサを用いることによって、915 表にいろいろな中身を入れ込むことができます:900 With the `#td` and `#th` processors, 901 table cells can contain any content: 916 902 }}} 917 903 |---------------- 918 904 {{{#!td 919 - リスト920 - 埋め込みテーブル921 - 簡単な複数行にわたる内容905 - lists 906 - embedded tables 907 - simple multiline content 922 908 }}} 923 909 |---------------- 924 910 {{{#!td 925 プロセッサはネストして使用することが簡単にできるので、926 表はこのようにもできます:911 As processors can be easily nested, 912 so can be tables: 927 913 {{{#!th 928 例:914 Example: 929 915 }}} 930 916 {{{#!td style="background: #eef" 931 || ここは三重の入れ子になっている違いない... ||917 || must be at the third level now... || 932 918 }}} 933 919 }}} 934 920 |---------------- 935 921 {{{#!td 936 複雑なマークアップではなかったときでさえ、 937 この表のセルのフォームは複数行にわたる 938 内容を書くときには便利でしょう。 939 }}} 940 941 }}} 942 943 より詳細な情報は WikiProcessors に記載されています。 944 945 946 == コメント == #Comments 947 948 コメントをプレーンテキストに追加することができます。コメントはレンダリングされず、プレーンテキスト形式でのみ表示されます。 949 950 ||= Wiki マークアップ =||= 表示 =|| 951 {{{#!td 952 {{{ 953 何も 922 Even when you don't have complex markup, 923 this form of table cells can be convenient 924 to write content on multiple lines. 925 }}} 926 927 }}} 928 929 See WikiProcessors for more information. 930 931 == Comments 932 933 Comments can be added to the plain text. These will not be rendered and will not display in any other format than plain text. 934 935 ||= Wiki Markup =||= Display =|| 936 {{{#!td 937 {{{ 938 Nothing to 954 939 {{{ 955 940 #!comment 956 ここに編集者向けのコメントを書く957 }}} 958 見えないよ ;-)959 }}} 960 }}} 961 {{{#!td 962 何も941 Your comment for editors here 942 }}} 943 see. 944 }}} 945 }}} 946 {{{#!td 947 Nothing to 963 948 {{{ 964 949 #!comment 965 ここに編集者向けのコメントを書く 966 }}} 967 見えないよ ;-) 968 }}} 969 970 == その他 == #Miscellaneous 971 972 横線はページをいくつかに分けるために使用されます: 973 974 ||= Wiki マークアップ =||= 表示 =|| 975 {{{#!td 976 {{{ 977 4 つ以上のハイフン ('-') は横線 978 (<HR>) に置き換えられます。 950 Your comment for editors here 951 }}} 952 see. 953 }}} 954 955 == Miscellaneous 956 957 ||= Wiki Markup =||= Display =|| 958 {{{#!td 959 Horizontal line: 960 {{{ 961 Four or more dashes will be replaced 962 by a horizontal line (<HR>) 979 963 ---- 980 分かる?981 }}} 982 }}} 983 {{{#!td 984 4 つ以上のハイフン ('-') は横線 985 (<HR>) に置き換えられます。 964 See? 965 }}} 966 }}} 967 {{{#!td 968 Four or more dashes will be replaced 969 by a horizontal line (<HR>) 986 970 ---- 987 分かる?971 See? 988 972 }}} 989 973 |---------------------------------- 990 974 {{{#!td 991 {{{ 992 "マクロ" 書式 [[br]] 改行 993 }}} 994 }}} 995 {{{#!td 996 "マクロ" 書式 [[br]] 改行 975 Two examples of line breaks: 976 {{{ 977 "macro" style [[BR]] line break 978 }}} 979 or: 980 {{{ 981 !WikiCreole style \\ line\\break 982 }}} 983 }}} 984 {{{#!td 985 "macro" style [[BR]] line break 986 987 !WikiCreole style \\ line\\break 997 988 }}} 998 989 |---------------------------------- 999 {{{#!td1000 {{{1001 !WikiCreole 書式 \\ 改\\行1002 }}}1003 }}}1004 {{{#!td1005 !WikiCreole 書式 \\ 改\\行1006 }}}