Template:InfoBox project/testcases
From Gentoo Wiki
Jump to:navigation
Jump to:search
Note
This is the template test case page for Template:InfoBox project and its sandbox version. You may have to to update the examples.
This is the template test case page for Template:InfoBox project and its sandbox version. You may have to to update the examples.
Correct
One anonymous parameter (a project name)
Using
header=true
Indicating a raw URL using
raw
Specifying link text using
text
Wiki code
{{InfoBox stack | {{InfoBox project|Catalyst|text=Other text}} }}
Main version
Sandbox version
Using both
raw
and text
Wiki code
{{InfoBox stack | {{InfoBox project|https://wwwold.gentoo.org/proj/en/releng/catalyst/|raw=true|text=Other text}} }}
Main version
Sandbox version
Incorrect
No parameter (error message)
Wiki code
{{InfoBox stack | {{InfoBox project}} }}
Main version
{{InfoBox project template error}}
Parameter 1 not defined. For correct usage see InfoBox project template's documentation on the
1
parameter.Sandbox version
{{InfoBox project template error}}
Parameter unnamed not defined. For correct usage see InfoBox project template's documentation on the
unnamed
parameter.