模板:Doc-links
外观
{{{1}}}
模板文档
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
- Text
Show a link to an example doc or a doc template in a box.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Text | 1 | Link to the example doc or doc template, in wikitext syntax. | 内容 | 必需 |
| Type | 2 | 'template', 'example', or nothing. Affects formatting. | 单行文本 | 可选 |
| Inline formatting | inline | Show the template without line breaks before and after it | 单行文本 | 可选 |