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 header/doc

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to add a header to an infobox.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) Text to display in the heading.

Usage

See the template's testcases:

Correct

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


Incorrect

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