基本中の基本
表示見本 | 構文例 |
---|---|
太字 | **太字** |
斜体 | //斜体// |
teletype (monospaced) | {{teletype (monospaced)}} |
下線 | __下線__ |
圏点 | [[span class="emph"]]圏点[[/span]] |
打ち消し線 | --打ち消し線-- |
ノーマル上付き文字 | ノーマル^^上付き文字^^ |
ノーマル下付き文字 | ノーマル,,下付き文字,, |
アカイロ | [[span style="color:red"]]アカイロ[[/span]] |
アオイロ | ##blue|アオイロ## |
ミドリイロ | ##44FF88|ミドリイロ## |
漢字ふりがな | [[span class="ruby"]]漢字[[span class="rt"]]ふりがな[[/span]][[/span]] |
██████ | ██████1 |
テキストサイズ
①通常のサイズをもとに変更場合表示見本 | 構文例 |
---|---|
smaller text | [[size smaller]]smaller text[[/size]] |
larger text | [[size larger]]larger text[[/size]] |
80% of current size | [[size 80%]]80% of current size[[/size]] |
100% of current size | [[size 100%]]100% of current size[[/size]] |
150% of current size | [[size 150%]]150% of current size[[/size]] |
80% of current size | [[size 0.8em]]80% of current size[[/size]] |
100% of current size | [[size 1em]]100% of current size[[/size]] |
150% of current size | [[size 1.5em]]150% of current size[[/size]] |
表示見本 | 構文例 |
---|---|
xx-small text | [[size xx-small]]xx-small text[[/size]] |
x-small text | [[size x-small]]x-small text[[/size]] |
small text | [[size small]]small text[[/size]] |
large text | [[size large]]large text[[/size]] |
x-large text | [[size x-large]]x-large text[[/size]] |
xx-large text | [[size xx-large]]xx-large text[[/size]] |
text size 7 pixels | [[size 7px]]text size 7 pixels[[/size]] |
text size 18.75 pixels | [[size 18.75px]]text size 18.75 pixels[[/size]] |
折りたたみ
脚注
テキスト2
[[footnote]]ここに脚注や解説など[[/footnote]]
テキストを点線で囲む
①通常の場合
テキスト
> テキスト
②通常と違う方法
テキスト
[[div class="blockquote"]]
テキスト
[[/div]]
③CSSでいい感じにしたやつ3
テキスト
[[div style="display: inline-block; border:dashed 1px #999999; background:#F5F5F5; float:center; width:85%; padding:1px 12.8px; margin: 10px 10px 10px 10px"]]
テキスト
[[/div]]
④丸っこいやつ
テキスト
[[div class="blockquote" style="border-radius: 10px; margin: 10px"]]
テキスト
[[/div]]
リンク
①そのまま書く場合
表示見本 構文例 http://ja.scp-wiki.net http://ja.scp-wiki.net
②しかしとある文字にリンクを張る場合
表示見本 構文例 [http://ja.scp-wiki.net SCP財団] SCP財団 [[[http://ja.scp-wiki.net | SCP財団]]] SCP財団
③別ウィンドウで開く場合
表示見本 構文例 *http://ja.scp-wiki.net http://ja.scp-wiki.net [*http://ja.scp-wiki.net SCP財団] SCP財団 [[[*http://ja.scp-wiki.net | SCP財団]]] SCP財団
表
列1 | 列2 | 列3 |
---|---|---|
内容 | 内容 | 内容 |
内容 | 内容 | |
内容 | 内容 | |
内容 | ||
真ん中内容 |
||~ 列1 ||~ 列2 ||~ 列3 ||
|| 内容 || 内容 || 内容 ||
|||| 内容 || 内容 ||
|| 内容 |||| 内容 ||
|||||| 内容 ||
||||||= 真ん中内容 ||
Tab
内容1
[[tabview]]
[[tab タイトル1]]
内容1
[[/tab]]
[[tab タイトル2]]
内容2
[[/tab]]
[[tab タイトル3]]
内容3
[[/tab]]
[[/tabview]]
クレジット付きRateモジュール
[[include :scp-jp:credit:start]]
**タイトル:** SCP-XXXX-JP - メタタイトル
**著者:** [[*user あなたのアカウント名]]
**作成年:** 20XX
[[include :scp-jp:credit:end]]
偽りの認証
サイト名の変更
[[include :scp-jp-sandbox2:inc:changepagetitle |
TITLE=サイト名|
COLOR=#色のコード]]
サイト名の上にサブタイトルを付ける
[[include :scp-jp-sandbox2:inc:topsubtitle |
TITLE=サブタイトル |
COLOR=色のコード]]
ロゴの変更
[[include :scp-jp-sandbox2:inc:changelogo |
IMAGE = 画像のURL]]
日本支部の画像はhttp://scp-jp-sandbox2.wdfiles.com/local--files/inc%3Achangeguruguru/medium2.pngです
ページの追加
全ページ共通部分
[[module ListPages offset="@URL|0" range="."]]
%%content{2}%%
[[/module]]
[[module ListPages limit="@URL|0" range="." urlAttrPrefix="page2"]]
%%content{3}%%
[[/module]]
ページ追加の際はここにモジュール①を追加
[!--
====
1ページ目の本文
[編集しているサイトのリンク/offset/1/page2_limit/1 2ページ目へのリンクにつけたい名前]
====
ページ追加の際はここにモジュール②を追加
2ページ目の本文
[編集しているサイトのリンク 1ページ目へのリンクにつけたい名前]
====
--]
全ページ共通部分
モジュール①
[[module ListPages limit="@URL|0" range="." urlAttrPrefix="pageN"]]
%%content{N+1}%%
[[/module]]
※Nはこのモジュールを入れる1個前の部分の"N"に1を足したもの(⇑の図だと2+1で3になる)
モジュール②
新しいページの本文
[編集しているサイトのリンク/offset/1/pageN+1_limit/1 N+1ページ目へのリンクにつけたい名前]※Nは今のページの数目
偽のタグ
[[module css]]
div.pseudo-tags ul {
font-size: 85%;
border-top: 1px solid #BBB;
display: inline-block;
margin: 10px 0 0;
padding: 0 2px;
list-style: none;
}
div.pseudo-tags li {
color: #b01;
text-decoration: none;
display: inline-block;
margin: 0 1px;
cursor: pointer;
}
div.pseudo-tags li:hover {
text-decoration: underline;
}
[[/module]]
[[div class="pseudo-tags"]]
* つけたいタグ
[[/div]]