Template:Tlc/testcases
From Gentoo Wiki
Jump to:navigation
Jump to:search
Note
This is the template test case page for Template:Tlc and its sandbox version. The page may need to be refreshed to update the examples (click "Refresh" from the "More" menu).
This is the template test case page for Template:Tlc and its sandbox version. The page may need to be refreshed to update the examples (click "Refresh" from the "More" menu).
Correct
Collapse
One anonymous parameter matching a template name
Incorrect
Collapse
No parameter (error message)
Wiki code
{{Tlc}}
Main version
{{Tlc template error}}
Parameter 1 not defined. For correct usage see Tlc template's documentation on the
1
parameter.Sandbox version
Collapse
Multiple anonymous parameters (not supported yet)
Collapse
One anonymous parameter containing a pipe character (makes a piped link instead)
↑ Unlike {{Tnc}}, which doesn't create a link, this template cannot (currently) illustrate a template call containing parameters.
Collapse
One anonymous parameter containing a pipe and equals sign (makes a piped link instead)
Wiki code
{{Tlc|RootCmd{{!}}umount /mnt/gentoo{{!}}prompt{{=}}#}}
Main version
Sandbox version
↑ Unlike {{Tnc}}, which doesn't create a link, this template cannot (currently) illustrate a template call containing parameters.