打开/关闭搜索
搜索
打开/关闭菜单
3
54
1
193
骷髅女孩Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“模板:Doc”的源代码
来自骷髅女孩Wiki
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Doc
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<!-- 转自Dustloop This page was last edited on 10 August 2023, at 23:59. --><noinclude>{{doc/start}} To use, create a sub-page from the template called '''doc''', put {{tl|doc/start}} at the start of your documentation, and {{tl|doc/end}} at the end. Go back to your main template page and put <noinclude>{{tl|doc}}</noinclude> on a newline after the end of the template. /doc pages will automatically be added to [[:Category:Documentation templates]]. == Optional parameters == === clear === If your main template page has floating content and you would like to stop it going over the documentation, put {{tlx|doc/start|clear}} instead of {{tl|doc/start}} on your documentation page.<br> This is also useful for templates not using <includeonly>, as it will put some space between the template and the documentation box. === nodoc=1 === If a template has no documentation and you don't know how to use it, put {{tlx|doc/start|nodoc{{=}}1}} (or if the template needs clear as well, {{tlx|doc/start|clear|nodoc{{=}}1}}) instead of {{tl|doc/start}} on your documentation page.<br> The documentation's background will become red to make it more noticeable, and the page will be added to [[:Category:Templates with no documentation]]. === baddoc=1 === Similar to nodoc, this is used to mark templates that '''do''' have documentation, but it isn't very good. This can mean it doesn't have enough examples, doesn't explain all the functions properly, or doesn't explain the point of the template properly.<br> The documentation's background will become yellow to make it more noticeable, and the page will be added to [[:Category:Templates with bad documentation]]. If both nodoc and baddoc are specified, baddoc will be ignored. [[Category:Documentation templates| ]] </noinclude><includeonly>{{/doc}}</includeonly>
该页面使用的模板:
模板:Doc/start
(
查看源代码
)
模板:Tl
(
查看源代码
)
模板:Tlx
(
查看源代码
)
返回
模板:Doc
。