<tag>...</tag>
本模板可以用代碼格式顯示XML形式的標籤,主要用於討論頁及幫助頁面。
|1=
(必需):HTML標籤名稱|2=
:標籤的顯示方式
p
、pair
:(預設)顯示相互對應的開、關標籤,如<font>...</font>
|content=
參數o
、open
、开
、左
:只顯示開標籤,如<span>
c
、close
、关
、右
:只顯示關標籤,如</span>
s
、single
:顯示單項標籤,如<br />
|content=
、|3=
、|内容=
、|文字=
:標籤之間的內容|params=
、|4=
、|参数=
:任何置於開標籤內的參數{{tag|ref}}
→ <ref>...</ref>
{{tag|ref|content=}}
→ <ref></ref>
{{tag|ref|content=hello}}
→ <ref>hello</ref>
{{tag|font|content=foo}}
→ <font>foo</font>
{{tag|font|open}}
→ <font>
{{tag|font|open|content=hello}}
→ <font>hello
{{tag|span|close|content=hello}}
→ hello</span>
{{tag|span|pair|content=hello}}
→ <span>hello</span>
{{tag|ref|open|params=group="note"}}
→ <ref group="note">
{{tag|references|single}}
→ <references />
{{tag|br|single}}
→ <br />