「
テンプレート:Warning
」を編集中
2021年2月23日 (火) 22:18時点における
warning>Shirayuki
による版
(test "translation aware transclusion" feature)
(差分) ← 古い版 |
最新版
(
差分
) |
新しい版 →
(
差分
)
ナビゲーションに移動
検索に移動
警告: このページの古い版を編集しています。
公開すると、この版以降になされた変更がすべて失われます。
警告:
ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。
ログイン
または
アカウントを作成
すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。
スパム攻撃防止用のチェックです。 決して、ここには、値の入力は
しない
でください!
<languages/> <onlyinclude>{{#if: {{{msg|{{{1|}}}}}}|<table class="warning-message" cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px #d33 solid; background: transparent; margin:0.5em 0;padding:0.5em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:OOjs_UI_icon_notice-destructive.svg|18px|<translate><!--T:1--> Warning</translate>|link=]]</span> '''<translate><!--T:2--> Warning:</translate>''' {{#if: {{{msg|{{{1|}}}}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{1|}}}}}}</td></tr></table>}} </onlyinclude> {{Documentation|content= <translate> == Usage == <!--T:3--> <!--T:4--> This template has two possible usages: <!--T:5--> # Will have the text flow below when the warning text is too long</translate> <translate> <!--T:6--> # Uses a table to indent the text. === Method 1 === <!--T:7--> </translate> <translate><!--T:8--> The following displays the warning icon and the word "Warning:".</translate> <translate><!--T:17--> You can follow this with whatever text/images/markup you like.</translate> <translate><!--T:9--> Wiki Code:</translate> <nowiki>{{warning}}</nowiki> <translate><!--T:10--> Don't do that!</translate> {{warning}} <translate><!--T:11--> Don't do that!</translate> <translate> === Method 2 === <!--T:12--> <!--T:13--> The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. <!--T:14--> Wiki Code: </translate> <nowiki>{{warning|1=</nowiki><translate><!--T:15--> Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.</translate><nowiki>}}</nowiki> {{warning|1=<translate><!--T:16--> Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.</translate>}} }} [[Category:Warning templates{{#translation:}}|{{PAGENAME}}]]
編集内容の要約:
AliceScript Wikiへの投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細は
AliceScript Wiki:著作権
を参照)。
著作権保護されている作品は、許諾なしに投稿しないでください!
キャンセル
編集ヘルプ
(新しいウィンドウで開きます)
このページで使用されているテンプレート:
テンプレート:Dir
(
編集
)
テンプレート:Documentation
(
編集
)
テンプレート:Pagelang
(
編集
)
テンプレート:Warning
(
編集
)
モジュール:Arguments
(
編集
)
モジュール:Documentation
(
編集
)
モジュール:Message box
(
編集
)
モジュール:Template translation
(
編集
)
ナビゲーション メニュー
個人用ツール
ログインしていません
トーク
投稿記録
アカウント作成
ログイン
名前空間
テンプレート
議論
日本語
表示
閲覧
編集
履歴表示
その他
検索
案内
メインページ
ツアー
ダウンロード
規約
おまかせ表示
ツール
リンク元
関連ページの更新状況
特別ページ
ページ情報