檢視 Template:Warning 的原始碼
←
Template:Warning
前往:
導覽
、
搜尋
由於下列原因,您沒有權限進行 編輯此頁面 的動作:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
{{#if: {{{1|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:Attention niels epting.svg|18px|Warning|link=]]</span> '''警告''':{{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{1|}}}</td></tr></table>}}<noinclude> == Usage == === Method 1 === The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like. <nowiki>{{warning}}</nowiki> Don't do that! {{warning}} Don't do that! === Method 2 === The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. <nowiki>{{warning|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.}}</nowiki> {{warning|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.}} {{Languages|Template:Warning}} [[Category:Templates|{{PAGENAME}}]] </noinclude>
此頁面使用了以下模板:
Template:Languages
(
檢視原始碼
)
Template:Warning
(
檢視原始碼
)
返回至
Template:Warning
。
導覽選單
個人工具
登入
命名空間
模板
討論
繁體
不转换
简体
繁體
檢視
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
近期變更
隨機頁面
說明
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊