Gamepedia
帮助
登录
创建账户
查看“Template:Doc”的源代码
←
Template:Doc
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您没有权限编辑
Template
名字空间内的页面。
您可以查看与复制此页面的源代码。
<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. </div> [[Category:Documentation templates| ]] <!-- [[en:{{subst:PAGENAME}}]] --></noinclude><includeonly>{{/doc}}</includeonly>
该页面使用的模板:
Template:=
(
查看源代码
)
Template:Doc/start
(
查看源代码
)
Template:Tl
(
查看源代码
)
Template:Tlx
(
查看源代码
)
返回至
Template:Doc
。
导航菜单
名字空间
模板
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
分享
视图
查看
查看源代码
历史
更多
搜索
导航
首页
社区主页
最近更改
随机页面
管理員告示板
Gamepedia
Gamepedia support
Report a bad ad
帮助Wiki(英文)
Help Wiki (ZH)
联系我们
工具
链入页面
相关更改
特殊页面
页面信息