Template:InfoBox guide/sandbox

From Gentoo Wiki
Jump to:navigation Jump to:search


Correct

One anonymous parameter (a guide title)
Wiki code
{{InfoBox stack
| {{InfoBox guide|Samba}}
}}
Main version
Sandbox version


Using header=true
Wiki code
{{InfoBox stack
| {{InfoBox guide|Samba|header=true}}
}}
Main version
Resources
Sandbox version
Resources


Indicating a raw URL using raw
Wiki code
{{InfoBox stack
| {{InfoBox guide|https://wiki.gentoo.org/wiki/Samba|raw=true}}
}}
Main version
Sandbox version


Specifying link text using text
Wiki code
{{InfoBox stack
| {{InfoBox guide|Samba|text=Other text}}
}}
Main version
Sandbox version


Incorrect

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


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