Changes

Jump to navigation Jump to search
→‎Usage: Doc lowercase parameter
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

The [https://tools.wmflabs.org/bambots/TemplateParam.php Template Parameters tool] is now available on [[toollabs:|Tool Labs]], for viewing template parameter usage. It works with [[Wikipedia:TemplateData|TemplateData]] to show the validity of parameter names that are used in template transclusions. For a required parameter, it can display a list of pages where the template is missing the parameter. The tool also shows commonly used values for each parameter. The data is updated monthly.

== Usage ==

The template is included in transclusions of {{Tl|TemplateData header}}. If it's needed elsewhere, simply place the following in the template's documentation:

<code><pre><nowiki>
== Error reports ==

{{Template error report}}

</nowiki></pre></code>

By default, it links a report for the template-page being viewed. To link a report for a different template-page, pass it as the first parameter:

:{{tlx|Template error report|Example}}

makes a link to the error repor for [[Template:Example]]:

:{{Template error report|Example}}

The first character can be made lowercase to follow on at the end of a sentence:
:<code>Blah, {{tlp|Template error report|2=lc=yes}}</code> → Blah, {{Template error report|lc=yes}}

<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->

}}</includeonly>
Anonymous user

Navigation menu