Content deleted Content added
Tags: Mobile edit Mobile web edit |
m typo |
||
(22 intermediate revisions by 12 users not shown) | |||
Line 1:
<includeonly>{{Short description|Tag for templates and modules}}</includeonly>
{{Documentation subpage}}
<!--
{{High-use}}
{{No subst}}
{{tsh|nodoc}}
▲<!-- Categories where indicated at the bottom of this page, please. -->
== Usage ==
For use on '''template/module documentation pages''' whose content is missing, insufficient, incomplete and/or inaccurate.
*If the template already has a documentation subpage, place this template in that subpage before the first heading. Example:
*If the template ''does not'' have a documentation subpage, place this template at the end of the main template code, wrapped in {{tag|noinclude}} tags. Example:
*:<code>... main template code ...<br /><nowiki>}}<noinclude></nowiki></code><br />{{tlx|No documentation|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}<br /><code><nowiki></noinclude></nowiki></code>
The template adds pages to [[:Category:Templates with missing or incorrect documentation]].
Line 15 ⟶ 21:
{
"params": {
"talk": {
"
"1"
],
"label": "Has details on talk page",
"description": "Shows \"See the talk page for details\" if a value is supplied",
"type": "boolean"
},
"date": {
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"label": "Date",
"description": "Date tagged",
"type": "string"
},
"reason": {
"label": "Reason",
"description": "Displays in the message text, prefaced with \"Reason:...\", to indicate what needs improving.",
"example": "too technical to understand.",
"type": "string"
}
},
"description": "Tags templates with inadequate or nonexistent
"format": "block"
}
</templatedata>
== Redirects ==
* {{tl|No documentation}} - the same message is given whether the documentation is inadequate or nonexistent
== See also ==
Line 28 ⟶ 54:
* [[Wikipedia:Template documentation]]
* {{tlg|Ombox}} the template transcluded into this one. It provides the basic framework.
<includeonly>{{Sandbox other||
<!-- Categories below this line, please
[[Category:Template documentation cleanup templates]]
[[Category:
}}</includeonly>
|