跳转到内容

模板:Doc-links

来自天灾之下:危险连接资料站
wiki>TBurmeister (WMF)2024年4月8日 (一) 23:21的版本 (Update icon for inline example, and remove DoNotTranslate)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
模板文档

Usage

{{Doc-links|[[Example doc]]}}
{{Doc-links|[[Doc template]]|template}}
{{Doc-links}} Loose test

* Text {{Doc-links|[[Example doc]]|inline=1}}

文件:OOjs UI icon articles-rtl.svg Loose test

Show a link to an example doc or a doc template in a box.

模板参数[编辑模板数据]

此模板首选参数不换行的行内格式。

参数描述类型状态
Text1

Link to the example doc or doc template, in wikitext syntax.

内容必需
Type2

'template', 'example', or nothing. Affects formatting.

单行文本可选
Inline formattinginline

Show the template without line breaks before and after it

单行文本可选