Template:InfoBox wikipedia/sandbox

From Gentoo Wiki
Jump to:navigation Jump to:search


Correct

Collapse
No parameter (uses current page title)
Wiki code
{{InfoBox stack
| {{InfoBox wikipedia}}
}}
Main version
Sandbox version


↑ Editors using this template should make sure that the resulting link actually works. As seen by following the link(s) above, if the target Wikipedia article doesn't exist then readers will end up at a sort of "error page".


Collapse
One anonymous parameter (a Wikipedia article title)
Wiki code
{{InfoBox stack
| {{InfoBox wikipedia|Gentoo Linux}}
}}
Main version
Sandbox version


Collapse
Using header=true
Wiki code
{{InfoBox stack
| {{InfoBox wikipedia|Gentoo Linux|header=true}}
}}
Main version
Resources
Sandbox version
Resources


Collapse
Specifying link text using text
Wiki code
{{InfoBox stack
| {{InfoBox wikipedia|Gentoo Linux|text=Other text}}
}}
Main version
Sandbox version


Incorrect

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