「Template:Tipbox/doc」:修訂間差異
無編輯摘要 |
無編輯摘要 |
||
第16行: | 第16行: | ||
| {{ tipbox | content = 我是内容 }} | | {{ tipbox | content = 我是内容 }} | ||
|- | |- | ||
| <code><nowiki>{{ tipbox | content = 啊这 | style = width: 100px;}}</nowiki></code> | | <code><nowiki>{{ tipbox | content = 啊这 | style = width: 100px; color: Orange }}</nowiki></code> | ||
| {{ tipbox | content = 啊这 | style = width: 100px;}} | | {{ tipbox | content = 啊这 | style = width: 100px; color: Orange }} | ||
|} | |} | ||
<noinclude>[[分类:模板说明]]</noinclude> | <noinclude>[[分类:模板说明]]</noinclude> |
於 2020年8月11日 (二) 03:55 的修訂
該模板為所有頁面提示框的元模板。
參數 | 說明 | 填寫內容 | 必填/選填 |
---|---|---|---|
content | 提示框中內容 | 文字或 html 標籤 | 必填 |
style | 提示框樣式 | css | 選填 |
以下為使用例。
代碼 | 實際效果 |
---|---|
{{ tipbox | content = 我是内容 }}
|
我是內容
|
{{ tipbox | content = 啊这 | style = width: 100px; color: Orange }}
|
啊這
|