不填寫任何參數時,效果如下。
text
為必填,其他參數均為選填。
1
。例如{{Info|內容}}
和{{Info|text=內容}}
是等價的。type
填寫分類。top(默認)為【頁頂提示模板】,middle為【頁中提示模板】,none為沒有分類。{{info |width= |color= |backgroundColor= |leftimage= |icon-style= |smallimage= |title= |title-style= |text= |text-style= |below= |below-style= |class= |type= }}
{{info |width = <!-- 模板寬度,默認為80% --> |color = <!-- 左側豎條顏色,默認為 #1e90ff --> |backgroundColor = <!-- 背景顏色,默認為 #fbfbfb --> |leftimage = <!-- 左側圖標,默認為 [[image:Icon-info.png|50px|link=]],會覆蓋參數{{{smallimage}}}--> |icon-style = <!-- 圖標樣式 --> |smallimage = <!-- 圖標大小。參數值不為空時,圖標大小為25px,否則為50px --> |title = <!-- 標題內容 --> |title-style = <!-- 標題樣式,格式為行內樣式(inline style),如 color: red; font-style: italic; --> |text = <!-- 文本內容,等效於{{{content}}}和{{{1}}} --> |text-style = <!-- 文本樣式,等效於{{{content-style}}} --> |below = <!-- 底部內容 --> |below-style = <!-- 底部樣式 --> |class = <!-- 模板額外class --> |type = <!-- 模板類型,僅供模板頁使用:top為【頁頂提示模板】,middle為【頁中提示模板】,none為沒有分類;在模板頁中默認為頁頂提示模板,非模板頁中默認為沒有分類 --> }}