模板:DocStart
出自【暗黑百科】DiabloWiki_凯恩之角
(以内容“<!-- -->{{#if: {{{1|}}} | {{#ifeq: {{SUBPAGENAME}} | doc | | <div style="height: 1em; clear: both"></div> }} }}<!-- --><div style="margin: 0em auto 1em; background-co...”创建新页面)
下一版本→
在2012年3月24日 (六) 07:28所做的修订版本
(
docStart
) at the start of your documentation and
(
docEnd
) at the end.
Optional parameters
nodoc=1
If a template has no documentation and you don't know how to use it, put
(
docStart|nodoc=1
) instead of
(
docStart
) on your documentation page.
The documentation's background will become a brighter 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.
The documentation's background will take on a yellowish hue 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.