## Please edit system and help pages ONLY in the master wiki! ## For more information, please see MoinMoin:MoinDev/Translation. ##master-page:SyntaxReference ##master-date:2007-11-02 20:43:29 #acl -All:write Default #format wiki #language ja このページの目的は、MoinMoinにおけるもっとも重要なシンタックス要素を、一目で見渡せるようにすることです。まずマークアップ記述を示し、その直後にWikiエンジンによる描画が続きます。さらに、ヘルプページへのリンクも書かれています。ただし、wikiの設定によっては動作が異なる場合もありますので、ご注意ください。 = 目次 = {{{ '''目次''' (第2レベルまで) <> }}} '''目次''' (第2レベルまで) <> = タイトル = '''''参照:''' HelpOnHeadlines'' {{{ = タイトル 第1レベル = == タイトル 第2レベル == === タイトル 第3レベル === ==== タイトル 第4レベル ==== ===== タイトル 第5レベル ===== }}} = タイトル 第1レベル = == タイトル 第2レベル == === タイトル 第3レベル === ==== タイトル 第4レベル ==== ===== タイトル 第5レベル ===== = テキスト書式 = '''''参照:''' [[書式のヘルプ]]'' {{{ * ''emphasized (italics)'' * '''boldface''' * '''''bold italics''''' * `monospace` * {{{source code}}} * __underline__ * ,,sub,,script * ^super^script * ~-smaller-~ * ~+larger+~ * --(strike through)-- }}} * ''emphasized (italics)'' * '''boldface''' * '''''bold italics''''' * `monospace` * {{{source code}}} * __underline__ * ,,sub,,script * ^super^script * ~-smaller-~ * ~+larger+~ * --(strike through)-- = ハイパーリンク = '''''参照:''' HelpOnLinking'' == 内部リンク == {{{ * FrontPage * [[FrontPage]] * HelpOnEditing/SubPages * /SubPage * ../SiblingPage * [[FrontPage|named link]] * [[#anchorname]] * [[#anchorname|description]] * [[PageName#anchorname]] * [[PageName#anchorname|description]] * [[attachment:filename.txt]] }}} * FrontPage * [[FrontPage]] * HelpOnEditing/SubPages * /SubPage * ../SiblingPage * [[FrontPage|named link]] * [[#anchorname]] * [[#anchorname|description]] * [[PageName#anchorname]] * [[PageName#anchorname|description]] * [[attachment:filename.txt]] == 外部リンク == {{{ * http://moinmoin.wikiwikiweb.de/ * [[http://moinmoin.wikiwikiweb.de/]] * [[http://moinmoin.wikiwikiweb.de/|MoinMoin Wiki]] * [[http://static.wikiwikiweb.de/logos/moinmoin.png]] * {{http://static.wikiwikiweb.de/logos/moinmoin.png}} * [[http://static.wikiwikiweb.de/logos/moinmoin.png|moinmoin.png]] * MeatBall:InterWiki * [[MeatBall:InterWiki|InterWiki page on MeatBall]] * [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]] * user@example.com }}} * http://moinmoin.wikiwikiweb.de/ * [[http://moinmoin.wikiwikiweb.de/]] * [[http://moinmoin.wikiwikiweb.de/|MoinMoin Wiki]] * [[http://static.wikiwikiweb.de/logos/moinmoin.png]] * {{http://static.wikiwikiweb.de/logos/moinmoin.png}} * [[http://static.wikiwikiweb.de/logos/moinmoin.png|moinmoin.png]] * MeatBall:InterWiki * [[MeatBall:InterWiki|InterWiki page on MeatBall]] * [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]] * user@example.com == 自動リンクの回避/制限 == {{{ * Wiki''''''Name * Wiki``Name * !WikiName * WikiName''''''s * WikiName``s * `http://www.example.com` * [[http://www.example.com/]]notlinked }}} * Wiki''''''Name * Wiki``Name * !WikiName * WikiName''''''s * WikiName``s * `http://www.example.com` * [[http://www.example.com/]]notlinked = 図 = {{drawing:myexample}} = Blockquotesとインデント = {{{ indented text text indented to the 2nd level }}} indented text text indented to the 2nd level = リスト = '''''参照:''' HelpOnLists'' == 番号無しリスト == {{{ * item 1 * item 2 (preceding white space) * item 2.1 * item 2.1.1 * item 3 . item 3.1 (bulletless) . item 4 (bulletless) * item 4.1 . item 4.1.1 (bulletless) }}} * item 1 * item 2 (preceding white space) * item 2.1 * item 2.1.1 * item 3 . item 3.1 (bulletless) . item 4 (bulletless) * item 4.1 . item 4.1.1 (bulletless) == 番号付リスト == === 数字 === {{{ 1. item 1 1. item 1.1 1. item 1.2 1. item 2 }}} 1. item 1 1. item 1.1 1. item 1.2 1. item 2 === ローマ数字 === {{{ I. item 1 i. item 1.1 i. item 1.2 I. item 2 }}} I. item 1 i. item 1.1 i. item 1.2 I. item 2 === 文字 === {{{ A. item A a. item A. a) a. item A. b) A. item B }}} A. item A a. item A. a) a. item A. b) A. item B == 定義リスト == {{{ term:: definition object:: :: description 1 :: description 2 }}} term:: definition object:: :: description 1 :: description 2 = 水平線 = '''''参照:''' HelpOnRules'' {{{ ---- ----- ------ ------- -------- --------- ---------- }}} ---- ----- ------ ------- -------- --------- ---------- = 表 = '''''参照:''' HelpOnTables'' == 表 == {{{ ||'''A'''||'''B'''||'''C'''|| ||1 ||2 ||3 || }}} ||'''A'''||'''B'''||'''C'''|| ||1 ||2 ||3 || == セル幅 == {{{ ||minimal width ||<99%>maximal width || }}} ||minimal width ||<99%>maximal width || == 行/列の連結 == {{{ ||<|2> cell spanning 2 rows ||cell in the 2nd column || ||cell in the 2nd column of the 2nd row || ||<-2> cell spanning 2 columns || ||||use empty cells as a shorthand || }}} ||<|2> cell spanning 2 rows ||cell in the 2nd column || ||cell in the 2nd column of the 2nd row || ||<-2> cell spanning 2 columns || ||||use empty cells as a shorthand || == セル内の配置 == {{{ ||<^|3> top (combined) ||<:99%> center (combined) || bottom (combined) || ||<)> right || ||<(> left || }}} ||<^|3> top (combined) ||<:99%> center (combined) || bottom (combined) || ||<)> right || ||<(> left || == セルの色付け == {{{ ||<#0000FF> blue ||<#00FF00> green ||<#FF0000> red || ||<#00FFFF> cyan ||<#FF00FF> magenta ||<#FFFF00> yellow || }}} ||<#0000FF> blue ||<#00FF00> green ||<#FF0000> red || ||<#00FFFF> cyan ||<#FF00FF> magenta ||<#FFFF00> yellow || == HTML風の表オプション == {{{ ||A || like <|2> || || like <#00FF00> || || like <-2>|| }}} ||A || like <|2> || || like <#00FF00> || || like <-2>|| = マクロと変数 = == マクロ == '''''参照:''' HelpOnMacros'' * `<>` inserts a link anchor `anchorname` * `<
>` inserts a hard line break * `<>` inserts a footnote saying `Note` * `<>` inserts the contents of the page `HelpOnMacros/Include` inline * `<>` obfuscates the email address `user@example.com` to users not logged in == 変数 == '''''参照:''' HelpOnVariables'' * `@``SIG``@` inserts your login name and timestamp of modification * `@``TIME``@` inserts date and time of modification = 顔文字とアイコン = '''''参照:''' HelpOnSmileys'' <> = パーサ = '''''参照:''' HelpOnParsers'' == そのまま表示 == {{{ {{{ def hello(): print "Hello World!" }}} }}} {{{ def hello(): print "Hello World!" }}} == シンタックスハイライト == {{{ {{{#!python def hello(): print "Hello World!" }}} }}} {{{#!python def hello(): print "Hello World!" }}} == cssクラスとwikiパーサの利用 == {{{ {{{#!wiki red/solid This is wiki markup in a '''div''' with __css__ `class="red"`. }}} }}} {{{#!wiki red/solid This is wiki markup in a '''div''' with __css__ `class="red solid"`. }}} = コメント = '''''参照:''' HelpOnComments'' {{{ Click on "Comments" in edit bar to toggle the /* comments */ visibility. }}} Click on "Comments" in edit bar to toggle the /* comments */ visibility. {{{ {{{#!wiki comment/dotted This is a wiki parser section with class "comment dotted" (see HelpOnParsers). Its visibility gets toggled the same way. }}} }}} {{{#!wiki comment/dotted This is a wiki parser section with class "comment dotted" (see HelpOnParsers). Its visibility gets toggled the same way. }}}