Template:Undocumented/Doc: Difference between revisions

DoggoBit (talk | contribs)
No edit summary
DoggoBit (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This notice can be added to templates that don't use the [[Template:Documentation|documentation]] helper template. This helps us keep track of them via the [[:Category:Undocumented template|undocumented templates]] category, and might prompt the author of the template to add in information about its usage.
This notice can be added to templates that don't use the [[Template:Documentation|documentation]] helper template. This helps us keep track of them via the [[:Category:Undocumented template|undocumented templates]] category, and might prompt the author of the template to add in information about its usage.


{{Notice undocumented template|category=no}}
{{undocumented|category=no}}


=== Usage ===
=== Usage ===
Line 7: Line 7:
Simply add this template to a page, within <code>noinclude</code> tags:
Simply add this template to a page, within <code>noinclude</code> tags:


<pre>
{{code|lang=mediawiki|line=no|
<noinclude>{{Notice undocumented template}}</noinclude>
<<nowiki>includeonly</nowiki>>
</pre>
  ...
</<nowiki>includeonly</nowiki>><<nowiki>noinclude</nowiki>><nowiki>{{undocumented}}</nowiki></<nowiki>noinclude</nowiki>>}}