跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
天灾之下:危险连接官网(建设中)
天灾之下:危险连接QQ群
天灾之下:危险连接 Bilibili
冰糖服务器
冰糖服务器QQ群
天灾之下:危险连接资料站
搜索
搜索
中文(中国大陆)
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁模板:Doc-links”︁的源代码
模板
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
[[雷光]]
外观
移至侧栏
隐藏
←
模板:Doc-links
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<onlyinclude>{{#switch: | = {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Doc-links/styles.css" /><div role="doc-links" class="doc-links doc-links-{{#switch:{{{2|}}} |template=template |=example |#default={{{2|}}} }} {{#if:{{{inline|}}}|doc-links-inline}}">{{{1}}}</div> | [[File:OOjs_UI_icon_articles-rtl.svg]] |18px| doc-links|link=]] ''' Example doc:''' }} | #default= }}</onlyinclude> {{documentation|content= == Usage == <pre> {{Doc-links|[[Example doc]]}} {{Doc-links|[[Doc template]]|template}} {{Doc-links}} Loose test * Text {{Doc-links|[[Example doc]]|inline=1}} </pre> {{Doc-links|[[Example doc]]}} {{Doc-links|[[Doc template]]|template}} {{Doc-links}} Loose test * Text {{Doc-links|[[Example doc]]|inline=1}} <templatedata> { "params": { "1": { "type": "content", "label": "Text", "description": "Link to the example doc or doc template, in wikitext syntax.", "required": true }, "2": { "label": "Type", "description": "'template', 'example', or nothing. Affects formatting.", "type": "line" }, "inline": { "label": "Inline formatting", "description": "Show the template without line breaks before and after it", "type": "line" } }, "format": "inline", "description": "Show a link to an example doc or a doc template in a box." } </templatedata> }} [[Category:Templates]]
该页面嵌入的页面:
模板:Doc-links
(
查看源代码
)
模板:Doc-links/styles.css
(
查看源代码
)
模板:Documentation
(
查看源代码
)
模块:Arguments
(
查看源代码
)
模块:Documentation
(
查看源代码
)
模块:Documentation/config
(
查看源代码
)
模块:Documentation/i18n
(
查看源代码
)
模块:Documentation/styles.css
(
查看源代码
)
模块:Message box
(
查看源代码
)
模块:TNT
(
查看源代码
)
模块:Yesno
(
查看源代码
)
返回
模板:Doc-links
。
搜索
搜索
查看“︁模板:Doc-links”︁的源代码
添加语言
添加话题