Template:Template parameter usage/doc: Difference between revisions

Content deleted Content added
cat here
No edit summary
Line 5:
 
== Usage ==
By default, the template links for the template page:
:<nowiki>{{Template error report}}</nowiki> &rarr; {{Template error report}}
One can enter a template name:
:<nowiki>{{Template error report|Infobox film}}</nowiki> &rarr; {{Template error report|Infobox film}}
 
Optional:
The template is included in transclusions of {{Tl|TemplateData header}}. If it's needed elsewhere, simply place the following in the template's documentation:
* {{para|lc|yes}} for lowercase "see": {{Template error report|lc=yes|Infobox film}}
* Entering {{para|1|Template:Infobox film}} is accepted (namespace is removed). Editor friendly.
* When {{para|1}} is used, "this template" text changes: &rarr; {{Template error report/sandbox|1=Infobox film}}
* {{para|label}} sets the visible text (does not change the link):
::{{para|label}} default &rarr; {{Template error report/sandbox|1=Infobox film}}
::{{para|label|none}} &rarr; {{Template error report/sandbox|1=Infobox film|label=none}}
::{{para|label|for}} &rarr; {{Template error report/sandbox|1=Infobox film|label=for}}
::{{para|label|FooBar}} &rarr; {{Template error report/sandbox|1=Infobox film|label=FooBar}}
 
The template is included in transclusions of {{Tl|TemplateData header}}. If it's needed elsewhere, simply place the following in the template's documentation:.
 
== Error reports ==