Jump to content

Template:Lpara/doc

From Wikipedia, the free encyclopedia

This template produces the code of a template with a single parameter, linking to either documentation for that parameter or another link.

Usage

[edit]

The first two parameters are required: the first parameter is the name of the template; the second parameter is the parameter name. The third and fourth parameters are optional and are the parameter value and the link target. If not provided, this template tries to link to the section in the template page with the same name as the parameter name given, if it exists.

Example usage

[edit]
{{Lpara|Cite web|author|John Smith}}

{{Cite web|author=John Smith}}

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Lpara in articles based on its TemplateData.

TemplateData for Lpara

Produce the code of a template with a single parameter, linking to either documentation for that parameter or another link.
Template1
Name of the template whose parameter is being discussed. If no namespace is provided, the template namespace is assumed.
Parameter2
The name of the parameter
Parameter value3
Link target4
Target of the link. If not provided, this template tries to link to the section in the template page with the same name as the parameter name given, if it exists.
Default
Template:{{{1}}}#{{{2}}}

See also

[edit]