模板:DocEnd

出自【暗黑百科】DiabloWiki_凯恩之角

跳转到: 导航, 搜索
Documentation
[purge ]

This template is used to complete template documentation. It should be used in conjunction with ( docStart ).

目录

Usage

{{docEnd}}

noDiv Parameter (Optional)

Removes the </div> line from docEnd. See Issues for an explanation of its use before using it.

{{docEnd|nodiv=1}}

Example

{{docStart}}
Fill in documentation.
{{docEnd}}

Notes

Currently the only thing this template does is insert </div> into a page. This could change as potential future enhancements are added so it is good practice to use it instead of directly adding </div>. It is also clearer to users the intent of ( docEnd ) than a stray </div> at the end of a file.

Issues

Wiki is relativity forgiving of missed closing tags if they appear at the end of a page. As docEnd will almost always be at the end of a file it is possible that some un-closed tags will cause the </div> to be displayed instead of interpreted as the end to the <div> in ( docStart ). If you find this happens first try and locate the improper/missed tags in your template. If you cannot find them you can use the nodiv option to remove the closing </div>. This is preferable to not calling ( docEnd ) for future compatibility.

个人工具
分享到: 更多
名字空间
变换
动作
网站地图
暗黑破坏神 III
暗黑破坏神 II
暗黑破坏神
工具箱
编辑箱
关于暗黑百科