Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:No documentation/doc: Difference between revisions

Template page
No edit summary
adding description for template data
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{TemplateBox
{{template shortcut|NODOC}}
|1=
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
|1label-en=Details
 
|1d-en=Additional details to be appended to the end of the notice as a separate paragraph
== Usage ==
|1type=string
This template can be used on templates or template documentation pages to show that a template is lacking documentation. An empty documentation box can confuse editors because it purports to show something which it does not. Another common situation is when documentation common to a group of templates is transcluded on a template, but none of the instructions relate directly to that template. In cases like this, {{tl|no documentation}} can be used to draw attention to the fact that the template does not have any directly relevant documentation yet. [[:Category:Templates without documentation]] contains pages that use this template.
|useTemplateData=yes
 
|name=No documentation
A possible template shorthand is {{tl|NODOC}}
|desc-en=This template can be used on templates or template documentation pages to show that a template is lacking documentation. An empty documentation box can confuse editors because it purports to show something which it does not. Another common situation is when documentation common to a group of templates is transcluded on a template, but none of the instructions relate directly to that template. In cases like this, {{T|No documentation|+|incl=8}} can be used to draw attention to the fact that the template does not have any directly relevant documentation yet.
 
|desc-td-en=This template can be used on templates or template documentation pages to show that a template is lacking documentation. An empty documentation box can confuse editors because it purports to show something which it does not. Another common situation is when documentation common to a group of templates is transcluded on a template, but none of the instructions relate directly to that template. In cases like this, Template:No documentation can be used to draw attention to the fact that the template does not have any directly relevant documentation yet.
== See also ==
|shorthand=NODOC
* {{tl|Documentation}}
|namespace=Template
* {{tl|Doc-inline}}, {{tl|doc-end}}
|usergroup=all
* [[Commons:Template documentation]]
|setscats={{C|Templates without documentation}}
* {{tl|Description missing}} – for files
|seealso={{Bulleted list|{{W|Template documentation||commons}}|{{T|TemplateBox|+|incl=8}}|{{T|Documentation|+|incl=8}}|{{T|Doc-inline|+|incl=8}}|{{T|Doc-end|+|incl=8}}|{{T|Description missing|+|incl=8}}|{{T|CatDescription missing|+|incl=8}}|{{T|Description insufficient|+|incl=8}}|{{T|Clarify|+|incl=8}}}}
* {{tl|CatDescription missing}} – for categories<includeonly>
|example=There needs to be more information added.
 
}}
<includeonly>
[[Category:Documentation templates]]
[[Category:Documentation templates]]
[[Category:Message templates]]
[[Category:Template maintenance templates]]
[[Category:Template maintenance templates]]
[[Category:Template header templates]]
[[Category:Template header templates]]
[[Category:Commons missing information|τ]]
[[Category:Commons missing information|τ]]
</includeonly><noinclude>
</includeonly>
 
[[Category:Template documentation|No documentation]]
</noinclude>

Latest revision as of 00:20, 31 July 2026

This template can be used on templates or template documentation pages to show that a template is lacking documentation. An empty documentation box can confuse editors because it purports to show something which it does not. Another common situation is when documentation common to a group of templates is transcluded on a template, but none of the instructions relate directly to that template. In cases like this, Template:No documentation can be used to draw attention to the fact that the template does not have any directly relevant documentation yet.

The template automatically sets the following categories: Templates without documentation

Usage

{{No documentation |1= }}

Or use the shorthand

NODOC

Template parameters

ParameterDescriptionDefaultStatus
1DetailsAdditional details to be appended to the end of the notice as a separate paragraphemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

This template can be used on templates or template documentation pages to show that a template is lacking documentation. An empty documentation box can confuse editors because it purports to show something which it does not. Another common situation is when documentation common to a group of templates is transcluded on a template, but none of the instructions relate directly to that template. In cases like this, Template:No documentation can be used to draw attention to the fact that the template does not have any directly relevant documentation yet.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Details1

Additional details to be appended to the end of the notice as a separate paragraph

Stringoptional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Example

{{No documentation|There needs to be more information added.}}

renders as:

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.