This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Template:InfoBox wikipedia/sandbox
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
Correct
No parameter (uses current page title)
↑ 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".
One anonymous parameter (a Wikipedia article title)
Using
header=true
Specifying link text using
text
Wiki code
{{InfoBox stack | {{InfoBox wikipedia|Gentoo Linux|text=Other text}} }}
Main version
Sandbox version
Language detection test
Wiki code
{{InfoBox stack | {{InfoBox wikipedia|page=LongTitle|header=true}} | {{InfoBox wikipedia|page=LongTitle/en}} | {{InfoBox wikipedia|page=LongTitle/de}} | {{InfoBox wikipedia|page=LongTitle/Longer/de}} | {{InfoBox wikipedia|page=dd}} }}
Main version
Sandbox version
↑ Any page title ending in a slash follwed by two letters (i.e., a 2-letter subpage title) is interpreted as an article translated into the language with that ISO 639-1 code, resulting in a link to the Wikipedia for that language (assuming it exists).
Incorrect
Used outside of an {{InfoBox stack}} (wide box, not right-floated)
Note
This is the template sandbox page for Template:InfoBox wikipedia (diff).
See also the companion subpage for test cases.
This is the template sandbox page for Template:InfoBox wikipedia (diff).
See also the companion subpage for test cases.