Template:InfoBox header/testcases

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is the template test case page for Template:InfoBox header and its sandbox version. You may have to purge this page to update the examples.

Correct

One anonymous parameter
Wiki code
{{InfoBox stack| {{InfoBox header|Some text}} }}
Main version
Some text
Sandbox version
Some text


One anonymous parameter + anchor (#foo should work)
Wiki code
{{InfoBox stack| {{InfoBox header|Some text|anchor=foo}} }}
Main version
Some text
Sandbox version
Some text


Incorrect

No parameter (exposed wikicode)
Wiki code
{{InfoBox stack| {{InfoBox header}} }}
Main version
{{{1}}}
Sandbox version
{{{1}}}