Template:InfoBox wiki/testcases
From Gentoo Wiki
Jump to:navigation
Jump to:search
Note
This is the template test case page for Template:InfoBox wiki and its sandbox version. You may have to to update the examples.
This is the template test case page for Template:InfoBox wiki and its sandbox version. You may have to to update the examples.
Correct
One anonymous parameter (a URL)
Wiki code
{{InfoBox stack | {{InfoBox wiki|https://sourceware.org/gdb/wiki/}} }}
Main version
Sandbox version
Using
header=true
Wiki code
{{InfoBox stack | {{InfoBox wiki|https://sourceware.org/gdb/wiki/|header=true}} }}
Main version
Resources
Sandbox version
Resources
Specifying link text using
text
Wiki code
{{InfoBox stack | {{InfoBox wiki|https://sourceware.org/gdb/wiki/|text=Other text}} }}
Main version
Sandbox version
Incorrect
No parameter (error message)
Wiki code
{{InfoBox stack | {{InfoBox wiki}} }}
Main version
{{InfoBox wiki template error}}
Parameter 1 not defined. For correct usage see InfoBox wiki template's documentation on the
1
parameter.Sandbox version
{{InfoBox wiki template error}}
Parameter 1 not defined. For correct usage see InfoBox wiki template's documentation on the
1
parameter.
Used outside of an {{InfoBox stack}} (wide box, not right-floated)
Wiki code
{{InfoBox wiki|hhttps://sourceware.org/gdb/wiki/}}
Main version
Sandbox version