検索を切り替える
検索
メニューを切り替える
39
12
1
569
Sleeping Cocoon-wiki
案内
メインページ
最近の更新
おまかせ表示
MediaWikiについてのヘルプ
特別ページ
ファイルをアップロード
Toggle preferences menu
通知
個人設定を切り替える
ログインしていません
編集を行うと、IPアドレスが公開されます。
user-interface-preferences
個人用ツール
トーク
投稿記録
アカウント作成
ログイン
「
テンプレート:Note/doc
」を編集中
提供:Sleeping Cocoon-wiki
このページを共有
表示
閲覧
編集
履歴表示
associated-pages
テンプレート
議論
その他の操作
2023年1月16日 (月) 03:40時点における
テンプレート>Rye Greenwood
による版
(Moved template categorization to template page.)
(差分) ← 古い版 |
最新版
(
差分
) |
新しい版 →
(
差分
)
警告: このページの古い版を編集しています。
公開すると、この版以降になされた変更がすべて失われます。
警告:
ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。
ログイン
または
アカウントを作成
すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。
スパム攻撃防止用のチェックです。 けっして、ここには、値の入力は
しない
でください!
This template formats an input text in a standardized "note" style. == Usage == All parameters are optional, except the first. <code>{{(}} note | ''<note text>'' | small = ''y/yes'' | paren = ''y/yes'' | block = ''y/yes'' | before = ''<text in front of the note>'' {{)}}</code> ; First unnamed parameter Text to format. ; small Reduces the size of the text, useful where space is an issue, e.g. in [[:Category:Infobox templates|infobox templates]]. ; paren Encloses the text in parentheses. The same result can be achieved by simply adding the parentheses to the first unnamed parameter, but this is to be avoided, as some languages may use different characters for parenthesis, and the template will automatically pick the correct ones. ; block Displays the text in a <code><div></code> instead of in a <code><span></code>, so the text will be in its own paragraph rather than inline. ; before Text to display directly in front of the note text. It will be formatted as well, but will not be included in the parentheses from {{code|$paren}}. == Notes == * The template supports localizing commonly used note texts ({{code|$1}}s); these can be added to the [[Template:Note/l10n|localization database]]. To prevent this automatic translation, add something like <code><nowiki/></code> in the text (see below for examples). ** This also works for texts that are enclosed in parentheses. == Examples == {| class="wikitable" ! Code !! Result |- | <code><nowiki>{{note|some note}}</nowiki></code> || {{note|some note}} |- | <code><nowiki>{{note|some note|paren=y}}</nowiki></code> || {{note|some note|paren=y}} |- | <code><nowiki>item {{note|note|paren=y|before=some&#32;}}</nowiki></code> || item {{note|note|paren=y|before=some }} |- | <code><nowiki>some {{note|some block note|paren=y|block=y}} text</nowiki></code> || some {{note|some block note|paren=y|block=y}} text |- | <code><nowiki>some {{note|some small note|paren=y|small=y}} text</nowiki></code> || some {{note|some small note|paren=y|small=y}} text |- | <code><nowiki>{{note|(really hidden content)}}</nowiki></code> || {{note|(really hidden content)}} |- ! colspan=2 | Automatic translation |- | <code><nowiki>{{note|some note}}</nowiki></code> || {{note|some note}} |- | <code><nowiki>{{note|ranged attack}}</nowiki></code> || {{note|ranged attack}} |- | {{tl|code=y|lang/set|fr}} || {{small|''set language to French''}} |- | <code><nowiki>{{note|some note}}</nowiki></code> || {{lang/set|fr}}{{note|some note}} |- | <code><nowiki>{{note|ranged attack}}</nowiki></code> || {{note|ranged attack}} |- | <code><nowiki>{{note|<nowiki/>ranged attack}}</nowiki></code> || {{note|<nowiki/>ranged attack}} |- | <code><nowiki>{{note|ranged attack|tr=no}}</nowiki></code> || {{note|ranged attack|tr=no}} |- | <code><nowiki>{{note|(ranged attack)}}</nowiki></code> || {{note|(ranged attack)}} |}{{lang/set|en}} == Options == {{options/autodoc}} <noinclude> {{category|Template documentation}} {{language info|en=Template:Note/doc}} </noinclude>
編集内容の要約:
『眠ル繭wiki』への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細は
Sleeping Cocoon-wiki:著作権
を参照)。
著作権保護されている作品は、許諾なしに投稿しないでください!
キャンセル
編集の仕方
(新しいウィンドウで開きます)
このページで使用されているテンプレート:
テンプレート:(
(
編集
)
テンプレート:)
(
編集
)
テンプレート:Bool
(
編集
)
テンプレート:Category
(
編集
)
テンプレート:Category/db-en
(
編集
)
テンプレート:Code
(
編集
)
テンプレート:Common
(
編集
)
テンプレート:Extension DPL
(
編集
)
テンプレート:Ifexists
(
編集
)
テンプレート:L10n
(
編集
)
テンプレート:L10n/register
(
編集
)
テンプレート:Lang
(
編集
)
テンプレート:Lang/set
(
編集
)
テンプレート:LangList
(
編集
)
テンプレート:Language info
(
編集
)
テンプレート:Localization
(
編集
)
テンプレート:Localization/register
(
編集
)
テンプレート:Note
(
編集
)
テンプレート:Note/initOptions
(
編集
)
テンプレート:Note/l10n
(
編集
)
テンプレート:Options/autodoc
(
編集
)
テンプレート:Options/get
(
編集
)
テンプレート:Options/init
(
編集
)
テンプレート:Reflist
(
編集
)
テンプレート:Small
(
編集
)
テンプレート:Tl
(
編集
)
テンプレート:Tl/parser function links
(
編集
)
テンプレート:Tr
(
編集
)
モジュール:Language info
(
編集
)
モジュール:Tr
(
編集
)