Template:InfoBox homepage/sandbox

From Gentoo Wiki
Jump to: navigation, search


Correct

One anonymous parameter (a URL)
Wiki code
{{InfoBox stack
| {{InfoBox homepage|https://www.gentoo.org}}
}}
Main version
Sandbox version


Using header=true
Wiki code
{{InfoBox stack
| {{InfoBox homepage|https://www.gentoo.org|header=true}}
}}
Main version
Resources
Sandbox version
Resources


Specifying link text using text
Wiki code
{{InfoBox stack
| {{InfoBox homepage|https://www.gentoo.org|text=Other text}}
}}
Main version
Sandbox version


Incorrect

No parameter (error message)
Wiki code
{{InfoBox stack
| {{InfoBox homepage}}
}}
Main version
{{InfoBox homepage template error}}
Parameter 1 not defined. For correct usage see InfoBox homepage template's documentation on the 1 parameter.
Sandbox version
{{InfoBox homepage template error}}
Parameter unnamed not defined. For correct usage see InfoBox homepage template's documentation on the unnamed parameter.


Used outside of an {{InfoBox stack}} (wide box, not right-floated)
Wiki code
{{InfoBox homepage|https://www.gentoo.org}}
Main version
Sandbox version
Note
This is the template sandbox page for Template:InfoBox homepage (diff).
See also the companion subpage for test cases.